/* 基于 HAR main.css 还原，图标改用 CSS/SVG，无外部图片依赖 */
:root {
  --dark: #1e1e28;
  --card: #2a2a3c;
  --gold: #ffb400;
  --bg: #1e1e28;
  --card-bg: #2a2a3c;
  --text: #fff;
  --text-secondary: #aaa;
}

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

html {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

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

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

/* ===== PC 拦截 ===== */
.pc-block {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #1e1e28, #16213e);
}

body.is-pc .pc-block {
  display: flex;
}

body.is-pc .app-wrapper {
  display: none;
}

.pc-block__inner {
  text-align: center;
  padding: 40px 28px;
}

.pc-block__icon {
  font-size: 56px;
  margin-bottom: 16px;
}

.pc-block__inner h1 {
  font-size: 22px;
  color: var(--gold);
  margin-bottom: 10px;
}

.pc-block__inner p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ===== 主容器 ===== */
.app-wrapper {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--dark);
}

.scroll-box {
  padding-top: 118px;
  padding-bottom: 72px;
}

/* ===== 顶部固定 ===== */
.header-fixed {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: var(--dark);
  z-index: 9999;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.top-nav {
  padding: 16px 0 4px;
}

.top-nav ul {
  display: flex;
  justify-content: space-around;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0 4px;
}

.top-nav ul::-webkit-scrollbar {
  display: none;
}

.top-nav li {
  flex: 0 0 auto;
  padding: 8px 12px;
  font-size: 17px;
  color: #999;
  cursor: pointer;
  position: relative;
  white-space: nowrap;
  transition: transform 0.15s;
}

.top-nav li.active {
  color: #fff;
  font-weight: 700;
}

.top-nav li.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  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.85;
}

.search-box {
  padding: 12px 12px 14px;
}

.search-inner {
  position: relative;
}

.search-inner input {
  width: 100%;
  height: 36px;
  padding: 0 36px 0 40px;
  border: 1px solid #ccc;
  border-radius: 18px;
  font-size: 14px;
  background: #fff;
  color: #000;
  outline: none;
}

.search-inner input::placeholder {
  color: #666;
}

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

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  pointer-events: none;
}

.search-clear {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border: none;
  background: #e5e7eb;
  border-radius: 50%;
  color: #666;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

/* ===== 在线人数 ===== */
.online-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 0;
  font-size: 11px;
  color: #888;
  background: var(--dark);
}

.online-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #00e676;
  border-radius: 50%;
  margin-right: 4px;
  animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* ===== 双引流按钮 ===== */
.btn-row {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: var(--dark);
}

.neon-btn {
  flex: 1;
  height: 105px;
  border: none;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  position: relative;
  overflow: hidden;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s;
}

.neon-btn:first-child {
  background: linear-gradient(135deg, #ff7e00 0%, #ffaa00 100%);
  box-shadow: 0 0 0 2px rgba(255, 170, 0, 0.35), 0 0 12px 3px rgba(255, 126, 0, 0.35);
}

.neon-btn:last-child {
  background: linear-gradient(135deg, #ff5595 0%, #ff88bb 100%);
  box-shadow: 0 0 0 2px rgba(255, 85, 149, 0.35), 0 0 12px 3px rgba(255, 136, 187, 0.35);
}

.neon-btn:active {
  transform: scale(0.96);
}

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

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

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

.btn-gif--placeholder {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.15));
  border: 2px solid rgba(255, 255, 255, 0.45);
}

.btn-gif--pink {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 200, 230, 0.2));
}

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

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

.guide-finger {
  position: absolute;
  right: 10px;
  bottom: 10px;
  font-size: 20px;
  opacity: 0;
  pointer-events: none;
}

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

@keyframes fingerFade {
  0%, 15% { opacity: 0; }
  50%, 60% { opacity: 1; }
  80%, 100% { opacity: 0; }
}

@keyframes fingerMove {
  0% { transform: translate(20px, 20px); }
  50%, 100% { transform: translate(-30px, -18px); }
}

/* ===== 分类标题 ===== */
.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;
  padding-left: 11px;
}

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

.free-more {
  font-size: 13px;
  color: #bbb;
}

/* ===== 子分类 ===== */
.sub-cats-bar {
  display: flex;
  gap: 10px;
  padding: 8px 12px;
  overflow-x: auto;
  scrollbar-width: none;
  background: var(--dark);
}

.sub-cats-bar::-webkit-scrollbar {
  display: none;
}

.sub-cat {
  flex-shrink: 0;
  padding: 5px 16px;
  border-radius: 16px;
  font-size: 13px;
  color: var(--text-secondary);
  background: var(--card-bg);
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.sub-cat.active {
  color: #fff;
  background: var(--gold);
  font-weight: 600;
}

.sub-cat:active {
  transform: scale(0.95);
}

/* ===== 视频网格（2列，HAR video-row） ===== */
.video-grid {
  padding: 12px;
  background: var(--dark);
}

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

.video-card {
  flex: 1;
  background: var(--card-bg);
  border-radius: 12px;
  cursor: pointer;
  min-width: 0;
}

.video-thumb-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 6px;
  background: linear-gradient(135deg, #2b2b45, #ff6aa8);
}

.video-thumb-container.cover-placeholder,
.video-thumb-container.cover--placeholder {
  background: linear-gradient(135deg, #2b2b45, #ff6aa8);
}

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

.free-badge {
  position: absolute;
  left: 0;
  top: 0;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-radius: 0 0 8px 0;
  z-index: 2;
}

.hot-tag {
  position: absolute;
  top: 0;
  right: 0;
  padding: 1px 6px;
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  border-radius: 0 0 0 8px;
  z-index: 3;
}

.hot-tag.hot {
  background: linear-gradient(135deg, #ff4500, #ff8c00);
}

.hot-tag.new {
  background: linear-gradient(135deg, #00c853, #64dd17);
}

.lock-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 34px;
  height: 34px;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #fff;
  z-index: 2;
}

.bottom-icons {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  padding: 6px 8px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
  font-size: 11px;
  color: #fff;
  z-index: 2;
}

.left-group,
.right-group {
  display: flex;
  align-items: center;
  gap: 3px;
}

.video-info h5 {
  font-size: 12px;
  color: #999;
  font-weight: normal;
  font-style: italic;
  line-height: 1.4;
  padding: 0 2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

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

/* ===== 漫画网格（3列） ===== */
.manga-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 12px;
  background: var(--dark);
}

.manga-card {
  background: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
}

.manga-card:active {
  transform: scale(0.96);
}

.manga-cover-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, #30263f, #7c5cff);
  border-radius: 10px;
}

.manga-cover-wrap.cover-placeholder,
.manga-cover-wrap.cover--placeholder {
  background: linear-gradient(135deg, #30263f, #7c5cff);
}

.manga-cover-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.manga-status {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2px 6px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
  color: #fff;
  font-size: 10px;
  text-align: right;
}

.manga-info {
  padding: 6px 8px;
}

.manga-title {
  font-size: 12px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.manga-meta {
  font-size: 10px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.search-no-result {
  text-align: center;
  padding: 48px 20px;
  color: #666;
  font-size: 14px;
  background: var(--dark);
}

/* ===== 分页 ===== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 12px 12px 20px;
  background: var(--dark);
}

.pagination a,
.pagination button {
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  font-size: 13px;
  color: #bbb;
  background: #2a2a3c;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-family: inherit;
}

.pagination a.on,
.pagination button.on {
  background: linear-gradient(135deg, #ff7e00, #ffaa00);
  color: #fff;
  font-weight: 700;
}

.pagination a:active,
.pagination button:active {
  transform: scale(0.88);
}

/* ===== 底部导航 ===== */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  display: flex;
  background: rgba(30, 30, 40, 0.95);
  border-top: 1px solid rgba(255, 180, 0, 0.15);
  z-index: 9999;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.bottom-nav a {
  flex: 1;
  text-align: center;
  padding: 8px 0 6px;
  font-size: 11px;
  color: #999;
}

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

.bottom-nav-icon {
  display: block;
  width: 22px;
  height: 22px;
  margin: 0 auto 3px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.bottom-nav-icon--home {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23999'%3E%3Cpath d='M3 10.5L12 3l9 7.5V20a1 1 0 01-1 1h-5v-6H9v6H4a1 1 0 01-1-1v-9.5z'/%3E%3C/svg%3E");
}

.bottom-nav a.on .bottom-nav-icon--home {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffb400'%3E%3Cpath d='M3 10.5L12 3l9 7.5V20a1 1 0 01-1 1h-5v-6H9v6H4a1 1 0 01-1-1v-9.5z'/%3E%3C/svg%3E");
}

.bottom-nav-icon--circle {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='3' fill='%23999'/%3E%3C/svg%3E");
}

.bottom-nav a.on .bottom-nav-icon--circle {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffb400' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='3' fill='%23ffb400'/%3E%3C/svg%3E");
}

.bottom-nav-icon--live {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23999'%3E%3Crect x='3' y='6' width='14' height='12' rx='2'/%3E%3Cpath d='M17 10l4-2v8l-4-2' fill='none' stroke='%23999' stroke-width='2'/%3E%3C/svg%3E");
}

.bottom-nav a.on .bottom-nav-icon--live {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffb400'%3E%3Crect x='3' y='6' width='14' height='12' rx='2'/%3E%3Cpath d='M17 10l4-2v8l-4-2' fill='none' stroke='%23ffb400' stroke-width='2'/%3E%3C/svg%3E");
}

.bottom-nav-icon--me {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23999'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 20c0-4 3.6-7 8-7s8 3 8 7' fill='none' stroke='%23999' stroke-width='2'/%3E%3C/svg%3E");
}

.bottom-nav a.on .bottom-nav-icon--me {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffb400'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 20c0-4 3.6-7 8-7s8 3 8 7' fill='none' stroke='%23ffb400' stroke-width='2'/%3E%3C/svg%3E");
}

/* ===== 全屏加载（初始化用，1.5s 内必关） ===== */
.loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  transition: opacity 0.3s ease;
}

.loading-overlay.hide {
  opacity: 0;
  pointer-events: none;
}

/* ===== 切换分类短暂加载 ===== */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 9998;
  display: none;
  align-items: center;
  justify-content: center;
}

.overlay.is-active {
  display: flex;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top-color: #ffb400;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* ===== Toast ===== */
.toast {
  position: fixed;
  left: 50%;
  bottom: 80px;
  transform: translateX(-50%) translateY(16px);
  padding: 10px 18px;
  background: rgba(42, 42, 60, 0.95);
  border-radius: 20px;
  font-size: 13px;
  z-index: 10001;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  max-width: calc(100% - 48px);
  white-space: nowrap;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ===== 弹窗 ===== */
.promo-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.promo-modal.show {
  opacity: 1;
  visibility: visible;
}

.promo-modal__card {
  width: 100%;
  max-width: 340px;
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
}

.promo-modal.show .promo-modal__card {
  transform: scale(1);
}

.promo-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: #f3f4f6;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  color: #6b7280;
  cursor: pointer;
  z-index: 2;
}

.promo-modal__body {
  padding: 20px;
}

.promo-modal__top {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.promo-modal__thumb-wrap {
  width: 100px;
  height: 68px;
  border-radius: 8px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.promo-modal__thumb {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #6366f1, #ec4899);
}

.promo-modal__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  font-size: 14px;
}

.promo-modal__info {
  flex: 1;
  min-width: 0;
}

.promo-modal__title {
  font-size: 14px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 6px;
  line-height: 1.35;
}

.promo-modal__sub {
  font-size: 12px;
  color: #9ca3af;
  margin-bottom: 8px;
}

.promo-modal__meta {
  display: flex;
  gap: 12px;
  font-size: 11px;
  color: #9ca3af;
}

.promo-modal__meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.meta-svg {
  width: 14px;
  height: 14px;
}

.promo-modal__btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.promo-btn {
  display: block;
  width: 100%;
  padding: 14px 0;
  border-radius: 12px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  border: none;
  cursor: pointer;
}

.promo-btn:active {
  transform: scale(0.97);
  opacity: 0.92;
}

.promo-btn--vip {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  box-shadow: 0 10px 15px -3px rgba(251, 191, 36, 0.2);
}

.promo-btn--free {
  background: linear-gradient(135deg, #f43f5e, #ec4899);
  box-shadow: 0 10px 15px -3px rgba(236, 72, 153, 0.2);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.promo-btn--free small {
  font-size: 10px;
  font-weight: 400;
  opacity: 0.85;
}

.promo-modal__code {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.promo-modal__code input {
  flex: 1;
  height: 44px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  text-align: center;
  font-size: 14px;
  outline: none;
}

.promo-modal__code input:focus {
  border-color: #ec4899;
  box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.1);
}

.promo-modal__code button {
  padding: 0 20px;
  height: 44px;
  background: #1f2937;
  border: none;
  border-radius: 24px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.promo-modal__msg {
  font-size: 11px;
  text-align: center;
  margin-top: 6px;
}

.promo-modal__msg.is-error {
  color: #ef4444;
}

.promo-modal__msg.is-success {
  color: #10b981;
}

.promo-modal__notice-wrap {
  height: 23px;
  overflow: hidden;
  background: #f9fafb;
  border-radius: 20px;
  margin-top: 12px;
  position: relative;
}

.promo-modal__notice {
  position: absolute;
  white-space: nowrap;
  font-size: 11px;
  color: #6b7280;
  line-height: 23px;
  animation: noticeScroll 14s linear infinite;
  padding-left: 100%;
}

@keyframes noticeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ===== 360px ===== */
@media (max-width: 360px) {
  .top-nav li {
    padding: 8px 10px;
    font-size: 15px;
  }

  .neon-btn {
    height: 96px;
  }

  .btn-gif {
    width: 48px;
    height: 48px;
  }

  .video-thumb-container {
    aspect-ratio: 16 / 9;
  }

  .manga-grid {
    gap: 8px;
  }
}
