:root {
  --bg-main: #0b0b0e;
  --bg-elevated: #141419;
  --bg-card: #18181f;
  --bg-pill: #1e1e26;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --gold: #f5c242;
  --gold-bright: #ffd659;
  --gold-deep: #c99318;
  --mint: #5ce1b8;
  --crimson: #ff3b5c;
  --text-main: #f5f5f7;
  --text-muted: #9a9aa6;
  --text-dim: #686875;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

.hg-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 14px;
}

/* ==================== 1. 顶部品牌与搜索栏 (1:1 复刻) ==================== */
.hg-top-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 11, 14, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}

.hg-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
  gap: 12px;
}

.hg-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  flex-shrink: 0;
}

.hg-logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffe680, #f5b924 65%, #c77d0a);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 2px 10px rgba(245, 194, 66, 0.32);
}

.hg-logo-icon::before {
  content: "";
  position: absolute;
  top: -4px;
  right: 6px;
  width: 11px;
  height: 7px;
  background: #4cd964;
  border-radius: 8px 0 8px 0;
  transform: rotate(-18deg);
}

.hg-logo-icon svg {
  width: 16px;
  height: 16px;
  fill: #fff;
  margin-left: 2px;
}

.hg-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.hg-logo-title {
  font-size: 20px;
  font-weight: 900;
  font-style: italic;
  color: var(--gold);
  letter-spacing: 0.5px;
  display: flex;
  align-items: flex-start;
}

.hg-logo-title sup {
  font-size: 10px;
  font-style: normal;
  color: var(--gold-bright);
  margin-left: 2px;
  font-weight: 800;
}

.hg-logo-domain {
  font-size: 11px;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.3px;
  opacity: 0.92;
}

.hg-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  justify-content: flex-end;
}

.hg-lang-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-pill);
  border: 1px solid var(--border-subtle);
  color: #e5e5ea;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}

.hg-lang-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.hg-search-box {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--bg-pill);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  height: 36px;
  padding: 0 13px;
  width: 170px;
  max-width: 280px;
  transition: width 0.25s, border-color 0.2s;
}

@media (min-width: 768px) {
  .hg-search-box {
    width: 260px;
  }
}

.hg-search-box:focus-within {
  border-color: rgba(245, 194, 66, 0.6);
}

.hg-search-box svg {
  width: 15px;
  height: 15px;
  stroke: var(--text-muted);
  margin-right: 7px;
  flex-shrink: 0;
}

.hg-search-box input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-main);
  font-size: 13.5px;
  width: 100%;
}

.hg-search-box input::placeholder {
  color: var(--text-muted);
}

.hg-user-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--bg-pill);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
}

.hg-user-btn.is-vip {
  background: linear-gradient(135deg, rgba(245, 194, 66, 0.22), rgba(201, 147, 24, 0.12));
  border-color: rgba(245, 194, 66, 0.5);
  color: var(--gold);
}

.hg-user-btn svg {
  width: 20px;
  height: 20px;
}

/* ==================== 2. 主导航分类栏 ==================== */
.hg-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 46px;
  overflow-x: auto;
  scrollbar-width: none;
  gap: 6px;
}

.hg-nav-bar::-webkit-scrollbar {
  display: none;
}

.hg-nav-item {
  position: relative;
  padding: 0 14px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s;
}

.hg-nav-item:hover {
  color: #fff;
}

.hg-nav-item.active {
  color: var(--gold);
  font-weight: 800;
  font-size: 17px;
}

.hg-nav-item.active::after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 3.5px;
  border-radius: 4px;
  background: var(--gold);
}

/* ==================== 3. 3D 露边轮播大图 ==================== */
.hg-hero-section {
  position: relative;
  margin-top: 12px;
  overflow: hidden;
}

.hg-carousel-viewport {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 8.2;
  max-height: 420px;
  background: #141419;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
}

.hg-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
  cursor: pointer;
}

.hg-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hg-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hg-slide-badge {
  position: absolute;
  top: 12px;
  right: 14px;
  background: rgba(15, 15, 20, 0.72);
  backdrop-filter: blur(6px);
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.hg-slide-caption {
  position: absolute;
  left: 18px;
  bottom: 16px;
  right: 140px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
}

.hg-slide-sub {
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 4px;
}

.hg-slide-title {
  color: #ffffff;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.5px;
}

.hg-carousel-dots {
  position: absolute;
  right: 16px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 5;
}

.hg-dot {
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.42);
  transition: all 0.25s;
  cursor: pointer;
}

.hg-dot.active {
  width: 18px;
  background: #ffffff;
}

/* ==================== 4. 公告跑马灯 (1:1 复刻) ==================== */
.hg-notice-bar {
  margin-top: 12px;
  background: #17171d;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  height: 42px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
}

.hg-notice-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13.5px;
  font-weight: 700;
  color: #e5e5ea;
  flex-shrink: 0;
}

.hg-notice-label svg {
  width: 16px;
  height: 16px;
  stroke: var(--gold);
}

.hg-notice-track {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  font-size: 13.5px;
  color: #d1d1d8;
  display: flex;
  align-items: center;
  gap: 18px;
}

.hg-notice-link {
  color: var(--gold);
  font-weight: 700;
  cursor: pointer;
  margin-left: 4px;
}

.hg-notice-link:hover {
  text-decoration: underline;
}

/* ==================== 5. 热门标签横向胶囊栏 ==================== */
.hg-section {
  margin-top: 22px;
}

.hg-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
}

.hg-section-title {
  font-size: 19px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.3px;
}

.hg-more-btn {
  background: var(--bg-pill);
  border: 1px solid var(--border-subtle);
  color: #d1d1d6;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  transition: all 0.2s;
}

.hg-more-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.hg-tags-scroll {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.hg-tags-scroll::-webkit-scrollbar {
  display: none;
}

.hg-tag-pill {
  padding: 8px 20px;
  border-radius: 999px;
  background: #191920;
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: #d8d8df;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s;
}

.hg-tag-pill:hover,
.hg-tag-pill.active {
  background: linear-gradient(135deg, #f5c242, #d4981a);
  color: #111115;
  border-color: transparent;
  font-weight: 800;
}

/* ==================== 6. 短剧海报网格 (H5双列 / PC多列自适应) ==================== */
.hg-drama-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

@media (min-width: 640px) {
  .hg-drama-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (min-width: 960px) {
  .hg-drama-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }
}

@media (min-width: 1200px) {
  .hg-drama-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
  }
}

.hg-card {
  background: var(--bg-card);
  border-radius: 13px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  display: flex;
  flex-direction: column;
}

.hg-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 194, 66, 0.45);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
}

.hg-card-poster {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4.05;
  background: #101015;
  overflow: hidden;
}

.hg-card-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.hg-card:hover .hg-card-poster img {
  transform: scale(1.04);
}

/* 左上角双拼胶囊标签（原创 + 新片，1:1 复刻截图） */
.hg-card-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  z-index: 2;
}

.hg-badge-l {
  background: var(--gold);
  color: #141418;
  font-size: 12px;
  font-weight: 800;
  padding: 3px 9px 3px 11px;
}

.hg-badge-r {
  background: var(--mint);
  color: #0d261f;
  font-size: 12px;
  font-weight: 800;
  padding: 3px 11px 3px 8px;
}

/* 右上角评分角标 (9.0分) */
.hg-card-score {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(12, 12, 16, 0.78);
  backdrop-filter: blur(4px);
  color: var(--gold);
  font-size: 12.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  z-index: 2;
}

.hg-card-foot-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px 10px 8px;
  background: linear-gradient(to top, rgba(6, 6, 10, 0.94), rgba(6, 6, 10, 0));
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.86);
}

.hg-card-body {
  padding: 10px 11px 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.hg-card-title {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hg-card-sub {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==================== 7. 右下角悬浮挂件 (下载APP / 最近浏览 / 回到顶部 1:1 复刻) ==================== */
.hg-float-dock {
  position: fixed;
  right: 14px;
  bottom: 24px;
  z-index: 95;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.hg-float-app-card {
  position: relative;
  width: 82px;
  background: rgba(32, 32, 40, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 10px 6px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
  cursor: pointer;
}

.hg-float-app-close {
  position: absolute;
  top: 3px;
  right: 5px;
  font-size: 13px;
  color: #a0a0ab;
  line-height: 1;
  padding: 2px;
}

.hg-float-app-icon {
  width: 44px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(145deg, #ffe57f, #f5b025);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  transform: rotate(-8deg);
  box-shadow: 0 4px 12px rgba(245, 194, 66, 0.35);
  color: #141418;
  font-weight: 900;
  font-size: 20px;
}

.hg-float-app-pill {
  background: var(--gold);
  color: #141418;
  font-size: 11.5px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

.hg-float-history-btn {
  width: 68px;
  height: 62px;
  border-radius: 12px;
  background: var(--gold);
  color: #141418;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(245, 194, 66, 0.32);
}

.hg-float-top-btn {
  width: 68px;
  height: 58px;
  border-radius: 12px;
  background: rgba(42, 42, 52, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #d8d8e0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 12px;
  font-weight: 600;
}

/* ==================== 8. 沉浸式短剧播放与选集页 ==================== */
.hg-player-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 8, 12, 0.97);
  overflow-y: auto;
  display: none;
}

.hg-player-modal.open {
  display: block;
}

.hg-player-topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(14, 14, 19, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hg-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-pill);
  border: 1px solid var(--border-subtle);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
}

.hg-player-layout {
  max-width: 1240px;
  margin: 18px auto 40px;
  padding: 0 14px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 960px) {
  .hg-player-layout {
    grid-template-columns: 1.35fr 1fr;
    align-items: start;
  }
}

.hg-video-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9.5;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.7);
}

.hg-video-stage video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

/* 剧集未解锁时的 VIP / 金币付费遮罩墙 */
.hg-paywall-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 10, 18, 0.88), rgba(10, 8, 15, 0.97));
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 22px;
  text-align: center;
  z-index: 15;
}

.hg-paywall-lock {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(245, 194, 66, 0.16);
  border: 1.5px solid var(--gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 12px;
}

.hg-paywall-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.hg-btn-gold {
  background: linear-gradient(135deg, #ffe066, #f5b82e);
  color: #141418;
  font-weight: 800;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 999px;
  box-shadow: 0 4px 15px rgba(245, 194, 66, 0.35);
}

.hg-btn-crimson {
  background: linear-gradient(135deg, #ff4b72, #d91b42);
  color: #ffffff;
  font-weight: 800;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 999px;
  box-shadow: 0 4px 15px rgba(255, 59, 92, 0.35);
}

.hg-btn-outline {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-weight: 700;
  font-size: 13.5px;
  padding: 9px 18px;
  border-radius: 999px;
}

/* 选集面板 */
.hg-ep-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 16px;
}

.hg-ep-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
  gap: 8px;
  margin-top: 12px;
  max-height: 320px;
  overflow-y: auto;
}

.hg-ep-btn {
  position: relative;
  height: 44px;
  border-radius: 9px;
  background: #22222b;
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: #e5e5ea;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hg-ep-btn.active {
  background: linear-gradient(135deg, #f5c242, #d4981a);
  color: #141418;
  border-color: transparent;
  font-weight: 900;
}

.hg-ep-tag {
  position: absolute;
  top: 2px;
  right: 3px;
  font-size: 9.5px;
  padding: 1px 4px;
  border-radius: 4px;
  line-height: 1.1;
}

.hg-ep-tag.free {
  background: rgba(92, 225, 184, 0.2);
  color: var(--mint);
}

.hg-ep-tag.lock {
  background: rgba(245, 194, 66, 0.2);
  color: var(--gold);
}

/* ==================== 9. 通用弹窗 (个人中心 / VIP开通 / 分享赚佣金 / 最近浏览) ==================== */
.hg-dialog-mask {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.hg-dialog-mask.open {
  display: flex;
}

.hg-dialog-card {
  width: 100%;
  max-width: 580px;
  max-height: 88vh;
  overflow-y: auto;
  background: #17171f;
  border: 1px solid rgba(245, 194, 66, 0.32);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.8);
}

.hg-plan-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.hg-plan-box {
  position: relative;
  background: #20202a;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.hg-plan-box:hover,
.hg-plan-box.active {
  border-color: var(--gold);
  background: rgba(245, 194, 66, 0.1);
}

.hg-plan-badge {
  position: absolute;
  top: -1px;
  right: -1px;
  background: var(--gold);
  color: #141418;
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 0 11px 0 8px;
}

/* ==================== 10. 黑金流光通行证、链上收银台与佣金提现样式 ==================== */
.hg-dialog-card.hg-passport-card {
  max-width: 440px;
  border-radius: 20px;
  background: radial-gradient(circle at top right, rgba(245, 194, 66, 0.12), transparent 52%), linear-gradient(180deg, #1a1820 0%, #111116 100%);
  border: 1px solid rgba(245, 194, 66, 0.38);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(245, 194, 66, 0.08) inset;
  padding: 24px;
}

.hg-passport-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hg-passport-logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ffe680, #d4981a);
  color: #141418;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 900;
  box-shadow: 0 4px 14px rgba(245, 194, 66, 0.35);
  flex-shrink: 0;
}

.hg-seg-pills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 4px;
}

.hg-seg-pill {
  height: 36px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: #b7b7c6;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.hg-seg-pill.active {
  background: linear-gradient(135deg, #ffe27a, #e5aa2b);
  color: #141418;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(245, 194, 66, 0.28);
}

.hg-google-btn {
  width: 100%;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hg-google-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(245, 194, 66, 0.45);
}

.hg-google-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hg-divider-line {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 12px;
  margin: 14px 0;
}

.hg-divider-line::before,
.hg-divider-line::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.hg-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.hg-dark-input {
  width: 100%;
  height: 42px;
  background: #21212b;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 11px;
  padding: 0 13px;
  color: #ffffff;
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.2s;
}

.hg-dark-input:focus {
  border-color: var(--gold);
}

.hg-eye-btn {
  position: absolute;
  right: 10px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 6px;
}

.hg-btn-champagne {
  width: 100%;
  height: 44px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #ffe588 0%, #f5c242 50%, #d49617 100%);
  color: #141418;
  font-size: 14.5px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(245, 194, 66, 0.35);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.hg-btn-champagne:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(245, 194, 66, 0.48);
}

.hg-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hg-chip-btn {
  padding: 7px 14px;
  border-radius: 999px;
  background: #22222d;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #d6d6e2;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s ease;
}

.hg-chip-btn.active {
  background: rgba(245, 194, 66, 0.16);
  border-color: var(--gold);
  color: var(--gold);
}

.hg-pay-card {
  margin-top: 14px;
  background: #1d1d27;
  border: 1px solid rgba(245, 194, 66, 0.25);
  border-radius: 14px;
  padding: 14px;
}

.hg-order-qr-box {
  margin-top: 14px;
  background: #14141c;
  border: 1px solid rgba(92, 225, 184, 0.35);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.hg-wd-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
  max-height: 180px;
  overflow-y: auto;
}

.hg-wd-item {
  background: #1c1c25;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
}
