 

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { height: 100%; }

body.vpage {
  overflow: hidden;
 
  color: #10456f;
  line-height: 1.6;
  background: linear-gradient(180deg, #35a9f5 0%, #58c0fb 40%, #8fdcff 100%);
  display: flex;
  flex-direction: column;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; border: 0; }
ul, li { list-style: none; }
button { font-family: inherit; }

/* ---------- 顶部 ---------- */
.vtop {
  position: relative;
  z-index: 5;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 40px;
}

.vback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  /* 返回按钮使用切图（图片自带蓝色水晶圆钮与箭头） */
  background: url('../imgi_2_back.png') no-repeat center / 100% 100%;
 
  transition: transform .25s, box-shadow .25s;
}

.vback:hover { transform: translateX(-3px) scale(1.05);   }

/* 时长统计（居中） */
.vstats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 auto;
}

.vstat {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  background: #fff;
  border: 2px solid #cfe9ff;
  box-shadow: 0 8px 20px rgba(10, 80, 140, .16);
}

.vstat em { font-style: normal; font-size: 14px; font-weight: 700; color: #3f8fd0; white-space: nowrap; }
.vstat strong { font-size: 17px; font-weight: 800; white-space: nowrap; }
.vstat--blue strong { color: #1e8fe0; }
.vstat--green strong { color: #12a06a; }
.vstat--orange strong { color: #f5730a; }

/* 右上角会员按钮（默认隐藏，JS确认非会员后显示） */
.vconf {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 7px 12px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, .92);
  color: #f5730a;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(10, 80, 140, .2);
  transition: transform .25s, box-shadow .25s;
}

.vconf:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(10, 80, 140, .28); }

.vconf__ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd766, #ff9a1f 55%, #f5530a);
  color: #fff;
  font-size: 15px;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5);
}

/* ---------- 主体 ---------- */
.vmain {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  gap: 14px;
  padding: 4px 40px 18px;
  overflow: hidden;
}

/* ---------- 底部备案 ---------- */
.vlicense {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: 0 40px 10px;
  font-size: 12px;
  color: #10456f;
  opacity: .72;
  text-align: center;
}
.vlicense a { text-decoration: underline; }

/* 左侧分类（按钮压在右侧背景框上约1/3） */
.vside {
  position: relative;
  z-index: 3;
  flex: 0 0 190px;
  min-height: 0;
  overflow-y: auto;
  margin-right: -52px;
  padding: 26px 12px 10px 2px;
  overflow-x: hidden;
  scrollbar-width: none;
}

.vside::-webkit-scrollbar { width: 0; height: 0; display: none; }

.vision-tabs { display: flex; flex-direction: column; gap: 14px; }

.vision-tab {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #55bbf7 0%, #2b8fe3 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .3);
  transition: background .25s var(--ease, ease), transform .25s var(--ease, ease);
}

.vision-tab__name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 右上角白色小圆徽章 */
.vision-tab::before {
  content: '\f521';
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: -8px;
  right: -6px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  color: #ffb156;
  font-size: 11px;
}

.vision-tab:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .45); }

.vision-tab.is-active {
  background: linear-gradient(135deg, #ff9a3c 0%, #f56a12 55%, #f5530a 100%);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .35);
  transform: none;
}

.vision-tab.is-active::before { color: #f5530a; }

/* 右侧内容（半透明圆角框） */
.vcontent {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  overflow-y: auto;
  padding: 16px 16px 16px 66px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .22);
  border: 1.5px solid rgba(255, 255, 255, .45);
  box-shadow: inset 0 0 46px rgba(255, 255, 255, .16);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  scrollbar-width: none;
}

.vcontent::-webkit-scrollbar { width: 0; height: 0; display: none; }

.vision-panel { display: none; }
.vision-panel.is-active { display: block; }

/* 二级标签 */
.vision-subtabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }

.vision-subtab {
  padding: 7px 20px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .22);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all .22s var(--ease, ease);
}

.vision-subtab:hover { background: rgba(255, 255, 255, .4); transform: translateY(-2px); }

.vision-subtab.is-active {
  color: #1e8fe0;
  background: #fff;
  border-color: #fff;
  box-shadow: 0 6px 16px rgba(10, 80, 140, .2);
}

.vision-subpanel { display: none; }
.vision-subpanel.is-active { display: block; }

/* 游戏网格 */
.vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  gap: 14px 12px;
}

.vcard { position: relative; cursor: pointer; }

.vcard__thumb {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: visible;
  background: linear-gradient(135deg, #e9f7ff, #c9e9ff);
  box-shadow: 0 6px 14px rgba(9, 70, 125, .22);
  transition: transform .3s cubic-bezier(.2, .9, .3, 1.4), box-shadow .3s;
}

.vcard:hover .vcard__thumb {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 14px 26px rgba(9, 70, 125, .32);
}

.vcard__ph { font-size: 34px; color: #86c8ee; }

.vcard__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  transition: transform .45s var(--ease, ease);
}

.vcard:hover .vcard__img { transform: scale(1.06); }

/* 开始训练按钮（压在缩略图下边） */
.vcard__btn {
  position: absolute;
  left: 50%;
  bottom: -11px;
  transform: translateX(-50%);
  z-index: 2;
  padding: 4px 13px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #fff;
  background: linear-gradient(135deg, #57c9f7, #2b86e0);
  box-shadow: 0 5px 12px rgba(20, 100, 180, .4), inset 0 0 0 1.5px rgba(255, 255, 255, .55);
  white-space: nowrap;
  transition: transform .25s, box-shadow .25s;
}

.vcard:hover .vcard__btn {
  background: linear-gradient(135deg, #ffb156, #f5730a);
  box-shadow: 0 7px 16px rgba(245, 115, 10, .45), inset 0 0 0 1.5px rgba(255, 255, 255, .55);
  transform: translateX(-50%) translateY(-2px);
}

.vcard__name {
  margin-top: 15px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #0f4a7c;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 空状态 */
.vision-empty {
  grid-column: 1 / -1;
  padding: 60px 0;
  text-align: center;
  color: rgba(255, 255, 255, .85);
}

.vision-empty__ico { display: block; font-size: 46px; margin-bottom: 10px; }

/* ---------- 天空白云（缓慢飘动） ---------- */
.vsky {
  position: fixed;
  inset: 0 0 auto 0;
  height: 260px;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.cloud {
  position: absolute;
  display: block;
  width: 96px;
  height: 28px;
  border-radius: 50px;
  background: #fff;
  opacity: .8;
  animation: cloudDrift linear infinite;
}

.cloud::before,
.cloud::after {
  content: '';
  position: absolute;
  background: #fff;
  border-radius: 50%;
}

.cloud::before { width: 38px; height: 38px; top: -16px; left: 20px; }
.cloud::after { width: 26px; height: 26px; top: -10px; right: 18px; }

@keyframes cloudDrift {
  from { transform: translateX(-160px) scale(var(--s, 1)); }
  to { transform: translateX(calc(100vw + 160px)) scale(var(--s, 1)); }
}

.cloud--a { --s: 1.25; top: 26px;  opacity: .95; animation-duration: 58s;  animation-delay: -6s; }
.cloud--b { --s: .85;  top: 74px;  opacity: .7;  animation-duration: 82s;  animation-delay: -30s; }
.cloud--c { --s: 1.05; top: 120px; opacity: .8;  animation-duration: 70s;  animation-delay: -48s; }
.cloud--d { --s: .7;   top: 46px;  opacity: .6;  animation-duration: 96s;  animation-delay: -18s; }
.cloud--e { --s: 1.15; top: 150px; opacity: .55; animation-duration: 110s; animation-delay: -64s; }
.cloud--f { --s: .9;   top: 96px;  opacity: .65; animation-duration: 88s;  animation-delay: -80s; }

/* ---------- 底部装饰云 ---------- */
.vcloud {
  position: fixed;
  z-index: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  pointer-events: none;
}

.vcloud--1 { width: 260px; height: 260px; left: -80px; bottom: -140px; }
.vcloud--2 { width: 190px; height: 190px; left: 42%; bottom: -120px; }
.vcloud--3 { width: 300px; height: 300px; right: -100px; bottom: -170px; }

/* ---------- 竖屏引导 ---------- */
.vrotate {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 32px;
  text-align: center;
  color: #fff;
  background: linear-gradient(180deg, #2f9df0 0%, #58c0fb 50%, #9adcff 100%);
}

.vrotate.is-show { display: flex; }

/* 仅在手机竖屏时自动弹出 */
@media (max-width: 900px) and (orientation: portrait) {
  .vrotate { display: flex; }
  .vrotate.is-hide { display: none !important; }
}

.vrotate__phone {
  position: relative;
  width: 76px;
  height: 126px;
  border: 4px solid #fff;
  border-radius: 14px;
  box-shadow: 0 12px 26px rgba(9, 70, 125, .28);
  animation: vrotateFlip 2.4s ease-in-out infinite;
}

.vrotate__phone::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 7px;
  transform: translateX(-50%);
  width: 26px;
  height: 3px;
  border-radius: 3px;
  background: #fff;
}

@keyframes vrotateFlip {
  0%, 30% { transform: rotate(0deg); }
  65%, 100% { transform: rotate(90deg); }
}

.vrotate h3 { font-size: 20px; font-weight: 800; letter-spacing: 1px; }
.vrotate p { font-size: 13px; opacity: .92; }

.vrotate__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 26px;
  margin-top: 6px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff9a3c, #f5530a);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.vrotate__skip { font-size: 13px; color: rgba(255, 255, 255, .85); text-decoration: underline; }

/* ---------- 游戏弹层 ---------- */
.game-layer {
  position: fixed;
  inset: 0;
  z-index: 2500;
  display: none;
  flex-direction: column;
  background: #0b1526;
}

.game-layer.is-open { display: flex; }

.game-layer__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, .06);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  color: #e7eefc;
}

.game-layer__title { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 800; }
.game-layer__title i { color: #7dd3fc; }

.game-layer__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

.game-layer__timer {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(56, 189, 248, .18);
  color: #7dd3fc;
 
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1px;
}

.game-layer__remain { font-size: 13px; color: #c7d5ee; }
.game-layer__remain.is-low { color: #fca5a5; font-weight: 700; }

.game-layer__btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background .22s, transform .22s;
}

.game-layer__btn:hover { background: rgba(255, 255, 255, .28); transform: translateY(-2px); }
.game-layer__btn--vip { background: linear-gradient(135deg, #ffb156, #f5530a); display: none; }

.game-layer__body { flex: 1 1 auto; min-height: 0; padding: 12px; }
.game-layer__frame { width: 100%; height: 100%; border: 0; border-radius: 18px; background: #fff; }

/* ---------- 响应式 ---------- */
@media (max-width: 992px) {
  .vtop { padding: 12px 14px; }
  .vback { width: 40px; height: 40px; }
  .vstat { height: 42px; padding: 0 16px; }
  .vstat em { font-size: 13px; }
  .vstat strong { font-size: 15px; }
  .vside { flex: 0 0 128px; margin-right: -38px; }
  .vlicense { padding: 0 14px 8px; }
  .vcontent { padding-left: 52px; }
  .vision-tab { padding: 10px 20px 10px 13px; font-size: 14px; }
  .vision-grid { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 12px 10px; }
}

@media (max-width: 767px) {
  .vtop { flex-wrap: wrap; gap: 10px; padding: 10px 12px; }
  .vstats { order: 3; width: 100%; gap: 8px; }
  .vstat { flex: 1 1 calc(50% - 8px); height: 40px; padding: 0 12px; border-radius: 14px; }
  .vstat em { font-size: 12px; }
  .vstat strong { font-size: 14px; }
  .vconf { margin-left: auto; }
  .vmain { padding: 0 10px 12px; gap: 8px; }
  .vside { flex: 0 0 112px; margin-right: -34px; padding-top: 18px; padding-right: 10px; }
  .vlicense { padding: 0 10px 6px; gap: 10px; font-size: 11px; }
  .vcontent { padding: 12px 10px 12px 46px; }
  .vision-tab { padding: 10px 12px; font-size: 12px; letter-spacing: 0; }
  .vision-tab::before { width: 19px; height: 19px; font-size: 10px; top: -7px; right: -5px; }
  .vision-grid { grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 12px 8px; }
  .vcard__name { font-size: 11px; }
  .game-layer__head { padding: 10px 12px; }
  .game-layer__title { font-size: 14px; }
  .game-layer__body { padding: 8px; }
  .game-layer__frame { border-radius: 12px; }
}
