: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);
}
@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;
}
.tikswipe-video-element {
width: 100%;
height: 100%;
object-fit: cover;
} .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;
inset: 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;
}
.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;
}
.tikswipe-play-btn:hover {
transform: scale(1.1);
background-color: #f59e0b;
}
.tikswipe-play-btn svg {
margin-left: 3px;
}
.tikswipe-play-badge {
margin-top: 14px;
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;
} .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;
}