﻿:root { --dark: #1E1E28; --card: #2A2A3C; --gold: #ffb400; --blue-purple: linear-gradient(135deg, #4a7bff 0%, #8a2be2 100%); }

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

body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; background: var(--dark); color: rgb(238, 238, 238); -webkit-font-smoothing: antialiased; }

a { text-decoration: none; color: inherit; }

img { max-width: 100%; display: block; }

*, .btn, img { -webkit-tap-highlight-color: transparent; }

.header-fixed { position: fixed; top: 0px; left: 0px; right: 0px; background: var(--dark); z-index: 1000; border-bottom: 0px solid rgba(255, 255, 255, 0.08); }

.top-nav { background: var(--dark); padding: 20px 0px 3px; }

.top-nav ul { display: flex; justify-content: space-around; list-style: none; margin: 0px; padding: 0px; }

.top-nav li { flex: 1 1 0%; text-align: center; font-size: 17px; color: rgb(153, 153, 153); font-weight: 400; padding: 8px 0px; position: relative; transition: all 0.2s ease 0s; cursor: pointer; }

.top-nav li.active { color: rgb(255, 255, 255); font-weight: 700; }

.top-nav li.active::after { content: ""; position: absolute; bottom: -5px; left: 50%; transform: translateX(-50%); width: 28px; height: 3px; background: var(--gold); border-radius: 2px; }

.top-nav li:active { transform: scale(0.95); opacity: 0.8; }

.search-box { padding: 16px 12px 12px; background: var(--dark); }

.search-inner { position: relative; }

.search-inner input { width: 100%; height: 36px; padding: 0px 16px 0px 40px; border: 1px solid rgb(204, 204, 204); border-radius: 18px; font-size: 14px; background: rgb(255, 255, 255); color: rgb(0, 0, 0); transition: transform 0.1s ease 0s; }

.search-inner input::placeholder { color: rgb(102, 102, 102); }

.search-inner input:focus { outline: none; border-color: var(--gold); }

.search-inner input:active { transform: scale(0.98); }

.search-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; transition: transform 0.2s ease 0s; }

.search-icon:active { transform: translateY(-50%) scale(0.9); }

.btn-row { display: flex; gap: 12px; padding: 12px; background: var(--dark); }

.neon-btn { flex: 1 1 0%; height: 105px; border: none; border-radius: 18px; background: linear-gradient(135deg, rgb(74, 123, 255) 0%, rgb(138, 43, 226) 100%); color: rgb(255, 255, 255); font-size: 16px; font-weight: 700; cursor: pointer; position: relative; overflow: hidden; transition: transform 0.18s ease 0s, box-shadow 0.25s ease 0s; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; box-shadow: rgba(138, 43, 226, 0.35) 0px 0px 0px 2px, rgba(74, 123, 255, 0.45) 0px 0px 20px 4px; }

.neon-btn:active { transform: scale(0.96); box-shadow: rgba(138, 43, 226, 0.55) 0px 0px 0px 2px, rgba(74, 123, 255, 0.65) 0px 0px 26px 6px; }

#btnBanner { background: linear-gradient(135deg, rgb(255, 126, 0) 0%, rgb(255, 170, 0) 100%); box-shadow: rgba(255, 170, 0, 0.35) 0px 0px 0px 2px, rgba(255, 126, 0, 0.35) 0px 0px 12px 3px; }

#btnBanner:active { box-shadow: rgba(255, 170, 0, 0.55) 0px 0px 0px 2px, rgba(255, 126, 0, 0.45) 0px 0px 16px 4px; }

#btnGifs { background: linear-gradient(135deg, rgb(255, 85, 149) 0%, rgb(255, 136, 187) 100%); box-shadow: rgba(255, 85, 149, 0.35) 0px 0px 0px 2px, rgba(255, 136, 187, 0.35) 0px 0px 12px 3px; }

#btnGifs:active { box-shadow: rgba(255, 85, 149, 0.55) 0px 0px 0px 2px, rgba(255, 136, 187, 0.45) 0px 0px 16px 4px; }

.btn-gif { width: 55px; height: 55px; object-fit: cover; border-radius: 50%; animation: 1.8s ease-in-out 0s infinite normal none running pulse; }

@keyframes pulse { 
  0%, 100% { box-shadow: rgba(255, 255, 255, 0.25) 0px 0px 0px 0px; }
  50% { box-shadow: rgba(255, 255, 255, 0) 0px 0px 0px 8px; }
}

.btn-txt { letter-spacing: 0.5px; text-shadow: rgba(0, 0, 0, 0.35) 0px 0px 8px; position: relative; top: 5px; font-size: 16px; }

.neon-btn { animation: 0s ease 0s 1 normal none running none; }

.neon-btn.shaking { animation: 2.4s ease-in-out 0s infinite normal none running gentleShake; }

@keyframes gentleShake { 
  0%, 54%, 100% { transform: translateX(0px) rotate(0deg); }
  58% { transform: translateX(-4px) rotate(-2deg); }
  60% { transform: translateX(4px) rotate(2deg); }
  62% { transform: translateX(0px) rotate(0deg); }
}

.neon-btn:active { animation: 0s ease 0s 1 normal none running none; }

.guide-finger { position: absolute; width: 45px; height: 45px; background-image: url("../image/sz.png"); background-size: contain; background-repeat: no-repeat; opacity: 0; pointer-events: none; z-index: 10; right: 12px; bottom: 12px; }

.guide-finger.animate { animation: 2.4s linear 0s infinite normal none running fingerFade, 2.4s linear 0s infinite normal none running fingerMove; }

@keyframes fingerFade { 
  0% { opacity: 0; }
  15% { opacity: 0; }
  50% { opacity: 1; }
  60% { opacity: 1; }
  80% { opacity: 0; }
}
/*
@keyframes fingerMove { 
  0% { transform: translate(30px, 30px) scale(0.9); }
  50% { transform: translate(-41px, -23px) scale(0.93); }
  56% { transform: translate(-41px, -23px) scale(0.7); }
  58% { transform: translate(-41px, -23px) scale(0.95); }
  100% { transform: translate(-41px, -23px) scale(1); }
}*/

/* 修改手指移动动画，去掉所有scale变化 */
@keyframes fingerMove { 
  0% { transform: translate(30px, 30px); }
  50% { transform: translate(-41px, -23px); }
  56% { transform: translate(-41px, -23px); }
  58% { transform: translate(-41px, -23px); }
  100% { transform: translate(-41px, -23px); }
}

.video-grid { padding: 12px; background: var(--dark); }

.video-row { display: flex; gap: 10px; margin-bottom: 18px; }

.video-card { flex: 1 1 0%; background: transparent; display: flex; flex-direction: column; cursor: pointer; transition: all 0.2s ease 0s; }

.video-thumb-container { position: relative; width: 100%; height: 130px; border-radius: 12px; background: var(--card); margin-bottom: 6px; overflow: hidden; transition: all 0.3s ease 0s; }

.video-thumb-container::before { content: ""; position: absolute; inset: 0px; border-radius: 12px; }

.video-thumb-container img { width: 100%; height: 100%; object-fit: cover; display: block; }

.free-badge { position: absolute; left: 0px; top: 0px; width: 32px; height: 16px; border-radius: 0px 0px 6px; z-index: 2; transition: transform 0.2s ease 0s; }

.free-badge img { width: 100%; height: 100%; display: block; }

.lock-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 36px; height: 36px; z-index: 2; transition: transform 0.2s ease 0s; }

.lock-center img { width: 100%; height: 100%; display: block; }

.bottom-icons { position: absolute; left: 0px; right: 0px; bottom: 0px; display: flex; justify-content: space-between; align-items: center; padding: 6px 8px; z-index: 2; }

.left-group { display: flex; align-items: center; gap: 3px; font-size: 12px; color: rgb(255, 255, 255); }

.eye-icon { width: 14px; height: 14px; background: url("../image/gk.png") center center / contain no-repeat; transition: transform 0.2s ease 0s; }

.right-group { display: flex; align-items: center; gap: 3px; font-size: 12px; color: rgb(255, 255, 255); }

.time-clock-icon { width: 13px; height: 13px; background: url("../image/sj.png") center center / contain no-repeat; transition: transform 0.2s ease 0s; }

.video-info { padding: 0px; }

.video-info h5 { font-size: 12px; color: rgb(153, 153, 153); margin: 0px; font-weight: normal; font-style: italic; line-height: 1.4; transition: color 0.2s ease 0s; }

.video-card:active .video-thumb-container { transform: scale(0.95); box-shadow: 0 0 0 2px var(--gold); }

.video-card:active .free-badge { transform: scale(1.2); }

.video-card:active .lock-center { transform: translate(-50%, -50%) scale(1.2); }

.video-card:active .eye-icon, .video-card:active .time-clock-icon { transform: scale(1.2); }

.video-card:active .video-info h5 { color: var(--gold); }

.pagination { display: flex; justify-content: center; align-items: center; gap: 10px; padding: 12px; background: var(--dark); }

.pagination a { width: 30px; height: 30px; line-height: 30px; text-align: center; font-size: 13px; color: rgb(187, 187, 187); background: rgb(42, 42, 60); border-radius: 50%; transition: background 0.25s ease 0s, color 0.25s ease 0s, transform 0.15s ease 0s; cursor: pointer; }

.pagination a.on { background: linear-gradient(135deg, rgb(255, 126, 0) 0%, rgb(255, 170, 0) 100%); color: rgb(255, 255, 255); font-weight: 700; }

.pagination a:active { transform: scale(0.88); filter: brightness(0.9); }

.bottom-nav { position: fixed; bottom: 0px; left: 0px; right: 0px; display: flex; background: var(--dark); border-top: 1px solid rgba(255, 180, 0, 0.15); z-index: 1000; }

.bottom-nav a { flex: 1 1 0%; text-align: center; padding: 8px 0px 6px; font-size: 11px; color: rgb(153, 153, 153); background: none; transition: all 0.3s ease 0s; cursor: pointer; }

.bottom-nav a.on { color: var(--gold); background: none; }

.bottom-nav-icon { display: block; width: 22px; height: 22px; margin: 0px auto 3px; border-radius: 6px; background: none 0% 0% / cover; transition: all 0.3s ease 0s; }

.icon-home .bottom-nav-icon { background-image: url("../image/sy.png"); }

.icon-category .bottom-nav-icon { background-image: url("../image/qz.png"); }

.icon-new .bottom-nav-icon { background-image: url("../image/zb.png"); }

.icon-me .bottom-nav-icon { background-image: url("../image/wd.png"); }

.bottom-nav a:active .bottom-nav-icon { transform: scale(0.85); filter: brightness(1.2); }

.bottom-nav a:active { color: var(--gold); }

body { padding-top: 68px; padding-bottom: 50px; }

.free-header { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; background: var(--dark); }

.free-label { position: relative; font-size: 16px; font-weight: 700; color: rgb(255, 255, 255); padding-left: 11px; }

.free-label::before { content: ""; position: absolute; left: 0px; top: 50%; transform: translateY(-50%); width: 4px; height: 25px; background: var(--gold); border-radius: 2px; }

.free-more { font-size: 13px; color: rgb(187, 187, 187); }

html, body { margin: 0px; height: 100%; overflow: hidden; }

.app-wrapper { position: relative; width: 100%; height: 100%; overflow: hidden; }

.scroll-box { height: 100%; overflow-y: scroll; padding-right: 20px; margin-right: -20px; }

.scroll-box::-webkit-scrollbar { width: 0px !important; }

.overlay { position: fixed; inset: 0px; background: rgba(0, 0, 0, 0.55); z-index: 9999; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s ease 0s; }

.overlay.show { opacity: 1; pointer-events: auto; }

.spinner { width: 40px; height: 40px; border-width: 4px; border-style: solid; border-color: rgb(255, 180, 0) rgba(255, 255, 255, 0.2) rgba(255, 255, 255, 0.2); border-image: initial; border-radius: 50%; animation: 1s linear 0s infinite normal none running spin; }

@keyframes spin { 
  100% { transform: rotate(360deg); }
}

.pwd-box { position: fixed; inset: 0px; z-index: 10000; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s ease 0s; }

.pwd-box.show { opacity: 1; pointer-events: auto; }

.pwd-inner { position: relative; width: 340px; background: rgb(255, 255, 255); border-radius: 14px; padding: 28px 22px 16px; text-align: center; color: rgb(0, 0, 0); box-shadow: rgba(0, 0, 0, 0.65) 0px 10px 30px; }

.pwd-close { position: absolute; right: 12px; top: 12px; font-size: 24px; line-height: 1; color: rgb(187, 187, 187); cursor: pointer; transition: color 0.2s ease 0s; }

.pwd-close:active { color: rgb(255, 255, 255); }

.pwd-title { font-size: 16px; font-weight: 600; margin-bottom: 10px; color: rgb(0, 0, 0); }

.pwd-desc { font-size: 16px; color: rgb(255, 51, 51); background: rgba(255, 180, 0, 0.1); border: 2px dashed rgb(255, 180, 0); border-radius: 12px; padding: 12px 18px 12px 38px; display: block; margin: 26px 11px 25px; cursor: pointer; transition: all 0.3s ease 0s; font-weight: 500; text-align: center; position: relative; animation: 2s ease-in-out 0s infinite normal none running breathe; text-decoration: none; line-height: 1.2; }

@keyframes breathe { 
  0%, 100% { background: rgba(255, 180, 0, 0.1); border-color: rgb(255, 180, 0); }
  50% { background: rgba(255, 180, 0, 0.2); border-color: rgb(255, 204, 0); }
}

.pwd-desc::before { content: "\1f511 "; position: absolute; left: 20px; top: 50%; transform: translateY(-50%); font-size: 14px; animation: 1.5s ease-in-out 0s infinite normal none running unlockShake; }

@keyframes unlockShake { 
  0%, 100% { transform: translateY(-50%) rotate(0deg) scale(1); }
  10% { transform: translateY(-50%) rotate(-15deg) scale(1.1); }
  20% { transform: translateY(-50%) rotate(12deg) scale(1.1); }
  30% { transform: translateY(-50%) rotate(-10deg) scale(1.1); }
  40% { transform: translateY(-50%) rotate(8deg) scale(1.1); }
  50% { transform: translateY(-50%) rotate(0deg) scale(1.2); }
  60% { transform: translateY(-50%) rotate(5deg) scale(1.1); }
  70% { transform: translateY(-50%) rotate(-3deg) scale(1.1); }
  80% { transform: translateY(-50%) rotate(2deg) scale(1.1); }
  90% { transform: translateY(-50%) rotate(-1deg) scale(1.1); }
}

.pwd-desc::after { content: ""; position: absolute; bottom: 12px; left: 50%; width: 0px; height: 1px; background: linear-gradient(90deg, transparent, rgb(255, 51, 51), transparent); transform: translateX(-50%); transition: width 0.3s ease 0s; animation: 2s ease-in-out 0s infinite normal none running underlineFlow; }

@keyframes underlineFlow { 
  0%, 100% { width: 0px; opacity: 0; }
  50% { width: 80%; opacity: 1; }
}

.pwd-desc:active { background: rgba(255, 180, 0, 0.3); border-style: solid; border-color: rgb(255, 204, 0); animation: 0s ease 0s 1 normal none running none; transform: scale(0.98); padding-bottom: 22px; }

.pwd-desc:active::after { animation: 0s ease 0s 1 normal none running none; width: 90%; background: rgb(255, 204, 0); opacity: 1; bottom: 14px; }

.pwd-desc:hover::after { animation: 0s ease 0s 1 normal none running none; width: 90%; background: rgb(255, 204, 0); opacity: 1; }

.pwd-header { display: flex; justify-content: space-between; align-items: center; margin: -8px -24px 6px; padding: 0px 24px; position: relative; }

.pwd-close { position: absolute; right: 12px; top: 50%; transform: translateY(-50%) translateY(-6px); font-size: 24px; line-height: 1; color: rgb(187, 187, 187); cursor: pointer; transition: color 0.2s ease 0s; }

.pwd-close:active { color: rgb(255, 255, 255); }

.pwd-divider { height: 1px; background: transparent; border-bottom: 1px dashed rgb(204, 204, 204); margin: 0px -22px 12px; }

#pwdInput { width: 100%; height: 44px; padding: 0px 12px; border: 1px solid rgb(68, 68, 68); border-radius: 6px; background: rgb(30, 30, 40); color: rgb(255, 255, 255); font-size: 14px; margin-bottom: 8px; }

.pwd-error { font-size: 12px; color: rgb(255, 0, 0); height: 16px; margin-bottom: 10px; opacity: 0; transition: opacity 0.2s ease 0s; }

.pwd-error.show { opacity: 1; }

#pwdBtn { width: 200px; height: 42px; background: linear-gradient(135deg, rgb(255, 126, 0) 0%, rgb(255, 170, 0) 100%); color: rgb(255, 255, 255); border: 0px; border-radius: 6px; font-size: 15px; font-weight: 700; cursor: pointer; transition: filter 0.2s ease 0s; margin: 0px auto; display: block; }

#pwdBtn:active { filter: brightness(0.9); }

.shake { animation: 0.35s ease 0s 1 normal none running shake; }

@keyframes shake { 
  0%, 100% { transform: translateX(0px); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
  20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* ========== 页面样式补充 ========== */
html { overflow: visible !important; height: auto !important; }
body { overflow: visible !important; height: auto !important; padding-top: 165px !important; padding-bottom: 60px !important; }
.app-wrapper { position: relative; width: 100%; min-height: 100vh; overflow: visible; }
.scroll-box { height: auto; overflow-y: auto; padding-right: 0; margin-right: 0; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.scroll-box::-webkit-scrollbar { width: 0 !important; }

/* ========== Notice Bar ========== */
.notice-bar { width: 100%; overflow: hidden; background: linear-gradient(135deg,#1a1a2e 0,#2a2a4e 100%); border-bottom: 1px solid rgba(255,180,0,.2); height: 32px; line-height: 32px; position: relative; z-index: 10; box-shadow: 0 1px 8px rgba(0,0,0,.3); }
.notice-bar .notice-track { display: flex; white-space: nowrap; animation: scrollLeft 18s linear infinite; width: max-content; }
.notice-bar .notice-track span { flex-shrink: 0; padding: 0 50px; font-size: 13px; font-weight: 500; color: #ffb400; letter-spacing: .3px; text-shadow: 0 0 6px rgba(255,180,0,.08); }
@keyframes scrollLeft { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.notice-bar:hover .notice-track { animation-play-state: paused; }

/* ========== Top Nav ========== */
.top-nav { background: var(--dark); padding: 4px 0 2px 0; width: 100%; display: block; }
.top-nav ul { display: flex; justify-content: center; list-style: none; margin: 0; padding: 0 8px; gap: 6px; }
.top-nav li { flex: 1; text-align: center; font-size: 15px; font-weight: 700; color: #ccc; padding: 6px 0; border-radius: 20px; background: rgba(255,180,0,.08); border: 2px solid rgba(255,180,0,.25); transition: all .25s ease; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.2); user-select: none; white-space: nowrap; display: flex; align-items: center; justify-content: center; gap: 4px; }
.top-nav li .nav-icon { font-size: 18px; display: inline-block; line-height: 1; }
.top-nav li.active { color: #fff; background: linear-gradient(135deg,#ff7e00 0,#fa0 100%); border-color: #ffb400; box-shadow: 0 0 24px rgba(255,180,0,.35), 0 4px 16px rgba(255,126,0,.25); transform: scale(1.02); }
.top-nav li.active::after { display: none; }
.top-nav li:active { transform: scale(.94); opacity: .85; }
@media (hover:hover) { .top-nav li:hover:not(.active) { background: rgba(255,180,0,.15); border-color: rgba(255,180,0,.5); } }

/* ========== Search ========== */
.search-box { padding: 8px 12px 4px 12px; background: var(--dark); }
.search-inner { position: relative; display: flex; align-items: center; }
.search-inner input { width: 100%; height: 44px; padding: 0 50px 0 44px; border: 1px solid #ccc; border-radius: 22px; font-size: 15px; background: #fff; color: #000; transition: transform .1s,border-color .2s; outline: 0; }
.search-inner input::placeholder { color: #666; }
.search-inner input:focus { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(255,180,0,.2); }
.search-inner input:active { transform: scale(.98); }
.search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; transition: transform .2s ease; cursor: pointer; }
.search-icon:active { transform: translateY(-50%) scale(.9); }
.search-submit-btn { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); height: 32px; padding: 0 16px; border: none; border-radius: 16px; background: linear-gradient(135deg,#ff7e00 0,#fa0 100%); color: #fff; font-size: 13px; font-weight: 700; cursor: pointer; transition: transform .15s,box-shadow .2s; box-shadow: 0 2px 8px rgba(255,126,0,.25); white-space: nowrap; }
.search-submit-btn:active { transform: translateY(-50%) scale(.93); box-shadow: 0 1px 4px rgba(255,126,0,.35); }

/* ========== Online Count ========== */
.online-count-wrap { margin: 6px 12px 4px 12px; background: rgba(0,0,0,.35); backdrop-filter: blur(2px); border-radius: 60px; border: 1px solid rgba(255,180,0,.25); padding: 4px 16px; display: flex; align-items: center; justify-content: center; transition: all .2s; }
.online-count { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: #ffe6c7; letter-spacing: .3px; }
.online-icon { font-size: 18px; filter: drop-shadow(0 0 2px #ffb400); }
.online-num { font-weight: 800; font-size: 18px; color: #ffb400; text-shadow: 0 0 3px rgba(255,180,0,.5); min-width: 58px; display: inline-block; text-align: center; font-family: monospace; }
.live-dot { display: inline-block; width: 8px; height: 8px; background-color: #22c55e; border-radius: 50%; margin-left: 4px; box-shadow: 0 0 6px #22c55e; animation: pulseLive 1.4s infinite; }
@keyframes pulseLive { 0% { opacity: .4; transform: scale(.8); } 100% { opacity: 1; transform: scale(1.2); } }

/* ========== Video Grid ========== */
.video-grid { padding: 2px 12px 4px 12px; background: var(--dark); }
.video-row { display: flex; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.video-card { flex: 1; background: 0 0; display: flex; flex-direction: column; cursor: pointer; transition: all .2s ease; }
.video-thumb-container { position: relative; width: 100%; height: 130px; border-radius: 12px; background: var(--card); margin-bottom: 6px; overflow: hidden; transition: all .3s ease; }
.video-thumb-container::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; border-radius: 12px; }
.video-thumb-container img { width: 100%; height: 100%; object-fit: cover; display: block; }
.free-tag { position: absolute; top: 0; left: 0; background: linear-gradient(135deg,#ff416c 0,#ff6b6b 50%,#ffa502 100%); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 10px 2px 8px; border-radius: 0 0 10px 0; z-index: 5; line-height: 1.5; box-shadow: 0 1px 6px rgba(0,0,0,.4); letter-spacing: .5px; }
.lock-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 36px; height: 36px; z-index: 2; transition: transform .2s ease; }
.lock-center img { width: 100%; height: 100%; display: block; }
.bottom-icons { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: center; padding: 6px 8px; z-index: 2; }
.left-group { display: flex; align-items: center; gap: 3px; font-size: 12px; color: #fff; }
.eye-icon { width: 14px; height: 14px; background: url('../picture/gk.png') center/contain no-repeat; transition: transform .2s ease; }
.right-group { display: flex; align-items: center; gap: 3px; font-size: 12px; color: #fff; }
.time-clock-icon { width: 13px; height: 13px; background: url('../picture/sj.png') center/contain no-repeat; transition: transform .2s ease; }

/* ========== Resource Card ========== */
.video-card.resource-card { background: #2a2a3c; border-radius: 12px; overflow: hidden; padding: 0 0 10px 0; cursor: pointer; transition: transform .2s,box-shadow .2s; }
.video-card.resource-card:active { transform: scale(.96); box-shadow: 0 0 0 2px var(--gold); }
.video-card.resource-card .video-thumb-container { border-radius: 12px 12px 0 0; margin-bottom: 0; }
.video-card.resource-card .video-info { padding: 6px 10px 2px 10px; margin-bottom: 0; }
.video-card.resource-card .video-info h5 { font-size: 13px; color: #fff; font-weight: 500; max-width: 6.5em; white-space: nowrap; overflow: hidden; }
.video-card.resource-card .game-download-btn,
.video-card.resource-card .get-resource-btn { margin: 2px 10px 0 10px; width: calc(100% - 20px); }
.video-card.resource-card:active .video-thumb-container { transform: none; box-shadow: none; }
.video-card.resource-card:active .video-info h5 { color: var(--gold); }

.get-resource-btn { display: block; width: 100%; padding: 3px 0; margin-top: 4px; border: none; border-radius: 20px; background: linear-gradient(135deg,#ff7e00 0,#fa0 100%); color: #fff; font-size: 11px; font-weight: 700; cursor: pointer; transition: transform .15s,box-shadow .2s; box-shadow: 0 2px 8px rgba(255,126,0,.3); text-align: center; }
.get-resource-btn:active { transform: scale(.95); box-shadow: 0 1px 4px rgba(255,126,0,.4); }
.game-download-btn { display: block; width: 100%; padding: 3px 0; margin-top: 4px; border: none; border-radius: 20px; background: linear-gradient(135deg,#00b894 0,#00cec9 100%); color: #fff; font-size: 11px; font-weight: 700; cursor: pointer; transition: transform .15s,box-shadow .2s; box-shadow: 0 2px 8px rgba(0,184,148,.3); text-align: center; }
.game-download-btn:active { transform: scale(.95); box-shadow: 0 1px 4px rgba(0,184,148,.4); }

/* ========== Pagination ========== */
.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 2px 12px 8px 12px; background: var(--dark); flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.pagination a { flex: 0 0 auto; min-width: 32px; height: 32px; line-height: 32px; text-align: center; font-size: 15px; color: #bbb; background: #2a2a3c; border-radius: 50%; transition: background .25s,color .25s,transform .15s; cursor: pointer; padding: 0 6px; }
.pagination a.on { background: linear-gradient(135deg,#ff7e00 0,#fa0 100%); color: #fff; font-weight: 700; }
.pagination a.disabled { opacity: .6; cursor: default; pointer-events: none; }
.pagination a:active:not(.disabled) { transform: scale(.88); filter: brightness(.9); }
.pagination .next-btn { border-radius: 20px; background: #3a3a4c; color: #ddd; padding: 0 16px; min-width: 56px; height: 32px; line-height: 32px; font-size: 15px; flex: 0 0 auto; }
.pagination .next-btn.on { background: var(--gold); color: #fff; }
.pagination .next-btn.disabled { opacity: .4; }

/* ========== Bottom Nav ========== */
.bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; display: flex; background: rgba(30,30,40,.95); border-top: 1px solid rgba(255,180,0,.15); z-index: 9999; width: 100%; }
.bottom-nav a { flex: 1; text-align: center; padding: 8px 0 6px; font-size: 11px; color: #999; background: 0 0; transition: all .3s ease; cursor: pointer; }
.bottom-nav a.on { color: var(--gold); }
.bottom-nav-icon { display: block; width: 22px; height: 22px; margin: 0 auto 3px; border-radius: 6px; background: 0 0; background-size: cover; transition: all .3s ease; }
.icon-home .bottom-nav-icon { background-image: url('../picture/sy.png'); }
.icon-category .bottom-nav-icon { background-image: url('../picture/qz.jpg'); }
.icon-new .bottom-nav-icon { background-image: url('../picture/zb.jpg'); }
.icon-me .bottom-nav-icon { background-image: url('../picture/wd.jpg'); }
.bottom-nav a:active .bottom-nav-icon { transform: scale(.85); filter: brightness(1.2); }
.bottom-nav a:active { color: var(--gold); }

/* ========== Free Header ========== */
.free-header { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px 9px; background: var(--dark); }
.free-label { position: relative; font-size: 16px; font-weight: 700; color: #fff; padding-left: 11px; }
.free-label::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 4px; height: 25px; background: var(--gold); border-radius: 2px; }
.free-more { font-size: 13px; color: #bbb; }

/* ========== Sub Nav ========== */
.sub-nav { display: flex; justify-content: center; gap: 16px; padding: 10px 12px 10px 12px; background: var(--dark); border-bottom: 1px solid rgba(255,255,255,.08); }
.sub-nav button { flex: 1; max-width: 140px; padding: 10px 0; border: none; border-radius: 30px; font-size: 16px; font-weight: 700; color: #fff; cursor: pointer; transition: transform .15s,box-shadow .2s,background .2s; text-align: center; letter-spacing: .5px; background: linear-gradient(135deg,#4a4a6a 0,#6a6a8a 100%); box-shadow: 0 2px 8px rgba(0,0,0,.3); position: relative; }
.sub-nav button.active { background: linear-gradient(135deg,#ff7e00 0,#fa0 100%); box-shadow: 0 0 12px rgba(255,126,0,.5); animation: breatheGlow 1.6s ease-in-out infinite; }
@keyframes breatheGlow { 0%,100% { box-shadow: 0 0 12px rgba(255,126,0,.5),0 0 24px rgba(255,126,0,.2); transform: scale(1); } 50% { box-shadow: 0 0 36px #ff7e00,0 0 72px rgba(255,126,0,.6),0 0 108px rgba(255,126,0,.3); transform: scale(1.04); } }
.sub-nav button:active { transform: scale(.94); box-shadow: 0 1px 4px rgba(0,0,0,.3); }
.sub-nav button:first-child { border-radius: 30px 12px 12px 30px; }
.sub-nav button:last-child { border-radius: 12px 30px 30px 12px; }

/* ========== Modal ========== */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.72); z-index: 99999; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .35s ease; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); padding: 16px; }
.modal-overlay.show { opacity: 1; pointer-events: auto; }
.modal-content { width: 380px; max-width: 100%; background: #fff; border-radius: 18px; padding: 18px 18px 22px; position: relative; box-shadow: 0 24px 64px rgba(0,0,0,.55); transform: scale(.92) translateY(16px); transition: transform .35s cubic-bezier(.34, 1.56, .64, 1),opacity .35s ease; opacity: 0; }
.modal-overlay.show .modal-content { transform: scale(1) translateY(0); opacity: 1; }
.modal-top-bar { display: flex; justify-content: flex-end; align-items: center; margin-bottom: 4px; padding: 0 2px; }
.modal-close { font-size: 26px; line-height: 1; color: #bbb; cursor: pointer; transition: color .2s,transform .15s; padding: 0 4px; user-select: none; }
.modal-close:active { color: #333; transform: scale(.85); }
.modal-main-title { font-size: 18px; font-weight: 700; color: #1a1a2e; text-align: center; margin-bottom: 2px; letter-spacing: .3px; display: block; }
.modal-sub-title { font-size: 18px; font-weight: 700; color: #1a1a2e; text-align: center; margin-bottom: 12px; display: block; letter-spacing: .3px; }
.modal-card-area { display: block; }
.modal-card-area.hide { display: none; }
.modal-video-card { display: flex; align-items: center; gap: 14px; background: #f4f4f9; border-radius: 12px; padding: 12px 14px; margin-bottom: 12px; }
.modal-vthumb { width: 72px; height: 72px; border-radius: 10px; overflow: hidden; flex-shrink: 0; background: #ddd; border: 2px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.modal-vthumb img { width: 100%; height: 100%; object-fit: cover; }
.modal-vinfo { flex: 1; min-width: 0; }
.modal-vtitle { font-size: 14px; font-weight: 600; color: #1a1a2e; margin-bottom: 4px; line-height: 1.3; word-break: break-all; }
.modal-vmeta-views { display: flex; gap: 14px; font-size: 13px; color: #666; }
.modal-vmeta-views span { display: flex; align-items: center; gap: 4px; }
.modal-vmeta-views .meta-icon { font-size: 14px; }
.modal-vmeta-label { display: none; font-size: 13px; color: #666; }
.modal-vmeta-label span { display: flex; align-items: center; gap: 4px; }
.modal-vmeta-label .meta-icon { font-size: 14px; }
.modal-vmeta-label.show { display: block; }
.modal-footer-count { font-size: 13px; color: #999; text-align: center; margin-top: 10px; padding-top: 8px; border-top: 1px dashed #e0e0e0; display: none; }
.modal-footer-count.show { display: block; }
.modal-btn-row .btn-main-text, .modal-btns .btn-main-text { font-size: 20px; font-weight: 700; }
.modal-btn-row .btn-sub-text, .modal-btns .btn-sub-text { font-size: 12px; font-weight: 700; opacity: .85; color: rgba(255,255,255,.9); }
.modal-btn-row { display: flex; gap: 10px; margin-bottom: 10px; }
.modal-btn-row button { flex: 1; height: 60px; border: none; border-radius: 12px; font-weight: 700; color: #fff; cursor: pointer; transition: transform .15s,box-shadow .25s; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 8px 6px; line-height: 1.2; }
.modal-btn-row button:active { transform: scale(.95); }
.modal-btns { display: flex; gap: 10px; margin-bottom: 12px; }
.modal-btns button { flex: 1; height: 60px; border: none; border-radius: 12px; font-weight: 700; color: #fff; cursor: pointer; transition: transform .15s,box-shadow .25s; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 8px 6px; line-height: 1.2; }
.modal-btns button:active { transform: scale(.95); }
.btn-visit { background: linear-gradient(135deg,#ff7e00 0,#fa0 100%); box-shadow: 0 4px 14px rgba(255,126,0,.35); }
.btn-visit:active { box-shadow: 0 2px 8px rgba(255,126,0,.5); }
.btn-free { background: #ff1493; box-shadow: 0 4px 14px rgba(255,20,147,.35); }
.btn-free:active { box-shadow: 0 2px 8px rgba(255,20,147,.5); }
.modal-input-row { display: flex; gap: 10px; margin-bottom: 10px; }
.modal-input-row input { flex: 1; height: 46px; padding: 0 16px; border: 2px solid #ffb400; border-radius: 12px; font-size: 16px; color: #222; background: #fafafa; transition: border-color .25s,background .2s,box-shadow .2s; min-width: 0; }
.modal-input-row input:focus { outline: 0; border-color: #ff7e00; background: #fff; box-shadow: 0 0 0 3px rgba(255,180,0,.2); }
.modal-input-row input::placeholder { color: #999; font-size: 15px; }
.modal-input-row button { height: 46px; padding: 0 24px; border: none; border-radius: 12px; background: linear-gradient(135deg,#4a7bff 0,#8a2be2 100%); color: #fff; font-size: 16px; font-weight: 700; cursor: pointer; transition: transform .15s,box-shadow .25s; white-space: nowrap; box-shadow: 0 4px 12px rgba(74,123,255,.3); flex-shrink: 0; }
.modal-input-row button:active { transform: scale(.95); box-shadow: 0 2px 8px rgba(74,123,255,.4); }
.modal-success-msg { font-size: 14px; color: #22c55e; font-weight: 600; padding: 8px 0 2px; border-top: 1.5px dashed #e0e0e0; margin-top: 2px; display: none; align-items: center; justify-content: center; gap: 8px; }
.modal-success-msg.show { display: flex; }
.modal-success-msg::before { content: '✅'; font-size: 16px; }
.modal-error-tip { font-size: 12px; color: #e53935; height: 18px; margin-top: -6px; margin-bottom: 4px; opacity: 0; transition: opacity .2s; text-align: center; }
.modal-error-tip.show { opacity: 1; }
.shake-input { animation: shakeInput .36s ease; }
@keyframes shakeInput { 0%,100% { transform: translateX(0); } 20% { transform: translateX(-6px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(4px); } }

/* ========== Search Page ========== */
#page-search .search-result-wrap { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; min-height: 30vh; padding: 12px 20px 40px 20px; text-align: center; }
#page-search .search-result-title { font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 8px; letter-spacing: 1px; display: flex; align-items: center; gap: 6px; }
#page-search .search-result-title .search-icon-svg { width: 28px; height: 28px; flex-shrink: 0; }
#searchFolderIcon { font-size: 56px; cursor: pointer; margin: 6px 0 10px 0; transition: transform .2s,filter .2s; user-select: none; line-height: 1; }
#searchFolderIcon:active { transform: scale(.88); filter: brightness(1.3); }
#searchKeywordDisplay { font-size: 18px; font-weight: 700; color: var(--gold); margin-top: 2px; letter-spacing: .5px; word-break: break-all; }
#searchResultLink { display: none !important; }
#page-search .search-result-hint { margin-top: 16px; font-size: 14px; color: #888; }
#page-search .search-back-link { margin-top: 24px; font-size: 14px; color: #888; cursor: pointer; transition: color .2s; border-bottom: 1px dashed #555; padding-bottom: 2px; }
#page-search .search-back-link:active { color: var(--gold); }
.search-spinner { margin: 16px 0 8px 0; display: flex; justify-content: center; }
.search-spinner .spinner { width: 32px; height: 32px; border-width: 3px; }

/* ========== Toast ========== */
.toast-tip { position: fixed; bottom: 120px; left: 50%; transform: translateX(-50%) translateY(20px); background: rgba(0,0,0,.85); color: #fff; padding: 10px 24px; border-radius: 30px; font-size: 14px; z-index: 9999999; opacity: 0; transition: opacity .4s,transform .4s; pointer-events: none; backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,.06); }
.toast-tip.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ========== Welcome Modal ========== */
.welcome-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.78); z-index: 999999; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .5s ease; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); padding: 20px; }
.welcome-overlay.show { opacity: 1; pointer-events: auto; }
.welcome-content { width: 400px; max-width: 100%; background: linear-gradient(145deg,#2a2a3c,#1e1e28); border-radius: 24px; padding: 30px 26px 28px; position: relative; box-shadow: 0 32px 80px rgba(0,0,0,.7),0 0 0 1px rgba(255,180,0,.15); transform: scale(.92) translateY(24px); transition: transform .45s cubic-bezier(.34, 1.56, .64, 1),opacity .45s ease; opacity: 0; border: 1px solid rgba(255,180,0,.12); }
.welcome-overlay.show .welcome-content { transform: scale(1) translateY(0); opacity: 1; }
.welcome-title { text-align: center; font-size: 26px; font-weight: 800; color: var(--gold); margin-bottom: 18px; letter-spacing: 1px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.welcome-title .welcome-emoji { font-size: 32px; }
.welcome-body { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.welcome-line { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; line-height: 1.6; color: #e8e8f0; padding: 6px 10px; border-radius: 10px; background: rgba(255,255,255,.04); transition: background .2s; }
.welcome-line .line-icon { font-size: 20px; flex-shrink: 0; margin-top: 1px; width: 28px; text-align: center; }
.welcome-line .line-text { flex: 1; }
.welcome-line .line-text .highlight { color: var(--gold); font-weight: 600; }
.welcome-line-orange .line-text { color: var(--gold); font-weight: 500; }
.welcome-line-orange .line-text .highlight { font-weight: 700; }
.welcome-btn { display: block; width: 100%; padding: 14px 0; border: none; border-radius: 60px; background: linear-gradient(135deg,#ff7e00 0,#fa0 100%); color: #fff; font-size: 18px; font-weight: 700; cursor: pointer; transition: transform .2s,box-shadow .25s; box-shadow: 0 4px 20px rgba(255,126,0,.35); letter-spacing: 1px; text-align: center; }
.welcome-btn:active { transform: scale(.95); box-shadow: 0 2px 10px rgba(255,126,0,.5); }

/* ========== Page Content ========== */
.page-content { display: none; }
.page-content.active { display: block; }

/* ========== Responsive ========== */
@media (max-width:480px) {
  .welcome-content { padding: 22px 18px 24px; }
  .welcome-title { font-size: 22px; }
  .welcome-line { font-size: 14px; padding: 5px 8px; gap: 10px; }
  .welcome-line .line-icon { font-size: 18px; width: 24px; }
  .welcome-btn { font-size: 16px; padding: 12px 0; }
  .top-nav li { font-size: 13px; padding: 4px 0; }
  .top-nav li .nav-icon { font-size: 15px; }
}