:root {
--tikswipe-primary: #FF9400;
--tikswipe-accent: #00F2FE;
--tikswipe-bg: #000000;
--tikswipe-text: #ffffff;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html, body {
width: 100%;
height: 100%;
overflow: hidden;
background-color: var(--tikswipe-bg);
}
.tikswipe-container {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100dvh;
background-color: var(--tikswipe-bg);
overflow: hidden;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
z-index: 999999;
}
.tikswipe-scroll-snap {
height: 100%;
width: 100%;
overflow-y: scroll;
scroll-snap-type: y mandatory;
scroll-behavior: smooth;
-webkit-overflow-scrolling: touch;
scrollbar-width: none;
}
.tikswipe-scroll-snap::-webkit-scrollbar {
display: none;
}
.tikswipe-card {
position: relative;
width: 100%;
height: 100dvh;
scroll-snap-align: start;
scroll-snap-stop: always;
display: flex;
align-items: center;
justify-content: center;
background-color: #000;
overflow: hidden;
}
.tikswipe-video-element {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
min-width: 100%;
min-height: 100%;
width: 100%;
height: 100%;
object-fit: cover;
} .tikswipe-play-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background: rgba(0,0,0,0.3);
z-index: 30;
pointer-events: none;
}
.tikswipe-play-overlay svg {
fill: var(--tikswipe-primary);
width: 64px;
height: 64px;
filter: drop-shadow(0 2px 8px rgba(0,0,0,0.6));
}
.tikswipe-play-overlay span {
color: #fff;
font-size: 0.85rem;
font-weight: 700;
margin-top: 8px;
background: rgba(0,0,0,0.6);
padding: 6px 14px;
border-radius: 20px;
border: 1px solid rgba(255,255,255,0.2);
} .tikswipe-top-bar {
position: absolute;
top: 0;
left: 0;
right: 0;
z-index: 50;
display: flex;
justify-content: space-between;
align-items: center;
padding: 14px 16px;
background: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
}
.tikswipe-brand-badge {
color: #fff;
font-weight: 900;
font-size: 1.1rem;
letter-spacing: 0.5px;
display: flex;
align-items: center;
}
.tikswipe-brand-badge .highlight {
color: var(--tikswipe-primary);
margin-left: 4px;
}
.pulse-dot {
display: inline-block;
width: 7px;
height: 7px;
border-radius: 50%;
background: var(--tikswipe-primary);
margin-right: 6px;
animation: pulse 1.5s infinite;
}
@keyframes pulse {
0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 148, 0, 0.7); }
70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(255, 148, 0, 0); }
100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 148, 0, 0); }
}
.tikswipe-sound-btn {
background: rgba(0,0,0,0.6);
border: 1px solid rgba(255,255,255,0.2);
color: #fff;
padding: 6px 12px;
border-radius: 20px;
font-size: 0.75rem;
font-weight: 600;
cursor: pointer;
display: flex;
align-items: center;
gap: 6px;
} .tikswipe-info-overlay {
position: absolute;
bottom: 20px;
left: 15px;
right: 90px;
z-index: 40;
color: #fff;
text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}
.tikswipe-post-title {
color: #fff;
font-size: 1.05rem;
font-weight: 700;
text-decoration: none;
display: block;
margin-bottom: 6px;
line-height: 1.3;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
} .tikswipe-actions-bar {
position: absolute;
right: 12px;
bottom: 25px;
z-index: 40;
display: flex;
flex-direction: column;
gap: 12px;
align-items: center;
}
.tikswipe-action-item {
display: flex;
flex-direction: column;
align-items: center;
}
.tikswipe-action-btn {
background: rgba(0, 0, 0, 0.45);
backdrop-filter: blur(8px);
border: 1px solid rgba(255, 255, 255, 0.15);
color: #fff;
width: 44px;
height: 44px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
text-decoration: none;
transition: transform 0.15s ease;
}
.tikswipe-action-btn:active {
transform: scale(0.9);
}
.tikswipe-action-item .count {
font-size: 0.65rem;
color: #fff;
margin-top: 3px;
font-weight: 700;
text-shadow: 0 1px 2px rgba(0,0,0,0.9);
}
.tikswipe-scroll-nav-btn {
background: rgba(0, 0, 0, 0.5);
border: 1px solid rgba(255, 255, 255, 0.2);
color: #fff;
width: 36px;
height: 36px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
margin-bottom: 4px;
}