/* Web Toolkit — Continue Watching / Watch History (plugin-owned UI). */
.tk-cw-section { max-width: 1560px; margin: 26px auto 6px; padding: 0 16px; }
.tk-cw-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.tk-cw-head h2 { color: #fff; font-size: 20px; font-weight: 800; margin: 0; }
.tk-cw-all { color: var(--primary, #84e000); font-size: 13px; font-weight: 700; text-decoration: none; }
.tk-cw-all:hover { text-decoration: underline; }
.tk-cw-row { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
.tk-cw-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px 14px; }
.tk-cw-card { position: relative; flex: 0 0 248px; max-width: 248px; }
.tk-cw-grid .tk-cw-card { flex: none; max-width: none; }
.tk-cw-media { position: relative; display: block; aspect-ratio: 16/9; border-radius: 10px; overflow: hidden; background: #12141c; border: 1px solid rgba(255,255,255,.07); }
.tk-cw-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tk-cw-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; background: rgba(0,0,0,.28); opacity: 0; transition: opacity .2s ease; }
.tk-cw-card:hover .tk-cw-play { opacity: 1; }
.tk-cw-play svg { background: var(--primary, #84e000); color: #131a05; border-radius: 9999px; padding: 9px; width: 38px; height: 38px; }
.tk-cw-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255,255,255,.22); }
.tk-cw-bar i { display: block; height: 100%; background: var(--primary, #84e000); }
.tk-cw-x { position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; border-radius: 9999px; border: 1px solid rgba(255,255,255,.18); background: rgba(0,0,0,.72); color: #e5e7eb; font-size: 15px; line-height: 1; cursor: pointer; opacity: 0; transition: opacity .2s ease; z-index: 2; }
.tk-cw-card:hover .tk-cw-x { opacity: 1; }
.tk-cw-title { display: block; color: #fff; font-weight: 700; font-size: 14px; line-height: 1.3; margin-top: 8px; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tk-cw-title:hover { color: var(--primary, #84e000); }
.tk-cw-meta { color: #9ca3af; font-size: 12px; margin-top: 3px; display: flex; gap: 6px; align-items: center; }
.tk-cw-dot { color: #4b5563; }
/* History page */
.tk-cw-page { max-width: 1280px; margin: 0 auto; padding: 104px 16px 60px; }
@media (min-width: 1024px) { .tk-cw-page { padding-left: 76px; } }
.tk-cw-page-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.tk-cw-page-head h1 { color: #fff; font-size: 30px; font-weight: 800; margin: 0; }
.tk-cw-clear { background: #12141c; color: #e5e7eb; border: 1px solid #23242e; border-radius: 8px; padding: 8px 14px; font-size: 13px; font-weight: 600; cursor: pointer; }
.tk-cw-clear:hover { border-color: rgba(255,255,255,.25); color: #fff; }
.tk-cw-emptybox { text-align: center; padding: 64px 0; color: #9ca3af; }
.tk-cw-emptybox strong { display: block; color: #fff; font-size: 19px; margin-bottom: 6px; }
