* { box-sizing: border-box; margin: 0; padding: 0; }
html, body, #app { height: 100%; }
body {
  background: linear-gradient(180deg, #2b1235 0%, #1a0a22 35%, #0d0610 100%);
  color: #e0d4e0;
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', sans-serif;
  -webkit-tap-highlight-color: transparent;
}
#app { max-width: 500px; margin: 0 auto; position: relative; min-height: 100%; }

.loading-screen {
  position: fixed; inset: 0; display: flex; align-items: center; justify-content: center;
  background: #1a0a22;
}
.spinner {
  width: 36px; height: 36px; border: 3px solid rgba(255,99,159,.2);
  border-top-color: #ff639f; border-radius: 50%; animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.page { min-height: 100vh; padding-bottom: 72px; }
.page__header {
  padding: 14px 12px 10px; text-align: center;
  background: url(/static/images/light-bg.webp) top center/100% no-repeat;
}
.page__header img {
  max-width: 72%; height: auto; max-height: 52px; object-fit: contain; display: block; margin: 0 auto;
}
.page__banner { padding: 10px 10px 6px; }
.page__notice {
  margin: 8px 10px 6px; padding: 0 12px 0 10px; height: 38px;
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.08); border-radius: 19px;
  color: #c9b8cc; font-size: 13px; overflow: hidden;
}
.page__notice-icon {
  width: 18px; height: 18px; flex-shrink: 0; object-fit: contain;
}
.page__notice-text {
  flex: 1; overflow: hidden; white-space: nowrap;
  animation: marquee 18s linear infinite;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.page__main { padding: 4px 8px 16px; display: flex; flex-direction: column; align-items: center; }

.banner-swipe {
  border-radius: 10px; overflow: hidden; position: relative;
  height: 172px; width: 100%; background: #2a1a30;
}
.banner-swipe__track { display: flex; height: 100%; transition: transform .45s ease; }
.banner-swipe__item { flex: 0 0 100%; height: 100%; cursor: pointer; }
.banner-swipe__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.banner-dots {
  position: absolute; bottom: 10px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px;
}
.banner-dots span {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,.45); transition: all .2s;
}
.banner-dots span.active { background: #fff; width: 14px; border-radius: 3px; }

.column { margin-bottom: 14px; width: 100%; padding: 0 2px; }
.column__title {
  color: #f5d76e; font-size: 15px; font-weight: 800;
  margin-bottom: 10px; text-align: left; padding-left: 2px;
}

.column__list--1 { display: flex; flex-direction: column; gap: 8px; }
.card-one {
  display: flex; align-items: center; gap: 12px; padding: 12px;
  border-radius: 8px; background: rgba(55,55,55,.85); border: 1px solid #5a5a5a; cursor: pointer;
}
.card-one__icon { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; flex-shrink: 0; background: #2a2a2a; }
.card-one__info { flex: 1; min-width: 0; }
.card-one__title { color: #fff; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-one__btn {
  margin-top: 8px; display: inline-flex; align-items: center; justify-content: center;
  min-width: 72px; height: 28px; padding: 0 12px; border-radius: 14px;
  background: linear-gradient(90deg, #5b8cff 0%, #7b5cff 100%); color: #fff;
  font-size: 12px; font-weight: 600;
}

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

.card-two-app {
  height: 65px; border-radius: 12px; display: flex; align-items: center;
  padding: 5px; background: #373737; cursor: pointer; min-width: 0;
}
.card-two-app__img {
  width: 56px; height: 56px; border-radius: 10px; object-fit: cover; flex-shrink: 0; background: #2a2a2a;
}
.card-two-app__title {
  flex: 1; margin-left: 8px; color: #fff; font-size: 13px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0;
}
.card-two-app__btn {
  width: 34px; height: 34px; border-radius: 8px; flex-shrink: 0;
  background: linear-gradient(135deg, #ff9a3c 0%, #ff6b00 100%);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 14px; font-weight: 700;
}

.card-two-extra {
  border-radius: 12px; background: #373737; overflow: hidden; cursor: pointer; margin-bottom: 8px;
}
.card-two-extra__img-wrap { position: relative; }
.card-two-extra__img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; background: #2a2a2a; }
.card-two-extra__mark {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 6px 8px;
  display: flex; gap: 6px; background: linear-gradient(0deg, rgba(0,0,0,.75), transparent);
}
.card-two-extra__tag {
  color: #fff; font-size: 10px; font-weight: 600; border-radius: 10px;
  padding: 2px 6px; background: rgba(0,0,0,.45); display: flex; align-items: center; gap: 2px;
}
.card-two-extra__tag img { width: 10px; height: 10px; }
.card-two-extra__info { padding: 8px 10px 10px; color: #fff; }
.card-two-extra__title { font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.card-two-extra__meta { font-size: 11px; color: #ccc; font-weight: 400; }
.card-two-extra__row { font-size: 11px; color: #ddd; margin-top: 3px; }
.card-two-extra__row .label { color: #b0a3b4; }
.card-two-extra__action {
  margin-top: 8px; height: 28px; border-radius: 14px;
  background: linear-gradient(90deg, #4facfe 0%, #6a5cff 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600;
}

.column__list--3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 5px; }
.card-three { cursor: pointer; min-width: 0; }
.card-three__inner {
  background: #373737; border-radius: 12px; overflow: hidden; position: relative;
}
.card-three__live {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  background: #f36c7e; color: #fff; font-size: 10px; font-weight: 700;
  padding: 2px 6px; border-radius: 4px;
}
.card-three__image { position: relative; width: 100%; }
.card-three__image img {
  width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; background: #2a2230;
}
.card-three__mark {
  position: absolute; bottom: 4px; left: 0; right: 0; height: 36px;
  background: linear-gradient(0deg, rgba(0,0,0,.75), transparent);
  display: flex; align-items: flex-end; justify-content: flex-end; padding: 4px 8px;
}
.card-three__online {
  color: #fff; font-size: 10px; font-weight: 600; border-radius: 10px;
  padding: 2px 6px; background: rgba(0,0,0,.5);
}
.card-three__online span { color: #4cfe53; }
.card-three__enter {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: linear-gradient(90deg, #4facfe 0%, #6a5cff 100%);
  color: #fff; font-size: 10px; font-weight: 600; padding: 4px 10px; border-radius: 12px;
  white-space: nowrap; opacity: .92;
}
.card-three__info { padding: 6px 8px 8px; color: #fff; }
.card-three__title {
  font-size: 11px; font-weight: 700; display: flex; align-items: center;
  justify-content: space-between; gap: 4px;
}
.card-three__loc {
  flex-shrink: 0; color: #ffdce2; font-size: 9px; display: flex; align-items: center; gap: 2px;
}
.card-three__loc img { width: 10px; height: 10px; }

.column__list--4 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 6px; }
.card-short { position: relative; cursor: pointer; border-radius: 12px; overflow: hidden; }
.card-short__img {
  width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; background: #2a2230;
}
.card-short__mark {
  position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.8) 0%, transparent 45%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 8px;
}
.card-short__online {
  color: #fff; font-size: 10px; font-weight: 600; align-self: flex-end;
  background: rgba(0,0,0,.45); padding: 2px 6px; border-radius: 10px; margin-bottom: 4px;
}
.card-short__online span { color: #4cfe53; }
.card-short__title {
  color: #fff; font-size: 12px; font-weight: 700;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.column__list--5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px 6px; }
.column__list--5 .col-item { min-width: 0; }

.card-five {
  display: flex; flex-direction: column; align-items: center; cursor: pointer;
}
.card-five__icon {
  width: 62px; height: 62px; border-radius: 8px; object-fit: cover;
  background: #2a2230; border: 1px solid rgba(255,255,255,.06);
}
.card-five__name {
  width: 100%; text-align: center; color: #d8cdd8; font-size: 11px;
  margin-top: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.card-five__btn {
  min-width: 58px; max-width: 100%; padding: 0 6px; margin-top: 5px;
  height: 22px; font-size: 10px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; white-space: nowrap;
  background: linear-gradient(90deg, #4facfe 0%, #6a5cff 55%, #8b5cf6 100%);
  box-shadow: 0 2px 6px rgba(79, 172, 254, .25);
}
.card-five__btn.is-date {
  background: linear-gradient(90deg, #4facfe 0%, #00c6ff 100%);
}

.empty-tip { text-align: center; color: #b0a3b4; padding: 48px 16px; font-size: 14px; }

.tabbar {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 500px; height: 56px;
  background: rgba(22, 16, 20, .96); backdrop-filter: blur(8px);
  display: flex; border-top: 1px solid rgba(255,255,255,.06); z-index: 100;
}
.tabbar__item {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; cursor: pointer; color: #a9b0b4; font-size: 11px; border: 0; background: none;
}
.tabbar__item.active { color: #ff639f; }
.tabbar__item img { width: 26px; height: 26px; object-fit: contain; }
