﻿@charset "UTF-8";
/* ============================================================
   前台样式：品牌头部 / 轮播 / 公告 / Logo 横滑 / 分类 / 卡片 / 底部导航
   尺寸、圆角、间距均对齐参考站（1180px 容器、70px 头部、3 列卡片）
   ============================================================ */

/* ---------------------------- 页面骨架 ---------------------------- */
.front-body {
  padding-bottom: calc(var(--nav-height) + 24px);
  overflow-x: hidden;
}

.page-shell {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 300;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  background: var(--accent);
  color: #fff;
  transition: top var(--duration-control) var(--ease-standard);
}

.skip-link:focus {
  top: 12px;
}

/* ---------------------------- 轮播 ---------------------------- */
.carousel {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto 10px;
}

.carousel-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1280 / 548;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: var(--surface-strong);
  box-shadow: none;
}

.slides {
  position: absolute;
  inset: 0;
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0 7%;
  background: var(--slide-bg, linear-gradient(120deg, #dcc6f4, #f3d9c4));
  background-size: cover;
  background-position: center;
  color: var(--slide-ink, #2f1f45);
  opacity: 0;
  visibility: hidden;
  transform: scale(1.01);
  transition: opacity 0.7s var(--ease-standard),
              transform 0.9s var(--ease-standard),
              visibility 0.7s;
}

.slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

/* 有上传图片时用背景图覆盖渐变 */
.slide.has-image {
  background-size: cover;
  background-position: center;
}

/* 纯图片轮播：去掉文字遮罩 */
.slide.has-image::after {
  display: none;
}

/* ===================== 主题背景装饰（对齐目标站 arcade 主题） ===================== */
/* 页面底色对齐目标站 arcade 主题：淡紫渐变，去掉原来的彩色光晕 */
.front-body {
  background: linear-gradient(180deg, #f9f5fc 0%, #f0e9f7 100%);
  background-attachment: fixed;
}

.front-body .bg-decor {
  display: none;
}

/* 页面级：左上 / 右下角平台艺术图 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    url("../img/theme/platform-tl.webp") left top / min(50%, 300px) auto no-repeat,
    url("../img/theme/platform-br.webp") right bottom / min(47%, 280px) auto no-repeat;
  opacity: .5;
}

/* 卡片级：分类艺术角标（低透明度叠在卡片上） */
.card,
.kx-brand-header,
.logo-strip,
.notice-bar,
.ng-media-card,
.ng-trial-card {
  position: relative;
}

.card::before,
.kx-brand-header::before,
.logo-strip::before,
.notice-bar::before,
.ng-media-card::before,
.ng-trial-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    url("../img/theme/category-tl.webp") left top / min(50%, 150px) auto no-repeat,
    url("../img/theme/category-br.webp") right bottom / min(47%, 140px) auto no-repeat;
  opacity: .19;
}

/* 品牌头角标更小更淡（对齐目标站 .15 / 120px） */
.kx-brand-header::before {
  background-size: 120px auto, 110px auto;
  opacity: .15;
}

/* 保证卡片内容压在角标之上 */
.card > *,
.logo-strip > *,
.notice-bar > *,
.ng-media-card > *,
.ng-trial-card > * {
  position: relative;
  z-index: 1;
}

/* 品牌头（1:1 对齐目标站首页顶部） */
.kx-brand-header {
  position: relative;
  width: 100%;
  min-height: 70px;
  margin: max(12px, env(safe-area-inset-top, 0px)) auto 12px;
  border: 1px solid #e4eaf2;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(24, 35, 55, .05), 0 14px 38px rgba(24, 35, 55, .09), inset 0 1px rgba(255, 255, 255, .4);
  overflow: hidden;
  z-index: 1;
}

/* 卡片底部渐变装饰线 */
.kx-brand-header::after {
  content: "";
  position: absolute;
  inset: auto 16px 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-2, #68a4ff), transparent);
  opacity: .65;
  pointer-events: none;
}

.kx-brand-header__row {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 68px;
  padding: 7px 18px;
}

/* 头部动态渐变氛围层（1:1 对齐目标站 ng-motion-header） */
.kx-motion-header {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  overflow: hidden;
  pointer-events: none;
}

.kx-motion-header::before {
  content: "";
  position: absolute;
  inset: -40%;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 25% 50%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 65%),
    radial-gradient(ellipse at 80% 60%, color-mix(in srgb, var(--accent-2, #68a4ff) 10%, transparent), transparent 62%);
  animation: kx-header-light 18s ease-in-out infinite alternate;
}

@keyframes kx-header-light {
  from { transform: translate3d(-3%, 0, 0); opacity: .65; }
  to   { transform: translate3d(3%, 2%, 0); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .kx-motion-header::before { animation: none; }
}

.kx-brand {
  flex: 1 1 auto;
  min-width: 0;
  text-decoration: none;
  display: flex;
  align-items: center;
}

/* 目标站 Logo：固定高度、左对齐、contain */
.kx-brand-logo {
  display: block;
  width: min(252px, 100%);
  max-width: 252px;
  height: 49px;
  object-fit: contain;
  object-position: left center;
}

.kx-brand-name {
  font-size: 18px;
  font-weight: 700;
  color: #182337;
}

@media (max-width: 720px) {
  .kx-brand-logo {
    width: min(189px, 100%);
    max-width: 189px;
    height: 36px;
  }
}

/* 右侧会员入口按钮 */
.kx-member-entry {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  min-width: 106px;
  min-height: 44px;
  padding: 5px 12px 5px 7px;
  border: 1px solid #dbe4f2;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  text-decoration: none;
  transition: transform .15s ease;
}

.kx-member-entry::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-2, #68a4ff), transparent);
  opacity: .72;
  pointer-events: none;
}

.kx-member-entry:active {
  transform: scale(.97);
}

.kx-member-visual {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
}

.kx-member-visual img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .18));
}

.kx-member-badge {
  display: block;
  max-width: 112px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
  color: #182337;
}

@media (max-width: 720px) {
  .kx-brand-header {
    min-height: 58px;
    margin-top: max(10px, env(safe-area-inset-top, 0px));
    border-radius: 20px;
  }
  .kx-brand-header__row {
    min-height: 56px;
    padding: 6px 12px;
    gap: 10px;
  }
  .kx-member-entry {
    min-width: 92px;
    min-height: 40px;
    padding-inline: 10px;
  }
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.15) 46%, rgba(255, 255, 255, 0) 72%);
  pointer-events: none;
}

.slide-inner {
  position: relative;
  z-index: 2;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.slide-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.8);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  backdrop-filter: blur(6px);
}

.slide-title {
  font-size: clamp(24px, 3.2vw, 38px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: 0.5px;
  color: var(--slide-ink, #2f1f45);
  text-shadow: 0 2px 16px rgba(255, 255, 255, 0.28);
}

.slide-sub {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.82;
  color: var(--slide-ink, #2f1f45);
}

.slide-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  background: linear-gradient(125deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(var(--accent-rgb), 0.26);
}

.slide-cta::after {
  content: "→";
  font-size: 14px;
}

.slide-glow {
  position: absolute;
  right: -6%;
  top: -18%;
  width: 42%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0) 68%);
  filter: blur(6px);
  pointer-events: none;
  z-index: 1;
}

/* 指示点 */
.dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 6px;
  transform: translateX(-50%);
}

.dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 1px 4px rgba(38, 24, 55, 0.22);
  transition: width var(--duration-control) var(--ease-standard),
              background-color var(--duration-control) var(--ease-standard);
}

.dot.is-active {
  width: 24px;
  background: #fff;
}

/* ---------------------------- 公告 ---------------------------- */
.notice-bar {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  margin: 10px 0 4px;
  padding: 7px 16px 7px 43px;
  min-height: 44px;
  overflow: hidden;
  border: 1px solid #e1d4ea;
  border-radius: 16px;
  background: #fffdfd;
}

/* 左侧指示圆点（参考站：8px 圆点 + 10% 光晕） */
.notice-bar::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 17px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(var(--accent-rgb), 0.1);
  transform: translateY(-50%);
  pointer-events: none;
}

/* 圆点与文字之间的竖向细分隔线 */
.notice-bar::after {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 32px;
  width: 1px;
  border-radius: 99px;
  background: linear-gradient(180deg, transparent, rgba(var(--accent-rgb), 0.25), transparent);
  pointer-events: none;
}

.notice-viewport {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}

.notice-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: noticeMarquee 34s linear infinite;
  will-change: transform;
}

.notice-viewport:hover .notice-track {
  animation-play-state: paused;
}

.notice-item {
  position: relative;
  padding-right: 46px;
  font-size: 14px;
  font-weight: 700;
  color: #3b2a49;
  white-space: nowrap;
}

.notice-item::after {
  content: "";
  position: absolute;
  right: 23px;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), 0.4);
  transform: translateY(-50%);
}

@keyframes noticeMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------------------------- Logo 横滑 ---------------------------- */
.logo-strip {
  margin: max(12px, env(safe-area-inset-top, 0px)) 0 2px;
}

.logo-viewport {
  max-width: 100%;
  padding: 5px 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}

.logo-viewport::-webkit-scrollbar {
  display: none;
}

.logo-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 14px;
  padding: 3px 14px 3px 0;
  animation: logoMarquee 38s linear infinite;
  will-change: transform;
}

.logo-viewport:hover .logo-track {
  animation-play-state: paused;
}

/* 圆形平台 logo：64px 白底描边，参考站同款 */
.logo-chip {
  display: block;
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  padding: 3px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  -webkit-tap-highlight-color: transparent;
  transition: border-color var(--duration-control) var(--ease-standard),
              transform var(--duration-control) var(--ease-standard);
}

.logo-chip:hover {
  border-color: rgba(var(--accent-rgb), 0.55);
  transform: translateY(-2px);
}

.logo-chip__mark {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 50%;
}

.logo-chip__mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

@keyframes logoMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------------------------- 分区标题 ---------------------------- */
.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 22px 0 14px;
  text-align: center;
}

.section-head h2 {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0 0 12px;
  color: var(--ink-strong);
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
  text-align: center;
}

.section-head h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(96px, 42%);
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-2), transparent);
  transform: translateX(-50%);
}

/* ---------------------------- 卡片网格 ---------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 6px;
}

.card {
  position: relative;
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) 90px;
  grid-template-areas: "avatar meta cta";
  align-items: center;
  gap: 13px;
  min-width: 0;
  min-height: 112px;
  padding: 16px;
  border: 1px solid #e1d4ea;
  border-radius: 20px;
  background: #fffdfd;
  box-shadow: inset 0 0 0 2px #f5f1f6, 0 4px 18px rgba(0, 0, 0, 0.043);
  transition: transform var(--duration-panel) var(--ease-standard),
              box-shadow var(--duration-panel) var(--ease-standard),
              border-color var(--duration-panel) var(--ease-standard);
}

.card:hover {
  border-color: rgba(var(--accent-rgb), 0.42);
  box-shadow: var(--shadow-accent);
  transform: translateY(-3px);
}

.card:active {
  transform: translateY(-1px) scale(0.995);
}

.card-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 2;
  padding: 2px 8px;
  border-radius: 6px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0;
  box-shadow: 0 4px 10px rgba(31, 36, 48, 0.16);
}

.card-badge--hot { background: linear-gradient(120deg, #d91f3e 0%, #f33f32 45%, #ff8b20 100%); }
.card-badge--recommend { background: var(--accent); }
.card-badge--new { background: #16828a; }

.avatar {
  grid-area: avatar;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  overflow: hidden;
  border: 2px solid rgba(125, 163, 238, 0.48);
  border-radius: 50%;
  background: #f5f7fa;
  object-fit: cover;
}

.avatar--letter {
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0;
}

.card .meta {
  grid-area: meta;
  min-width: 0;
}

.card .title {
  display: block;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--ink-strong);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card .desc {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card .go {
  grid-area: cta;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  min-height: 34px;
  padding: 2px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--accent);
  color: #fff9ed;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color var(--duration-control) var(--ease-standard),
              color var(--duration-control) var(--ease-standard),
              border-color var(--duration-control) var(--ease-standard);
}

.card:hover .go {
  border-color: var(--accent-2);
  background: var(--accent-2);
  color: #fff9ed;
}

/* 卡片滚动渐显（脚本可用时才生效，避免无 JS 时内容不可见） */
.js-reveal .card {
  opacity: 0;
  transform: translateY(10px);
}

.js-reveal .card.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.45s var(--ease-standard),
              transform 0.45s var(--ease-standard),
              border-color var(--duration-panel) var(--ease-standard),
              box-shadow var(--duration-panel) var(--ease-standard);
}

.js-reveal .card.is-visible:hover {
  transform: translateY(-3px);
}

/* 空状态 */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 56px 20px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.6);
  text-align: center;
}

.empty-state strong {
  font-size: 16px;
  color: var(--ink);
}

.empty-state p {
  font-size: 13px;
  color: var(--muted);
}

.empty-state a {
  margin-top: 6px;
  color: var(--accent);
  font-weight: 700;
}

/* ---------------------------- 页脚 ---------------------------- */
.site-foot {
  margin: 28px auto 8px;
  padding: 0 14px;
  text-align: center;
  font-size: 12px;
  color: rgba(108, 88, 123, 0.8);
}

/* ---------------------------- 底部导航 ---------------------------- */
.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
  width: min(100%, var(--content-max));
  height: calc(74px + env(safe-area-inset-bottom, 0px));
  padding: 0 max(10px, env(safe-area-inset-right, 0px)) env(safe-area-inset-bottom, 0px) max(10px, env(safe-area-inset-left, 0px));
  transform: translateX(-50%);
  isolation: isolate;
}

/* 悬浮白条：参考站实测 46px 高 / 圆角 22 / 底色 #FFF8FD / 描边 #E1D4EA
   图标与紫色底座会越过白条上沿，形成「图标坐在条子上」的层次 */
.bottom-nav::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  height: calc(46px + env(safe-area-inset-bottom, 0px));
  border: 1px solid #e1d4ea;
  border-radius: 22px;
  background: #fff8fd;
  box-shadow: 0 6px 20px rgba(60, 30, 90, 0.08);
  pointer-events: none;
}

/* 宽屏时抬离屏幕底边（参考站为悬浮条，四角全圆） */
@media (min-width: 900px) {
  .bottom-nav {
    bottom: 12px;
  }
}

.bottom-nav__item {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 2px;
  min-width: 0;
  padding: 0 4px;
  border-radius: 18px;
  color: #3b2a49;
  transition: color var(--duration-control) var(--ease-standard);
}

.bottom-nav__item:hover {
  color: var(--accent);
}

/* 图标：参考站为彩色 3D 立体图形，坐在一枚紫色椭圆底座上（无方块底板） */
.bottom-nav__icon {
  position: relative;
  z-index: 1;
  display: block;
  width: 46px;
  height: 38px;
  overflow: visible;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Segoe UI Symbol", sans-serif;
  font-size: 30px;
  font-style: normal;
  line-height: 34px;
  text-align: center;
  filter: drop-shadow(0 5px 8px rgba(84, 44, 130, 0.22));
  transition: transform var(--duration-control) var(--ease-standard);
}

/* 紫色椭圆底座（占据图标脚下，压在白条上沿） */
.bottom-nav__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  z-index: -1;
  width: 52px;
  height: 15px;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 45%, rgba(126, 74, 176, 0.62) 0%, rgba(126, 74, 176, 0.42) 48%, rgba(126, 74, 176, 0) 78%);
  transform: translateX(-50%);
  pointer-events: none;
}

.bottom-nav__icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.8;
}

.bottom-nav__item:hover .bottom-nav__icon {
  transform: translateY(-2px);
}

/* 文字标签：纯文字，11px 深墨色（参考站实测 #3B2A49） */
.bottom-nav__label {
  position: relative;
  z-index: 2;
  min-width: 42px;
  max-width: 100%;
  margin-top: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #3b2a49;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color var(--duration-control) var(--ease-standard);
}

.bottom-nav__item.is-active {
  color: var(--accent);
}

.bottom-nav__item.is-active .bottom-nav__icon {
  filter: drop-shadow(0 7px 12px rgba(84, 44, 130, 0.32)) saturate(1.12) brightness(1.04);
}

/* 选中项标签：紫色文字（参考站实测 #7450A0），不是胶囊 */
.bottom-nav__item.is-active .bottom-nav__label {
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #7450a0;
  box-shadow: none;
}

/* ---------------------------- 弹窗公告 ---------------------------- */
.popup-notice {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
}

.popup-notice[hidden] {
  display: none;
}

.popup-notice__mask {
  position: absolute;
  inset: 0;
  background: rgba(43, 24, 60, 0.45);
}

.popup-notice__panel {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  padding: 26px 24px 22px;
  border: 1px solid #e1d4ea;
  border-radius: 20px;
  background: #fffdfd;
  box-shadow: 0 18px 50px rgba(60, 30, 90, 0.25);
  text-align: center;
  animation: popup-notice-in 0.28s var(--ease-standard);
}

@keyframes popup-notice-in {
  from { opacity: 0; transform: translateY(14px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

.popup-notice__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f2eaf7;
  color: #6b5477;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background var(--duration-control) var(--ease-standard),
              color var(--duration-control) var(--ease-standard);
}

.popup-notice__close:hover {
  background: var(--accent);
  color: #fff;
}

.popup-notice__title {
  margin: 0 0 12px;
  color: var(--ink-strong);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.4;
}

.popup-notice__list {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  color: #3b2a49;
  font-size: 14px;
  line-height: 1.7;
  text-align: left;
}

.popup-notice__list li {
  padding: 6px 2px;
  border-bottom: 1px dashed #e8ddef;
}

.popup-notice__list li:last-child {
  border-bottom: 0;
}

.popup-notice__ok {
  min-width: 132px;
  padding: 9px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: filter var(--duration-control) var(--ease-standard);
}

.popup-notice__ok:hover {
  filter: brightness(1.08);
}

/* 参考站 769~900px：卡片改成 2 列（保留横向排布，保证文字可读） */
@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------------------------- 响应式：平板 / 手机 ----------------------------
   ≤768px 一排 4 个，卡片采用纵向紧凑排版 */
@media (max-width: 768px) {
  .page-shell {
    padding: 0 10px;
  }

  .card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .card {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    grid-template-areas: "avatar" "meta" "cta";
    justify-items: center;
    gap: 5px;
    min-height: 122px;
    padding: 8px 5px 6px;
    border-radius: 12px;
  }

  .card .avatar {
    width: 44px;
    height: 44px;
  }

  .avatar--letter {
    font-size: 16px;
  }

  .card .meta {
    width: 100%;
    text-align: center;
  }

  .card .title {
    font-size: 13px;
  }

  .card .desc {
    display: none;
  }

  .card .go {
    width: 100%;
    min-width: 0;
    min-height: 32px;
    margin: 0;
    padding: 3px;
    border-radius: 8px;
    font-size: 10px;
  }

  .card-badge {
    top: 3px;
    right: 3px;
    padding: 1px 5px;
    font-size: 9px;
  }

  /* Logo 条变成带描边的圆角容器，圆形 logo 缩到 48px */
  .logo-strip {
    padding: 6px 4px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.65);
  }

  .logo-viewport {
    padding: 1px 0;
    mask-image: linear-gradient(90deg, transparent, #000 10px, #000 calc(100% - 10px), transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10px, #000 calc(100% - 10px), transparent);
  }

  .logo-track {
    gap: 12px;
    padding: 3px 6px;
  }

  .logo-chip {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
    padding: 1px;
    border-color: transparent;
    background: transparent;
  }

  /* 公告条紧凑 */
  .notice-bar {
    min-height: 40px;
    padding: 6px 12px 6px 36px;
  }

  .notice-bar::before {
    left: 14px;
  }

  .notice-bar::after {
    left: 27px;
  }

  .notice-item {
    padding-right: 36px;
    font-size: 13px;
  }

  .notice-item::after {
    right: 18px;
  }

  .section-head {
    margin: 18px 0 14px;
  }
}

/* ---------------------------- 响应式：手机 ---------------------------- */
@media (max-width: 720px) {
  .carousel-wrap {
    border-radius: 14px;
  }

  .slide {
    padding: 0 8%;
  }

  .slide-title {
    font-size: clamp(20px, 5.6vw, 28px);
  }

  .slide-sub {
    display: none;
  }

  .slide-cta {
    padding: 7px 14px;
    font-size: 12px;
  }

  .slide-kicker {
    font-size: 11px;
    padding: 3px 9px;
  }

  .dots {
    bottom: 10px;
  }

  .section-head {
    margin: 18px 0 12px;
  }
}

/* ==================================================================
   栏目页（发现 fuli.php / 试玩 game.php）1:1 对齐目标站
   ================================================================== */

/* 品牌头部（栏目页专用） */
.ng-brand-header {
  position: relative;
  isolation: isolate;
  display: block;
  width: min(var(--content-max), calc(100% - 28px));
  min-height: 70px;
  margin: max(12px, env(safe-area-inset-top, 0px)) auto 12px;
  overflow: hidden;
  border: 1px solid #e1d4ea;
  border-radius: 16px;
  background: #fffdfd;
  box-shadow: inset 0 0 0 2px #f5f1f6, 0 4px 18px rgba(0, 0, 0, 0.043);
  z-index: 20;
}

.ng-brand-header__row {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 68px;
  padding: 7px 20px;
}

.ng-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.ng-brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 1px;
  box-shadow: 0 8px 20px rgba(var(--accent-rgb), 0.28);
}

.ng-brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25;
}

.ng-brand-name {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--ink-strong);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ng-brand-sub {
  margin-top: 3px;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 会员入口（头部右侧） */
.ng-member-entry {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 131px;
  min-height: 44px;
  padding: 4px 10px 4px 6px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  box-shadow: inset 0 0 0 2px #f7f2f9, 0 5px 16px rgba(58, 34, 78, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.ng-member-entry:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 0 0 2px #f7f2f9, 0 9px 24px rgba(58, 34, 78, 0.13);
}

.ng-member-entry__visual {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
}

.ng-member-entry__visual img {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.ng-member-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  min-height: 26px;
  padding: 0 8px;
  border-radius: 9px;
  background: linear-gradient(125deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

/* 客服浮标（白底胶囊） */
.ng-support-chat {
  position: fixed;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  z-index: 96;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 130px;
  height: 52px;
  padding: 5px 13px 5px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(58, 34, 78, 0.17);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.ng-support-chat:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(58, 34, 78, 0.22);
}

.ng-support-launcher__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
}

.ng-support-launcher__icon img {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.ng-support-launcher__label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-strong);
  white-space: nowrap;
}

/* 栏目页骨架 */
.ng-hub-shell {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 20px;
}

.ng-hub-section {
  margin: 20px 0 30px;
}

.ng-hub-section-head {
  margin: 24px 0 14px;
  text-align: center;
}

.ng-hub-section-head h2 {
  position: relative;
  display: inline-block;
  margin: 0;
  padding-bottom: 10px;
  color: var(--ink-strong);
  font-size: 24px;
  line-height: 1.35;
}

.ng-hub-section-head h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 38px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: translateX(-50%);
}

/* 发现页 · 互动中心 2 列竖排卡 */
.ng-discover-shell .ng-hub-section:first-of-type {
  margin-top: 8px;
}

.ng-disc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ng-disc-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 126px;
  padding: 16px 12px 14px;
  overflow: hidden;
  border: 1px solid #f0e7f5;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(58, 34, 78, 0.05);
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.ng-disc-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(130px 70px at 10% 0%, rgba(var(--accent-rgb), 0.06), transparent 72%),
    radial-gradient(150px 80px at 96% 100%, rgba(255, 173, 200, 0.09), transparent 72%);
  pointer-events: none;
}

.ng-disc-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(58, 34, 78, 0.10);
}

.ng-disc-card__icon {
  display: block;
  width: 56px;
  height: 56px;
  margin-bottom: 8px;
}

.ng-disc-card__icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}

.ng-disc-card__copy h3 {
  margin: 0;
  color: var(--ink-strong);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}

.ng-disc-card__copy p {
  margin: 4px 0 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 发现页 · 影音娱乐整行卡 */
.ng-media-list {
  display: grid;
  gap: 12px;
}

.ng-media-card {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 104px;
  padding: 14px;
  overflow: hidden;
  border: 1px solid #f0e7f5;
  border-radius: 18px;
  background:
    radial-gradient(160px 110px at 100% 0%, rgba(255, 173, 200, 0.16), transparent 72%),
    radial-gradient(150px 120px at 0% 100%, rgba(var(--accent-rgb), 0.07), transparent 74%),
    #fff;
  box-shadow: 0 8px 24px rgba(58, 34, 78, 0.055);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.ng-media-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(90px 60px at 92% 88%, rgba(154, 99, 242, 0.10), transparent 70%);
  pointer-events: none;
}

.ng-media-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(58, 34, 78, 0.10);
}

.ng-media-card__icon {
  width: 44px;
  height: 44px;
  overflow: hidden;
  border: 1px solid #f0e7f5;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(58, 34, 78, 0.08);
}

.ng-media-card__icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ng-media-card__copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.ng-media-card__copy h3 {
  margin: 0;
  color: var(--ink-strong);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}

.ng-media-card__copy p {
  margin: 4px 0 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ng-media-card__badge {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 2;
  padding: 1px 7px;
  border: 1px solid #ffb3c6;
  border-radius: 7px;
  background: #fff2f5;
  color: #f43f5e;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.6;
}

/* 页标题 */
.ng-page-title {
  margin: 4px 0 2px;
  text-align: center;
}

.ng-page-title h1 {
  margin: 0;
  color: var(--ink-strong);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 1px;
}

.ng-page-title h1::after {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  margin: 9px auto 0;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.ng-page-title p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
}

/* 试玩大厅 · 主分类 Tab */
.ng-trial-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 6px;
  margin: 16px 0 2px;
  padding: 6px;
  border: 1px solid #eee4f4;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 28px rgba(58, 34, 78, 0.06);
}

.ng-trial-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  min-height: 64px;
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: 13px;
  color: var(--muted);
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.ng-trial-tab:hover {
  color: var(--ink-strong);
  background: rgba(var(--accent-rgb), 0.06);
}

.ng-trial-tab:active {
  transform: scale(0.98);
}

.ng-trial-tab.is-active {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  background: linear-gradient(135deg, var(--accent), #9a63f2);
  box-shadow: 0 10px 23px rgba(var(--accent-rgb), 0.22);
}

.ng-trial-tab__icon {
  display: inline-flex;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
}

.ng-trial-tab__icon svg {
  width: 100%;
  height: 100%;
}

.ng-trial-tab__copy {
  display: grid;
  gap: 2px;
  min-width: 0;
  text-align: left;
}

.ng-trial-tab__copy strong {
  font-size: 14px;
  font-weight: 700;
}

.ng-trial-tab__copy small {
  overflow: hidden;
  font-size: 9px;
  opacity: 0.72;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 试玩大厅 · 节标题 */
.ng-trial-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin: 0 2px 13px;
}

.ng-trial-head span {
  display: block;
  color: var(--accent);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.ng-trial-head h2 {
  margin: 4px 0 0;
  color: var(--ink-strong);
  font-size: 22px;
}

.ng-trial-head p {
  margin: 0 0 2px;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

/* 试玩大厅 · 平台大卡 */
.ng-trial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.ng-trial-card {
  position: relative;
  isolation: isolate;
  display: block;
  min-height: 152px;
  overflow: hidden;
  border: 1px solid #eee4f4;
  border-radius: 22px;
  background:
    radial-gradient(130px 110px at 96% 14%, rgba(154, 99, 242, 0.16), transparent 72%),
    radial-gradient(150px 120px at 86% 92%, rgba(255, 173, 200, 0.18), transparent 74%),
    linear-gradient(112deg, #fff 0%, #fff 44%, #f7effc 68%, #fdf3f8 100%);
  box-shadow: 0 15px 38px rgba(58, 34, 78, 0.10);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.ng-trial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(58, 34, 78, 0.16);
}

.ng-trial-card:active {
  transform: scale(0.985);
}

.ng-trial-card__watermark {
  position: absolute;
  right: 2%;
  bottom: -16%;
  z-index: 1;
  color: rgba(154, 99, 242, 0.16);
  font-size: 124px;
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
}

.ng-trial-card__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 64%;
  height: 100%;
  min-width: 0;
  padding: 14px;
  text-align: center;
}

.ng-trial-card__copy h3 {
  margin: 0;
  overflow: hidden;
  color: var(--ink-strong);
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ng-trial-card__copy p {
  margin: 5px 0 0;
  max-width: 100%;
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ng-trial-card__copy em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  min-height: 32px;
  margin-top: 9px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #9a63f2);
  color: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(var(--accent-rgb), 0.26);
}

.ng-trial-card__badge {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 3;
  padding: 1px 8px;
  border: 1px solid rgba(var(--accent-rgb), 0.28);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.6;
}

/* 栏目页响应式 */
@media (min-width: 721px) {
  .ng-disc-card {
    min-height: 148px;
  }

  .ng-disc-card__icon {
    width: 68px;
    height: 68px;
    margin-bottom: 10px;
  }

  .ng-disc-card__copy h3 {
    font-size: 17px;
  }

  .ng-disc-card__copy p {
    font-size: 12px;
  }

  .ng-media-card {
    gap: 16px;
    min-height: 112px;
    padding: 18px 22px;
  }

  .ng-media-card__icon {
    width: 52px;
    height: 52px;
  }

  .ng-media-card__copy h3 {
    font-size: 17px;
  }

  .ng-media-card__copy p {
    font-size: 12px;
  }

  .ng-trial-grid {
    gap: 14px;
  }

  .ng-trial-card {
    min-height: 238px;
  }

  .ng-trial-card__copy {
    width: 60%;
    padding: clamp(28px, 4.2vw, 52px);
  }

  .ng-trial-card__copy h3 {
    font-size: clamp(28px, 4.2vw, 42px);
  }

  .ng-trial-card__copy p {
    font-size: 12px;
  }

  .ng-trial-card__copy em {
    min-width: 122px;
    min-height: 44px;
    margin-top: clamp(18px, 2.5vw, 29px);
    padding: 0 21px;
    font-size: 15px;
  }

  .ng-trial-card__watermark {
    font-size: 200px;
  }
}

@media (max-width: 720px) {
  .ng-hub-shell {
    padding: 0 14px;
  }

  .ng-support-chat {
    right: 12px;
    bottom: calc(84px + env(safe-area-inset-bottom, 0px));
    min-width: 118px;
    height: 48px;
    padding: 4px 11px 4px 4px;
  }

  .ng-support-launcher__icon,
  .ng-support-launcher__icon img {
    width: 36px;
    height: 36px;
  }

  .ng-support-launcher__icon {
    flex-basis: 36px;
  }

  .ng-member-entry {
    min-width: 0;
    padding: 4px 8px 4px 5px;
  }

  .ng-member-badge {
    min-width: 0;
    padding: 0 7px;
    font-size: 11px;
  }

  .ng-brand-header {
    width: calc(100% - 24px);
    min-height: 58px;
    border-radius: 20px;
  }

  .ng-brand-header__row {
    min-height: 56px;
    padding: 6px 12px;
    gap: 10px;
  }

  .ng-brand-mark {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    border-radius: 12px;
    font-size: 17px;
  }

  .ng-brand-name {
    font-size: 16px;
  }

  .ng-brand-sub {
    font-size: 11px;
  }
}

@media (max-width: 600px) {
  .ng-gamehall-shell > .ng-page-title {
    display: none;
  }

  .ng-gamehall-shell .ng-trial-tabs {
    margin-top: 4px;
  }
}

@media (max-width: 480px) {
  .ng-brand {
    gap: 8px;
  }

  .ng-brand-sub {
    display: none;
  }

  .ng-brand-mark {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    border-radius: 10px;
    font-size: 15px;
  }

  .ng-brand-name {
    font-size: 15px;
  }

  .ng-member-entry {
    gap: 4px;
    min-width: 0;
    padding: 3px 6px 3px 4px;
    border-radius: 12px;
  }

  .ng-member-entry__visual,
  .ng-member-entry__visual img {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }

  .ng-member-badge {
    min-height: 24px;
    min-width: 0;
    padding: 0 6px;
    font-size: 10px;
  }

  .ng-trial-tab {
    min-height: 54px;
    padding: 8px 6px;
    gap: 6px;
  }

  .ng-trial-tab__icon {
    width: 20px;
    height: 20px;
  }

  .ng-trial-tab__copy strong {
    font-size: 13px;
  }

  .ng-trial-tab__copy small {
    display: none;
  }

  .ng-trial-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .ng-trial-head h2 {
    font-size: 20px;
  }
}
