body.page-template-page-tikswipe #tikswipe-global-floating-btn,
.tikswipe-container #tikswipe-global-floating-btn,
#tikswipe-app-wrapper #tikswipe-global-floating-btn,
#tikswipe-global-floating-btn:has(~ #tikswipe-app-wrapper) {
display: none !important;
}
:root {
--tikswipe-primary: #FF9400;
--tikswipe-accent: #00F2FE;
--tikswipe-bg: #09090b;
--tikswipe-text: #ffffff;
}
.tikswipe-container {
position: relative;
width: 100%;
max-width: 440px;
margin: 0 auto;
height: 100vh;
background-color: var(--tikswipe-bg);
overflow: hidden;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
box-shadow: 0 0 60px rgba(0, 0, 0, 0.95);
border-left: 1px solid rgba(255, 255, 255, 0.1);
border-right: 1px solid rgba(255, 255, 255, 0.1);
} .tikswipe-container.desktop-floating_widget {
position: fixed;
bottom: 24px;
right: 24px;
width: 380px;
height: 640px;
border-radius: 24px;
z-index: 99999;
border: 2px solid var(--tikswipe-primary);
}
.tikswipe-container.desktop-full_screen_overlay {
max-width: 100%;
width: 100vw;
height: 100vh;
border: none;
border-radius: 0;
}
@media (max-width: 480px) {
.tikswipe-container {
max-width: 100%;
border-left: none;
border-right: none;
}
}
.tikswipe-scroll-snap {
height: 100%;
width: 100%;
overflow-y: scroll;
scroll-snap-type: y mandatory;
scroll-behavior: smooth;
-webkit-overflow-scrolling: touch;
}
.tikswipe-card {
position: relative;
width: 100%;
height: 100vh;
scroll-snap-align: start;
scroll-snap-stop: always;
display: flex;
align-items: center;
justify-content: center;
background-color: #000;
overflow: hidden;
}
.tikswipe-video-element {
width: 100%;
height: 100%;
object-fit: cover !important;
display: block;
} .tikswipe-top-bar {
position: absolute;
top: 0;
left: 0;
right: 0;
z-index: 50;
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 14px;
background: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
gap: 8px;
box-sizing: border-box;
width: 100%;
overflow: hidden;
}
.tikswipe-header-left {
display: flex;
align-items: center;
gap: 6px;
flex-shrink: 1;
min-width: 0;
}
.tikswipe-back-btn {
color: #fff;
display: flex;
align-items: center;
justify-content: center;
text-decoration: none;
opacity: 0.9;
flex-shrink: 0;
}
.tikswipe-back-btn:hover {
opacity: 1;
}
.tikswipe-logo-text {
color: #ffffff;
font-weight: 900;
font-size: 1.15rem;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
letter-spacing: -0.5px;
text-shadow: 0 2px 4px rgba(0,0,0,0.8);
white-space: nowrap;
flex-shrink: 0;
line-height: 1;
}
.tikswipe-streaming-badge {
background-color: #FF9400;
color: #000000;
font-weight: 900;
font-size: 0.65rem;
padding: 4px 7px;
border-radius: 5px;
text-transform: uppercase;
letter-spacing: 0.5px;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
box-shadow: 0 2px 6px rgba(255, 148, 0, 0.4);
white-space: nowrap;
flex-shrink: 0;
line-height: 1;
}
.tikswipe-autoplay-badge {
background-color: rgba(16, 185, 129, 0.25);
color: #34d399;
border: 1px solid rgba(52, 211, 153, 0.4);
border-radius: 5px;
padding: 2px 6px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
line-height: 1;
white-space: nowrap;
flex-shrink: 0;
text-align: center;
}
.tikswipe-autoplay-label {
font-size: 0.5rem;
font-weight: 700;
color: #a7f3d0;
text-transform: capitalize;
margin-bottom: 1px;
}
.tikswipe-autoplay-status {
font-size: 0.62rem;
font-weight: 900;
color: #34d399;
text-transform: uppercase;
}
.tikswipe-sound-btn {
display: flex;
align-items: center;
gap: 6px;
padding: 4px 11px;
border-radius: 20px;
background-color: rgba(0, 0, 0, 0.85);
backdrop-filter: blur(8px);
border: 1px solid rgba(255, 255, 255, 0.2);
color: #ffffff;
cursor: pointer;
transition: all 0.2s;
white-space: nowrap;
flex-shrink: 0;
}
.tikswipe-sound-btn:hover {
background-color: rgba(0, 0, 0, 0.95);
border-color: rgba(255, 255, 255, 0.4);
}
.tikswipe-sound-btn svg {
color: #f59e0b;
flex-shrink: 0;
}
.tikswipe-sound-text {
display: flex;
flex-direction: column;
align-items: flex-start;
line-height: 1;
text-align: left;
}
.tikswipe-sound-text .sound-title {
font-size: 0.55rem;
color: #d4d4d8;
font-weight: 500;
margin-bottom: 2px;
}
.tikswipe-sound-text .sound-status {
font-size: 0.68rem;
color: #ffffff;
font-weight: 700;
} .tikswipe-play-overlay {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background: rgba(0, 0, 0, 0.45);
backdrop-filter: blur(2px);
z-index: 35;
cursor: pointer;
transition: opacity 0.2s ease, visibility 0.2s ease;
padding: 16px;
box-sizing: border-box;
text-align: center;
}
.tikswipe-play-center-wrapper {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
max-width: 100%;
margin: 0 auto;
}
.tikswipe-play-overlay.is-hidden {
opacity: 0;
visibility: hidden;
pointer-events: none;
}
.tikswipe-play-btn {
width: 80px;
height: 80px;
border-radius: 50%;
background-color: #FF9400;
color: #000;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 10px 30px rgba(255, 148, 0, 0.5);
transition: transform 0.2s ease, background-color 0.2s ease;
margin: 0 auto 12px auto;
flex-shrink: 0;
}
.tikswipe-play-btn:hover {
transform: scale(1.1);
background-color: #f59e0b;
}
.tikswipe-play-btn svg {
margin-left: 3px;
}
.tikswipe-play-badge {
display: inline-block;
white-space: nowrap;
padding: 8px 22px;
border-radius: 30px;
background: rgba(0, 0, 0, 0.9);
color: #ffffff;
font-weight: 800;
font-size: 0.85rem;
border: 1px solid rgba(255, 255, 255, 0.2);
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
backdrop-filter: blur(10px);
text-align: center;
margin: 0 auto;
} .tikswipe-category-wrap {
margin-bottom: 6px;
}
.tikswipe-category-badge {
display: inline-flex;
align-items: center;
gap: 4px;
background: rgba(255, 148, 0, 0.25);
border: 1px solid rgba(255, 148, 0, 0.4);
color: #FF9400;
font-size: 0.72rem;
font-weight: 800;
padding: 3px 12px;
border-radius: 20px;
text-decoration: none;
transition: all 0.2s ease;
box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.tikswipe-category-badge:hover {
background: #FF9400;
color: #000;
}
.tikswipe-tags {
display: flex;
flex-wrap: wrap;
gap: 6px;
margin-top: 8px;
}
.tikswipe-tag-link {
display: inline-block;
color: #00F2FE;
background: rgba(0, 0, 0, 0.7);
border: 1px solid rgba(0, 242, 254, 0.4);
font-size: 0.72rem;
font-weight: 800;
padding: 3px 9px;
border-radius: 6px;
text-decoration: none;
transition: all 0.2s ease;
backdrop-filter: blur(4px);
}
.tikswipe-tag-link:hover {
background: #00F2FE;
color: #000;
transform: translateY(-1px);
} .tikswipe-info-overlay {
position: absolute;
bottom: 16px;
left: 16px;
right: 75px;
z-index: 40;
color: #fff;
text-shadow: 0 2px 6px rgba(0,0,0,0.9);
}
.tikswipe-post-title {
color: #fff;
font-size: 1.15rem;
font-weight: 800;
text-decoration: none;
display: block;
margin-bottom: 6px;
line-height: 1.25;
}
.tikswipe-post-title:hover {
color: #FF9400;
}
.tikswipe-post-excerpt {
font-size: 0.82rem;
opacity: 0.9;
margin-bottom: 6px;
line-height: 1.35;
} .tikswipe-actions-bar {
position: absolute;
right: 14px;
bottom: 16px;
z-index: 40;
display: flex;
flex-direction: column;
gap: 16px;
align-items: center;
}
.tikswipe-action-btn {
background: rgba(255, 255, 255, 0.15);
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.2);
color: #fff;
width: 50px;
height: 50px;
border-radius: 50%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
cursor: pointer;
transition: transform 0.2s ease, background 0.2s ease;
}
.tikswipe-action-btn:hover {
transform: scale(1.1);
background: var(--tikswipe-primary);
}
.tikswipe-action-btn.is-liked,
.tikswipe-action-btn.btn-like.is-liked {
background: rgba(255, 148, 0, 0.25) !important;
border: 2px solid #FF9400 !important;
color: #FF9400 !important;
box-shadow: 0 4px 15px rgba(255, 148, 0, 0.5);
transform: scale(1.1);
}
.tikswipe-action-btn.is-liked svg,
.tikswipe-action-btn.btn-like.is-liked svg {
fill: #FF9400 !important;
color: #FF9400 !important;
stroke: #FF9400 !important;
}
.tikswipe-action-btn.is-liked .count,
.tikswipe-action-btn.btn-like.is-liked .count {
color: #FF9400 !important;
font-weight: 800;
}
.tikswipe-action-btn .count {
font-size: 0.7rem;
margin-top: 2px;
font-weight: 600;
} .tikswipe-heart-anim {
position: absolute;
pointer-events: none;
z-index: 60;
transform: translate(-50%, -50%);
animation: heartFloatUp 0.9s ease-out forwards;
}
@keyframes heartFloatUp {
0% {
opacity: 0;
transform: translate(-50%, -50%) scale(0.4);
}
30% {
opacity: 1;
transform: translate(-50%, -70%) scale(1.3);
}
100% {
opacity: 0;
transform: translate(-50%, -120%) scale(1);
}
} .tikswipe-modal-overlay {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.75);
backdrop-filter: blur(8px);
z-index: 999999;
display: flex;
align-items: flex-end;
justify-content: center;
opacity: 0;
visibility: hidden;
transition: all 0.3s ease;
}
.tikswipe-modal-overlay.is-open {
opacity: 1;
visibility: visible;
}
.tikswipe-comments-drawer {
width: 100%;
max-width: 440px;
height: 70vh;
background: #121215;
border-top-left-radius: 24px;
border-top-right-radius: 24px;
border-top: 1px solid rgba(255, 255, 255, 0.15);
display: flex;
flex-direction: column;
transform: translateY(100%);
transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.8);
}
.tikswipe-modal-overlay.is-open .tikswipe-comments-drawer {
transform: translateY(0);
}
.tikswipe-drawer-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 16px 20px;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
color: #fff;
font-weight: 800;
font-size: 0.95rem;
}
.btn-close-drawer {
background: rgba(255, 255, 255, 0.1);
border: none;
color: #fff;
width: 32px;
height: 32px;
border-radius: 50%;
font-size: 1.2rem;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
}
.tikswipe-comments-list {
flex: 1;
overflow-y: auto;
padding: 16px 20px;
display: flex;
flex-direction: column;
gap: 14px;
}
.tikswipe-comment-item {
display: flex;
gap: 12px;
align-items: flex-start;
}
.tikswipe-comment-avatar {
width: 36px;
height: 36px;
border-radius: 50%;
object-fit: cover;
}
.tikswipe-comment-content {
flex: 1;
background: rgba(255, 255, 255, 0.05);
border-radius: 14px;
padding: 10px 14px;
color: #fff;
}
.tikswipe-comment-user {
font-size: 0.8rem;
font-weight: 800;
color: #FF9400;
margin-bottom: 2px;
}
.tikswipe-comment-text {
font-size: 0.82rem;
line-height: 1.4;
color: #e4e4e7;
}
.tikswipe-comment-input-wrap {
padding: 14px 16px;
border-top: 1px solid rgba(255, 255, 255, 0.1);
display: flex;
gap: 10px;
background: #09090b;
}
.tikswipe-comment-input-wrap input {
flex: 1;
background: rgba(255, 255, 255, 0.08);
border: 1px solid rgba(255, 255, 255, 0.15);
border-radius: 20px;
padding: 10px 16px;
color: #fff;
font-size: 0.85rem;
outline: none;
}
.tikswipe-comment-input-wrap input:focus {
border-color: #FF9400;
}
.btn-send-comment {
background: #FF9400;
color: #000;
font-weight: 800;
font-size: 0.85rem;
border: none;
border-radius: 20px;
padding: 0 20px;
cursor: pointer;
transition: transform 0.2s;
}
.btn-send-comment:hover {
transform: scale(1.05);
} .tikswipe-toast {
position: fixed;
bottom: 80px;
left: 50%;
transform: translateX(-50%) translateY(20px);
background: rgba(0, 0, 0, 0.9);
color: #FF9400;
border: 1px solid #FF9400;
padding: 10px 24px;
border-radius: 30px;
font-weight: 800;
font-size: 0.85rem;
z-index: 999999;
opacity: 0;
visibility: hidden;
transition: all 0.3s ease;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}
.tikswipe-toast.is-visible {
opacity: 1;
visibility: visible;
transform: translateX(-50%) translateY(0);
}