* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	background: #000;
	color: #fff;
	overflow: hidden;
}

#app {
	width: 100vw;
	height: 100vh;
	position: relative;
}

.shortplay-container {
	width: 100%;
	height: calc(100vh - 60px);
	position: relative;
	overflow: hidden;
}

.video-wrapper {
	width: 100%;
	height: 100%;
	position: relative;
	transition: transform 0.3s ease;
}

.video-item {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background: #1a1a1a;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.video-item.active {
	opacity: 1;
	visibility: visible;
}

.video-player-box {
	width: 100%;
	height: 100%;
	position: relative;
}

.video-player-box .controls {
	position: absolute;
	top: 20px;
	left: 15px;
	z-index: 100;
	width: 40px;
	height: 40px;
	background: rgba(0, 0, 0, 0.5);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.video-player-box .video-box {
	width: 100%;
	height: 100%;
	position: relative;
}

.video-player-box .img-bg {
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	position: relative;
}

.video-player-box .flex-center {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.7);
}

.video-player-box .desc {
	color: #fff;
	font-size: 14px;
	margin-bottom: 20px;
	text-align: center;
	padding: 0 20px;
}

.video-player-box .button {
	background: #ff4757;
	color: #fff;
	border: none;
	padding: 12px 30px;
	border-radius: 20px;
	font-size: 14px;
	cursor: pointer;
	margin-bottom: 15px;
}

.video-player-box .logins {
	color: rgba(255, 255, 255, 0.7);
	font-size: 12px;
}

.video-player-box .logins a {
	color: #ff4757;
	text-decoration: none;
}

.video-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

.video-placeholder::before {
	content: '';
	position: absolute;
	width: 80px;
	height: 80px;
	border: 3px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
}

.play-btn {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 80px;
	height: 80px;
	background: rgba(255, 255, 255, 0.9);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 10;
	transition: transform 0.2s ease;
}

.play-btn:active {
	transform: translate(-50%, -50%) scale(0.95);
}

.play-icon {
	width: 0;
	height: 0;
	border-left: 25px solid #000;
	border-top: 15px solid transparent;
	border-bottom: 15px solid transparent;
	margin-left: 5px;
}

.play-btn.paused .play-icon {
	width: 8px;
	height: 25px;
	background: #000;
	border: none;
	margin: 0 3px;
}

.play-btn.paused .play-icon::after {
	content: '';
	position: absolute;
	width: 8px;
	height: 25px;
	background: #000;
	margin-left: 12px;
}

.right-sidebar {
	position: absolute;
	right: 15px;
	bottom: 180px;
	display: flex;
	flex-direction: column;
	gap: 20px;
	z-index: 20;
}

.action-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px;
}

.icon-wrapper {
	position: relative;
	width: 45px;
	height: 45px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.icon {
	width: 32px;
	height: 32px;
	background: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.claim-icon {
	background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
}

.star-icon {
	background: #fff;
}

.star-icon::before {
	content: '★';
	color: #333;
	font-size: 18px;
}

.comment-icon {
	background: #fff;
}

.comment-icon::before {
	content: '💬';
	font-size: 18px;
}

.heart-icon {
	background: #fff;
}

.heart-icon::before {
	content: '♥';
	color: #333;
	font-size: 18px;
}

.heart-icon.liked::before {
	color: #ff4757;
}

.share-icon {
	background: #fff;
}

.share-icon::before {
	content: '↗';
	color: #333;
	font-size: 18px;
}

.badge {
	position: absolute;
	top: -5px;
	right: -5px;
	background: #ff4757;
	color: #fff;
	font-size: 10px;
	padding: 2px 6px;
	border-radius: 10px;
	min-width: 16px;
	text-align: center;
}

.count {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.8);
	text-align: center;
}

.video-info {
	position: absolute;
	bottom: 70px;
	left: 15px;
	right: 80px;
	z-index: 20;
}

.video-title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 10px;
}

.title-text {
	font-size: 18px;
	font-weight: bold;
	color: #fff;
	flex: 1;
}

.arrow-icon {
	color: rgba(255, 255, 255, 0.6);
	font-size: 20px;
}

.video-tags {
	display: flex;
	gap: 8px;
	margin-bottom: 10px;
}

.tag {
	background: rgba(255, 255, 255, 0.2);
	color: rgba(255, 255, 255, 0.8);
	font-size: 12px;
	padding: 4px 10px;
	border-radius: 12px;
}

.episode-info {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
}

.episode-text {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.9);
	flex: 1;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.expand-btn {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.6);
	cursor: pointer;
}

.episode-select {
	display: flex;
	align-items: center;
	gap: 8px;
}

.select-text {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.7);
	flex: 1;
}

.bottom-nav {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	height: 60px;
	background: #000;
	display: flex;
	align-items: center;
	justify-content: space-around;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	z-index: 100;
}

.nav-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	position: relative;
	flex: 1;
	padding: 8px 0;
}

.nav-icon {
	width: 24px;
	height: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.home-icon::before {
	content: '🏠';
	font-size: 20px;
}

.theater-icon::before {
	content: '🎬';
	font-size: 20px;
}

.earn-icon::before {
	content: '💰';
	font-size: 20px;
}

.my-icon::before {
	content: '👤';
	font-size: 20px;
}

.nav-text {
	font-size: 11px;
	color: rgba(255, 255, 255, 0.6);
}

.nav-item.active .nav-text {
	color: #fff;
}

.nav-item.active .nav-icon {
	transform: scale(1.1);
}

.nav-item .badge {
	position: absolute;
	top: 0;
	right: 20%;
	background: #ff9800;
	color: #fff;
	font-size: 9px;
	padding: 2px 5px;
	border-radius: 8px;
}

.comment-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1000;
}

.comment-modal.show {
	display: block;
}

.modal-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.7);
}

.modal-content {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: #1a1a1a;
	border-radius: 20px 20px 0 0;
	padding: 20px;
	animation: slideUp 0.3s ease;
}

@keyframes slideUp {
	from {
		transform: translateY(100%);
	}
	to {
		transform: translateY(0);
	}
}

.modal-header {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	margin-bottom: 20px;
}

.close-btn {
	position: absolute;
	left: 0;
	font-size: 30px;
	color: rgba(255, 255, 255, 0.6);
	cursor: pointer;
}

.modal-title {
	font-size: 16px;
	font-weight: bold;
}

.modal-body {
	margin-bottom: 20px;
}

.comment-input {
	width: 100%;
	height: 120px;
	background: rgba(255, 255, 255, 0.1);
	border: none;
	border-radius: 10px;
	padding: 15px;
	color: #fff;
	font-size: 14px;
	resize: none;
	outline: none;
}

.comment-input::placeholder {
	color: rgba(255, 255, 255, 0.4);
}

.modal-footer {
	display: flex;
	justify-content: flex-end;
}

.submit-btn {
	background: #ff4757;
	color: #fff;
	border: none;
	padding: 12px 30px;
	border-radius: 20px;
	font-size: 14px;
	cursor: pointer;
	transition: background 0.2s ease;
}

.submit-btn:active {
	background: #ff3344;
}

@media (max-width: 375px) {
	.video-title .title-text {
		font-size: 16px;
	}
	
	.episode-info .episode-text {
		font-size: 13px;
	}
	
	.tag {
		font-size: 11px;
		padding: 3px 8px;
	}
}