﻿* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  background: #f1f1f1;
  color: #222;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.maomi-page-loading {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  color: #7439ff;
  background: #fff;
  transition: opacity 0.18s ease, visibility 0.18s ease;
}

.maomi-page-loading.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.maomi-page-loading__inner {
  display: grid;
  justify-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 800;
}

.maomi-spinner,
.api-logo.loading::after {
  display: block;
  width: 24px;
  height: 24px;
  border: 3px solid rgba(116, 57, 255, 0.18);
  border-top-color: #7439ff;
  border-radius: 50%;
  content: "";
  animation: maomi-spin 0.78s linear infinite;
}

.api-logo.loading::after {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 18px;
  height: 18px;
  border-width: 2px;
  transform: translate(-50%, -50%);
  animation-name: maomi-spin-centered;
}

.api-logo.loading img {
  opacity: 0;
}

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

@keyframes maomi-spin-centered {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

button {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  font: inherit;
  outline: none;
  touch-action: manipulation;
}

.app {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.install-bar {
  display: grid;
  grid-template-columns: 24px 31px minmax(0, 1fr) 78px;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 6px 9px;
  color: #fff;
  background: #11164b;
}

.close-btn {
  width: 21px;
  height: 21px;
  border-radius: 50%;
  color: #bbc0d8;
  font-weight: 700;
  line-height: 19px;
  background: rgba(255, 255, 255, 0.16);
}

.app-logo {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 7px;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  background:
    radial-gradient(circle at 68% 28%, #ffd1ef 0 10%, transparent 11%),
    linear-gradient(135deg, #e9469d, #8647ff);
}

.install-copy {
  min-width: 0;
  font-size: 10px;
  line-height: 1.3;
}

.install-copy strong,
.install-copy span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.install-copy strong {
  font-size: 13px;
}

.install-btn {
  height: 31px;
  border-radius: 18px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  background: linear-gradient(135deg, #8352ff, #a964ff);
}

.top-nav {
  display: flex;
  align-items: center;
  height: 43px;
  gap: 16px;
  padding: 0 8px;
  border-bottom: 1px solid #eee;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

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

.top-nav button {
  position: relative;
  flex: 0 0 auto;
  height: 43px;
  color: #333;
  font-size: 14px;
}

.top-nav button.active {
  color: #7439ff;
  font-weight: 800;
}

.top-nav button.active::after {
  position: absolute;
  right: 3px;
  bottom: 0;
  left: 3px;
  height: 2px;
  border-radius: 2px;
  background: #7439ff;
  content: "";
}

.search-dot {
  width: 22px;
  color: transparent !important;
}

.search-dot::before {
  position: absolute;
  top: 11px;
  left: 1px;
  width: 17px;
  height: 17px;
  border: 2px solid #7b36ff;
  border-radius: 50%;
  content: "";
}

.search-dot::after {
  position: absolute;
  right: 0;
  bottom: 9px;
  width: 8px;
  height: 2px;
  border-radius: 2px;
  background: #7b36ff;
  content: "";
  transform: rotate(45deg);
}

.menu-btn {
  color: #999 !important;
  font-size: 24px !important;
}

.download-tip {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding: 0 13px;
  color: #7a2cff;
  font-size: 12px;
  background: #fbf4ff;
}

.bell {
  position: relative;
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
  color: #7a2cff;
}

.bell::before {
  position: absolute;
  top: 3px;
  left: 0;
  width: 6px;
  height: 7px;
  border: 1.7px solid currentColor;
  border-right: 0;
  border-radius: 2px 0 0 2px;
  content: "";
}

.bell::after {
  position: absolute;
  top: 1px;
  left: 7px;
  width: 6px;
  height: 10px;
  border: 1.7px solid currentColor;
  border-left: 0;
  border-radius: 0 10px 10px 0;
  content: "";
}

.download-tip p {
  margin: 0;
  white-space: nowrap;
  animation: notice-marquee 12s linear infinite;
  will-change: transform;
}

.notice-marquee {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

@keyframes notice-marquee {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(-100%);
  }
}

.page {
  display: none;
  min-height: calc(100vh - 48px - 52px);
  padding-bottom: 62px;
}

.page.active {
  display: block;
}

.nav-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(10px, 3vw, 18px) clamp(2px, 1.1vw, 10px);
  padding: 10px clamp(3px, 1.4vw, 10px) 62px;
}

.site-item {
  display: block;
  min-width: 0;
  width: 100%;
  padding: 0;
  color: inherit;
  text-decoration: none;
  text-align: center;
}

.site-logo {
  position: relative;
  display: grid;
  width: clamp(49px, 14vw, 68px);
  height: clamp(49px, 14vw, 68px);
  margin: 0 auto 4px;
  place-items: center;
  overflow: hidden;
  border-radius: 6px;
  color: #fff;
  font-size: clamp(10px, 3vw, 14px);
  font-weight: 900;
  line-height: 1.05;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  background: #f2f2f2;
}

.item_img {
  flex: 0 0 auto;
  aspect-ratio: 1 / 1;
}

.mock-logo {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.2), transparent 34%),
    var(--bg);
}

.site-logo img,
.mini-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.logo-text {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  padding: 0 3px;
  overflow: hidden;
  text-align: center;
  pointer-events: none;
}

.mock-logo::before {
  position: absolute;
  top: -13px;
  left: -18px;
  width: 58px;
  height: 20px;
  background: rgba(255, 255, 255, 0.2);
  content: "";
  transform: rotate(-25deg);
}

.site-item .item_app_name {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  color: #555;
  font-size: clamp(10px, 3vw, 14px);
  line-height: 17px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.banner-swiper {
  position: relative;
  height: clamp(132px, 35vw, 184px);
  margin: 0 10px 10px;
  overflow: hidden;
  border-radius: 3px;
  background: #eef2f8;
  touch-action: pan-y;
}

.swiper-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.28s ease;
  will-change: transform;
}

.swiper-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  overflow: hidden;
  color: #fff;
  background: var(--banner-bg);
}

.api-banner {
  display: block;
  text-decoration: none;
}

.banner-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.swiper-slide::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 76% 24%, rgba(255, 255, 255, 0.38) 0 12%, transparent 13%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 42%);
  content: "";
}

.banner-copy {
  position: relative;
  z-index: 1;
  padding: 13px 12px;
  text-align: left;
}

.banner-copy strong {
  display: block;
  color: #0879ff;
  font-size: clamp(28px, 7.4vw, 42px);
  font-weight: 1000;
  line-height: 1.05;
  text-shadow: 2px 2px 0 rgba(255, 255, 255, 0.86);
}

.banner-copy span {
  display: block;
  margin-top: 8px;
  color: #148dff;
  font-size: clamp(19px, 5.4vw, 30px);
  font-weight: 1000;
  line-height: 1.15;
  text-shadow: 2px 2px 0 rgba(255, 255, 255, 0.78);
}

.banner-copy em {
  display: block;
  margin-top: 9px;
  color: #238cff;
  font-size: clamp(13px, 3.8vw, 18px);
  font-style: normal;
  font-weight: 800;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.8);
}

.swiper-dots {
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 5px;
  pointer-events: none;
}

.swiper-dots button {
  width: 6px;
  height: 6px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
}

.swiper-dots button.active {
  width: 14px;
  border-radius: 6px;
  background: #fff;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(11px, 3vw, 18px) clamp(8px, 2.4vw, 16px);
  padding: 10px clamp(10px, 4vw, 22px) 62px;
}

.mini-card {
  display: block;
  min-width: 0;
  width: 100%;
  padding: 0;
  color: inherit;
  text-decoration: none;
  text-align: center;
}

.mini-cover {
  display: grid;
  width: clamp(48px, 13.5vw, 64px);
  height: clamp(48px, 13.5vw, 64px);
  margin: 0 auto 5px;
  place-items: center;
  overflow: hidden;
  border-radius: 5px;
  color: #fff;
  font-size: clamp(10px, 2.8vw, 13px);
  font-weight: 900;
  line-height: 1.1;
  background: #f2f2f2;
}

.mini-card .item_app_name {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  color: #333;
  font-size: clamp(10px, 2.8vw, 13px);
  line-height: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feed-pane {
  display: none;
}

.feed-pane.active {
  display: block;
}

.girlfriend-hero {
  height: clamp(132px, 35vw, 184px);
  margin: 0 10px 10px;
  padding: 24px 25px;
  overflow: hidden;
  border-radius: 5px;
  color: #148dff;
  background:
    radial-gradient(circle at 82% 45%, rgba(255, 255, 255, 0.78) 0 14%, transparent 15%),
    radial-gradient(circle at 70% 35%, rgba(255, 175, 200, 0.68) 0 18%, transparent 19%),
    linear-gradient(135deg, #ffe2ee, #ffc8dd 54%, #fff6fa);
}

.girlfriend-hero strong {
  display: block;
  font-size: clamp(31px, 8.2vw, 45px);
  font-weight: 1000;
  line-height: 1.1;
  text-shadow: 2px 2px 0 rgba(255, 255, 255, 0.9);
}

.girlfriend-hero span {
  display: block;
  margin-top: 7px;
  font-size: clamp(24px, 6.2vw, 34px);
  font-weight: 1000;
  line-height: 1.1;
  text-shadow: 2px 2px 0 rgba(255, 255, 255, 0.85);
}

.girlfriend-hero em {
  display: block;
  margin-top: 10px;
  font-size: clamp(13px, 3.6vw, 18px);
  font-style: normal;
  font-weight: 800;
}

.girlfriend-panel {
  position: relative;
  margin: 8px 9px 0;
  padding: 38px 14px 35px;
  border: 6px solid #ff77b6;
  border-radius: 7px;
  background: #fff;
}

.panel-title {
  position: absolute;
  top: 9px;
  right: 0;
  left: 0;
  color: #9b4b67;
  font-size: clamp(13px, 3.4vw, 16px);
  text-align: center;
}

.girl-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px 15px;
}

.girl-card {
  min-width: 0;
  padding: 0;
}

.girl-photo {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1.18;
  overflow: hidden;
  border-radius: 4px;
  background: var(--girl-bg);
}

.girl-photo::before {
  display: block;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 58% 30%, rgba(255, 255, 255, 0.9) 0 9%, transparent 10%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), transparent 36%),
    var(--girl-bg);
  content: "";
}

.girl-city {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  margin-top: 5px;
  color: #595959;
  font-size: clamp(11px, 3vw, 13px);
  line-height: 1;
  white-space: nowrap;
}

.girl-city::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--dot);
  content: "";
}

.success-strip {
  position: absolute;
  right: 78px;
  bottom: -1px;
  left: 0;
  height: 29px;
  padding-left: 16px;
  border-radius: 0 11px 0 0;
  color: #fff;
  font-size: clamp(13px, 3.5vw, 16px);
  font-weight: 800;
  line-height: 29px;
  background: #f35aa5;
  text-align: left;
}

.girlfriend-panel::after {
  position: absolute;
  right: 8px;
  bottom: -2px;
  color: #ff67b0;
  content: "\2665 \2665";
  font-size: 31px;
  font-weight: 900;
  letter-spacing: -5px;
  transform: rotate(10deg);
}

.reserve-btn {
  display: block;
  width: min(60%, 265px);
  height: 41px;
  margin: 13px auto 0;
  border-radius: 24px;
  color: #fff;
  font-size: clamp(16px, 4.4vw, 19px);
  font-weight: 800;
  background: linear-gradient(90deg, #6f00ff, #9700ff);
}

.reserve-note {
  margin: 13px 12px 72px;
  color: #8a00ff;
  font-size: clamp(12px, 3.2vw, 15px);
  line-height: 1.4;
}

.dark-page {
  min-height: 100vh;
  padding-bottom: 52px;
  background: #050505;
}

.no-top {
  padding-top: 0;
}

.black-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 48px;
  background: #050505;
}

.black-tabs button {
  position: relative;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

.black-tabs button.active::after {
  position: absolute;
  bottom: 6px;
  left: 50%;
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: #7d35ff;
  content: "";
  transform: translateX(-50%);
}

.short-swiper {
  position: relative;
  height: calc(100dvh - 52px);
  min-height: calc(100vh - 52px);
  overflow: hidden;
  background: #050505;
  touch-action: pan-x;
}

.short-track {
  width: 100%;
  height: 100%;
  transition: transform 0.28s ease;
  will-change: transform;
}

.short-slide {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #0a0a0a;
}

.short-ad-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.short-video-ad {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: #050505;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.short-video-ad[data-jump-url] {
  cursor: pointer;
}

.short-video-ad.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.short-video {
  display: block;
  width: 100%;
  height: 100%;
  background: #050505;
  object-fit: contain;
}

.short-link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.short-title {
  position: absolute;
  right: 14px;
  bottom: 62px;
  left: 14px;
  z-index: 2;
  display: block;
  overflow: hidden;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
  text-shadow: 0 2px 7px rgba(0, 0, 0, 0.72);
  pointer-events: none;
}

.short-fallback {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  padding: 24px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  text-align: center;
  background: linear-gradient(135deg, #151515, #8b3cff);
}

.short-next-pill {
  position: absolute;
  top: 12px;
  right: 10px;
  z-index: 4;
  min-width: 34px;
  padding: 4px 10px;
  border-radius: 14px;
  color: #324256;
  font-size: 12px;
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
}

.short-slide.is-video::after {
  position: absolute;
  right: 16px;
  bottom: 22px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.42);
  color: #fff;
  content: "\25b6";
  font-size: 18px;
  line-height: 42px;
  text-align: center;
}

.short-slide:has(.short-video)::after {
  display: none;
}

.poster-ad {
  position: relative;
  display: block;
  min-height: calc(100vh - 48px - 52px);
  padding: 0 8px 14px;
  overflow: hidden;
  color: #fff;
  text-align: center;
  text-decoration: none;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(255, 255, 255, 0.85) 0 18%, rgba(255, 255, 255, 0.55) 19% 31%, transparent 32%),
    linear-gradient(135deg, rgba(0, 148, 255, 0.98), rgba(0, 230, 219, 0.98)),
    repeating-linear-gradient(-18deg, rgba(255, 255, 255, 0.2) 0 14px, transparent 14px 33px);
}

.poster-ad.has-api-image {
  background-color: #050505;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}

.poster-ad.has-api-image > * {
  display: none;
}

.poster-ad.loading::after {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  width: 28px;
  height: 28px;
  border: 3px solid rgba(255, 255, 255, 0.32);
  border-top-color: #9b4cff;
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
  animation: maomi-spin-centered 0.78s linear infinite;
}

.poster-ad.tall {
  min-height: calc(100vh - 52px);
}

.next-pill {
  position: absolute;
  top: 10px;
  right: 8px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 14px;
  color: #3b4c63;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.9);
}

.poster-brand {
  margin: 0 -8px 8px;
  padding: 6px 0 5px;
  color: #fff;
  font-size: clamp(29px, 8vw, 46px);
  font-weight: 1000;
  letter-spacing: 0;
  text-shadow: 3px 3px 0 #0067d7;
  background: #0499ff;
  transform: skewY(-2deg);
}

.poster-player {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: clamp(190px, 54vw, 310px);
  margin-bottom: 0;
}

.ky {
  display: grid;
  width: clamp(66px, 18vw, 96px);
  height: clamp(66px, 18vw, 96px);
  place-items: center;
  border-radius: 8px;
  color: #13b7ff;
  font-size: clamp(38px, 10vw, 56px);
  font-weight: 1000;
  background: #fff;
  box-shadow: 0 8px 0 #0084c5;
  transform: rotate(-10deg);
}

.cup {
  padding: 8px 14px;
  color: #fff;
  font-size: clamp(24px, 6.6vw, 38px);
  font-weight: 1000;
  line-height: 1.1;
  text-shadow: 2px 2px 0 #0059c9;
  background: #f04425;
  clip-path: polygon(12% 0, 100% 0, 90% 100%, 0 100%);
}

.poster-ad h2 {
  margin: 0;
  color: #00b6ff;
  font-size: clamp(47px, 13vw, 76px);
  font-weight: 1000;
  line-height: 1;
  text-shadow: 3px 3px 0 #fff;
}

.poster-ad h3 {
  margin: 7px 0 12px;
  color: #f14324;
  font-size: clamp(43px, 11.8vw, 68px);
  font-weight: 1000;
  line-height: 1.15;
  text-shadow: 3px 3px 0 #fff;
}

.poster-ad p {
  margin: 8px auto;
  padding: 5px 10px;
  border-radius: 22px;
  color: #fff;
  font-size: clamp(34px, 9.3vw, 54px);
  font-weight: 1000;
  line-height: 1;
  background: #09c8e9;
  text-shadow: 2px 2px 0 rgba(0, 110, 185, 0.4);
}

.locked-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 42px 10px 72px;
  filter: blur(7px);
}

.lock-card {
  height: 178px;
  border-radius: 8px;
  background: linear-gradient(135deg, #7751ff, #ff659b);
}

.lock-card:nth-child(2) {
  background: linear-gradient(135deg, #222, #ffc857);
}

.lock-card:nth-child(3) {
  background: linear-gradient(135deg, #20c7a7, #244c99);
}

.lock-card:nth-child(4) {
  background: linear-gradient(135deg, #731a44, #151515);
}

.member-mask {
  position: absolute;
  inset: 48px 0 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  padding: 0 30px;
  color: #fff;
  background: rgba(0, 0, 0, 0.56);
}

.member-mask p {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.65;
}

.member-mask button {
  align-self: center;
  min-width: 165px;
  height: 46px;
  padding: 0 24px;
  border-radius: 25px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, #8c50ff, #cc77ff);
}

.novelty-page {
  min-height: calc(100vh - 48px);
  padding: 0 10px 72px;
  background: #fff;
}

.novelty-page h2 {
  margin: 0 0 8px;
  padding-top: 8px;
  color: #111;
  font-size: 18px;
  line-height: 1.1;
}

.novelty-banner {
  position: relative;
  display: grid;
  min-height: 146px;
  overflow: hidden;
  border-radius: 6px;
  background: #f5f5f8;
  place-items: center;
  touch-action: pan-y;
}

.novelty-banner-slide {
  display: none;
  width: 100%;
  height: 146px;
}

.novelty-banner-slide.active {
  display: block;
}

.novelty-banner-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.novelty-dots {
  position: absolute;
  right: 0;
  bottom: 6px;
  left: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 5px;
  pointer-events: none;
}

.novelty-dots button {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  pointer-events: auto;
}

.novelty-dots button.active {
  width: 13px;
  border-radius: 999px;
  background: #fff;
}

.novelty-member {
  position: static;
  display: block;
  margin: 14px 0 20px;
  padding: 16px 12px 12px;
  border-radius: 8px;
  color: #333;
  background: #f6f6f9;
}

.novelty-member p {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}

.novelty-member button {
  display: block;
  width: 100%;
  min-width: 0;
  height: 40px;
  border-radius: 21px;
  color: #fff;
  font-size: 15px;
  background: linear-gradient(135deg, #a35aff, #bd78ff);
}

.novelty-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 8px;
}

.novelty-card {
  display: grid;
  gap: 8px;
  color: #3b1212;
  font-size: 14px;
  text-align: center;
  text-decoration: none;
}

.novelty-thumb {
  position: relative;
  display: block;
  aspect-ratio: 1.35;
  overflow: hidden;
  border-radius: 6px;
  background: #ececf4;
}

.novelty-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(9px);
  transform: scale(1.04);
}

.mine-page {
  min-height: calc(100vh - 52px);
  padding: 8px 14px 78px;
  background: #f4f5fb;
}

.mine-profile,
.mine-vip-note,
.mine-vip-card,
.mine-banner {
  border-radius: 8px;
}

.mine-profile {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 64px;
  align-items: center;
  gap: 10px;
  padding: 14px 12px;
  background: #f2e7ff;
}

.mine-avatar {
  width: 54px;
  height: 54px;
  border: 3px solid #fff;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 34%, #ffd4b2 0 21%, transparent 22%),
    radial-gradient(circle at 50% 58%, #a54f37 0 30%, transparent 31%),
    linear-gradient(135deg, #1e90ff, #ff8fb9);
}

.mine-user {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.mine-user strong {
  overflow: hidden;
  color: #1b1d2d;
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mine-user span {
  color: #9b7cb2;
  font-size: 12px;
}

.mine-profile button,
.mine-vip-card button {
  height: 30px;
  border-radius: 16px;
  color: #9b45ff;
  font-size: 12px;
  background: #f8edff;
}

.mine-vip-note {
  margin-top: 10px;
  padding: 12px;
  color: #a35aff;
  font-size: 12px;
  background: #f2e3ff;
}

.mine-vip-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 72px;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 12px;
  background: #fff;
}

.vip-medal {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0 34%, #ffca47 35% 54%, #ff8a00 55% 100%);
}

.mine-vip-card strong,
.mine-vip-card span {
  display: block;
}

.mine-vip-card strong {
  color: #1d1d25;
  font-size: 15px;
}

.mine-vip-card span {
  margin-top: 4px;
  color: #999;
  font-size: 12px;
}

.mine-banner {
  margin-top: 10px;
  padding: 8px 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
  background: linear-gradient(100deg, #ff8ed6, #fff0f8 36%, #f5a269);
  text-shadow: 0 1px 0 rgba(128, 0, 100, 0.25);
}

.mine-menu {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px 8px;
  margin-top: 26px;
}

.mine-menu-item {
  display: grid;
  justify-items: center;
  gap: 7px;
  color: #25252d;
  font-size: 12px;
  text-align: center;
  text-decoration: none;
}

.mine-menu-icon {
  position: relative;
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.mine-menu-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bottom-tabs {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  width: 100%;
  max-width: none;
  height: 52px;
  padding-bottom: env(safe-area-inset-bottom);
  margin: 0 auto;
  border-top: 1px solid #ececec;
  background: #fff;
}

.dark-page.active ~ .bottom-tabs,
.bottom-tabs.dark {
  border-color: #242424;
  background: #111;
}

.bottom-tabs button {
  display: grid;
  place-items: center;
  gap: 2px;
  color: #222;
  font-size: 12px;
  font-weight: 700;
}

.bottom-tabs.dark button {
  color: rgba(255, 255, 255, 0.62);
}

.bottom-tabs button.active {
  color: #8a37ff;
}

.tab-icon-img {
  display: block;
  width: 22px;
  height: 22px;
  filter: grayscale(1) opacity(0.46);
  opacity: 1;
}

.bottom-tabs.dark .tab-icon-img {
  filter: grayscale(1) brightness(1.8) opacity(0.58);
}

.tab-icon-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bottom-tabs button.active .tab-icon-img {
  filter: saturate(1.25) drop-shadow(0 0 0 #8a37ff);
  opacity: 1;
}

.cup-player {
  position: fixed;
  right: 12px;
  bottom: 70px;
  z-index: 45;
  width: min(230px, calc(100vw - 24px));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9px;
  background: #111;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28);
  touch-action: none;
  user-select: none;
}

.cup-player.hidden {
  display: none;
}

.cup-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 30px;
  padding: 0 7px 0 10px;
  color: #fff;
  background: linear-gradient(90deg, #7439ff, #a05cff);
  cursor: grab;
}

.cup-title {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 900;
}

.cup-title::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #25ff65;
  box-shadow: 0 0 8px #25ff65;
  content: "";
}

.cup-actions {
  display: flex;
  gap: 4px;
}

.cup-actions button {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  line-height: 24px;
}

.cup-actions button:active {
  background: rgba(255, 255, 255, 0.16);
}

.cup-video {
  aspect-ratio: 16 / 9;
  background: #050505;
}

.cup-video video {
  display: block;
  width: 100%;
  height: 100%;
  background: #050505;
  object-fit: contain;
}

.cup-lines {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  padding: 7px;
  background: rgba(8, 8, 8, 0.96);
}

.cup-lines button {
  height: 24px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.1);
}

.cup-lines button.active {
  color: #fff;
  background: #7439ff;
}

.cup-bubble {
  position: fixed;
  right: 14px;
  bottom: 78px;
  z-index: 45;
  display: none;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.1;
  background: linear-gradient(135deg, #7439ff, #ff4ea3);
  box-shadow: 0 14px 30px rgba(116, 57, 255, 0.34);
  animation: cupPulse 1.6s ease-in-out infinite;
}

.cup-bubble.show {
  display: block;
}

@keyframes cupPulse {
  0%, 100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.06);
  }
}

.ico {
  position: relative;
  display: block;
  width: 17px;
  height: 17px;
  border: 2px solid currentColor;
  border-radius: 5px;
  opacity: 0.55;
}

.bottom-tabs button.active .ico {
  opacity: 1;
  background: transparent;
}

.ico.play {
  border-radius: 50%;
}

.ico.play::after {
  position: absolute;
  top: 4px;
  left: 6px;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid currentColor;
  content: "";
}

.bottom-tabs button.active .ico.play::after {
  border-left-color: currentColor;
}

.ico.camera {
  width: 18px;
  height: 13px;
  margin-top: 2px;
  border-radius: 4px;
}

.ico.camera::after {
  position: absolute;
  top: 2px;
  right: -6px;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid currentColor;
  content: "";
}

.ico.game {
  width: 20px;
  height: 13px;
  margin-top: 3px;
  border-width: 0;
}

.ico.game::before {
  position: absolute;
  inset: 1px 0 0;
  border: 2px solid currentColor;
  border-radius: 9px 9px 7px 7px;
  content: "";
}

.ico.game::after {
  position: absolute;
  top: 6px;
  left: 5px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 7px 0 0 currentColor;
  content: "";
}

.ico.mask {
  border-radius: 50%;
}

.ico.me {
  border-width: 0;
  border-radius: 0;
}

.ico.me::before {
  position: absolute;
  top: 0;
  left: 5px;
  width: 8px;
  height: 8px;
  border: 2px solid currentColor;
  border-radius: 50%;
  content: "";
}

.ico.me::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 9px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 11px 11px 0 0;
  content: "";
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 74px;
  bottom: calc(74px + env(safe-area-inset-bottom));
  z-index: 50;
  padding: 9px 12px;
  border-radius: 8px;
  color: #fff;
  font-size: 13px;
  background: rgba(0, 0, 0, 0.78);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

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

@supports not (height: 100dvh) {
  .app {
    min-height: 100vh;
  }
}

@media (max-width: 360px) {
  .install-bar {
    grid-template-columns: 22px 29px minmax(0, 1fr) 72px;
    gap: 6px;
    padding-right: 7px;
    padding-left: 7px;
  }

  .nav-grid {
    gap: 10px 6px;
    padding-right: 6px;
    padding-left: 6px;
  }

  .site-logo {
    width: clamp(45px, 13.4vw, 49px);
    height: clamp(45px, 13.4vw, 49px);
  }

  .site-item .item_app_name {
    font-size: clamp(10px, 2.95vw, 12px);
  }
}

@media (min-width: 960px) {
  .nav-grid,
  .mini-grid {
    grid-template-columns: repeat(8, 1fr);
  }

  .install-bar,
  .top-nav,
  .download-tip,
  .page {
    max-width: 920px;
    margin-right: auto;
    margin-left: auto;
  }
}


