.tiq-ps { --tiq-ps-accent1: #8A5CF6; --tiq-ps-accent2: #4FACFE; color: #E6E1F0; font-family: inherit; }
.tiq-ps * { box-sizing: border-box; }
.tiq-ps svg { fill: currentColor; width: 1em; height: 1em; }

/* Filter bar */
.tiq-ps-filterbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.tiq-ps-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tiq-ps-tab { border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); color: #cfc7e0; font-size: 13px; font-weight: 600; padding: 9px 16px; border-radius: 20px; cursor: pointer; transition: all .2s ease; white-space: nowrap; }
.tiq-ps-tab:hover { border-color: var(--tiq-ps-accent2); color: #fff; }
.tiq-ps-tab.is-active { background: rgba(79,172,254,.15); border-color: var(--tiq-ps-accent2); color: var(--tiq-ps-accent2); }
.tiq-ps-search { display: flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); border-radius: 20px; padding: 9px 16px; min-width: 220px; color: #9C8FB5; }
.tiq-ps-search-input { border: none; background: transparent; outline: none; color: #fff; font-size: 13px; width: 100%; }
.tiq-ps-search-input::placeholder { color: #9C8FB5; }

.tiq-ps-meta-row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #9C8FB5; border-bottom: 1px solid rgba(255,255,255,.08); padding-bottom: 16px; margin-bottom: 24px; flex-wrap: wrap; gap: 10px; }
.tiq-ps-meta-row b { color: #fff; }
.tiq-ps-reset { background: none; border: none; color: var(--tiq-ps-accent2); font-size: 13px; font-weight: 600; cursor: pointer; padding: 0; }
.tiq-ps-reset:hover { text-decoration: underline; }

/* Grid */
.tiq-ps-grid { display: grid; grid-template-columns: repeat(var(--tiq-ps-columns, 3), 1fr); gap: 24px; }
@media (max-width: 1024px) { .tiq-ps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .tiq-ps-grid { grid-template-columns: 1fr; } }
.tiq-ps-card { display: none; background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; overflow: hidden; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.tiq-ps-card.is-visible { display: flex; flex-direction: column; }
.tiq-ps-card:hover { transform: translateY(-6px); box-shadow: 0 20px 45px rgba(0,0,0,.4); border-color: rgba(255,255,255,.16); }

.tiq-ps-thumb { position: relative; width: 100%; aspect-ratio: 4 / 3; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.tiq-ps-play { width: 54px; height: 54px; border-radius: 50%; background: rgba(0,0,0,.45); backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,.3); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 16px; opacity: 0; transform: scale(.85); transition: opacity .25s ease, transform .25s ease; }
.tiq-ps-thumb:hover .tiq-ps-play { opacity: 1; transform: scale(1); }
.tiq-ps-thumb::after { content:''; position:absolute; inset:0; background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,.35) 100%); pointer-events: none; }

.tiq-ps-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.tiq-ps-toprow { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.tiq-ps-biz { font-size: 11px; font-weight: 700; letter-spacing: 1px; color: var(--tiq-ps-accent2); }
.tiq-ps-year { font-size: 12px; color: #8b8299; }
.tiq-ps-title { font-size: 17px; font-weight: 700; color: #fff; margin: 0 0 8px; line-height: 1.35; }
.tiq-ps-excerpt { font-size: 13px; color: #A79EBD; line-height: 1.6; margin: 0 0 14px; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tiq-ps-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.tiq-ps-tags span { font-size: 11px; border: 1px solid rgba(255,255,255,.12); color: #cfc7e0; padding: 4px 10px; border-radius: 12px; }
.tiq-ps-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,.08); padding-top: 14px; gap: 10px; }
.tiq-ps-watch { background: none; border: none; color: var(--tiq-ps-accent2); font-size: 13px; font-weight: 700; cursor: pointer; padding: 0; display: flex; align-items: center; gap: 6px; }
.tiq-ps-watch:hover { text-decoration: underline; }
.tiq-ps-empty { color: #9C8FB5; grid-column: 1 / -1; }

/* Video popup modal */
.tiq-ps-modal { position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center; padding: 24px; }
.tiq-ps-modal.is-open { display: flex; }
.tiq-ps-modal-backdrop { position: absolute; inset: 0; background: rgba(5,3,10,.88); backdrop-filter: blur(4px); }
.tiq-ps-modal-dialog { position: relative; z-index: 2; width: 100%; max-width: 900px; background: #0B0714; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.tiq-ps-modal-close { position: absolute; top: 12px; right: 12px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: rgba(0,0,0,.5); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.tiq-ps-modal-close:hover { background: rgba(255,255,255,.15); }
.tiq-ps-modal-video { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.tiq-ps-modal-video-inner { position: absolute; inset: 0; }
.tiq-ps-modal-video-inner iframe { width: 100%; height: 100%; border: 0; display: block; }
.tiq-ps-modal-info { padding: 20px 24px 24px; }
.tiq-ps-modal-tag { display: block; color: var(--tiq-ps-accent2); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 8px; }
.tiq-ps-modal-title { color: #fff; font-size: 20px; margin: 0; font-weight: 700; }
body.tiq-ps-modal-open { overflow: hidden; }

@media (max-width: 560px) {
    .tiq-ps-filterbar { flex-direction: column; align-items: stretch; }
    .tiq-ps-search { min-width: 0; }
}
