/*
 * v88 · 皇家质感对齐层
 * 仅调整视觉、尺寸和按压反馈；不改环球包网品牌、业务结构及任何接口逻辑。
 */
:root {
  --r88-page: #10142f;
  --r88-page-deep: #090d23;
  --r88-purple: #291054;
  --r88-purple-soft: rgba(111, 57, 176, .20);
  --r88-blue-soft: rgba(45, 76, 170, .20);
  --r88-white: #fff;
  --r88-muted: #cecdd9;
  --r88-line: rgba(255, 255, 255, .08);
  --r88-glass: linear-gradient(175deg, rgba(64, 47, 71, .12), rgba(28, 4, 40, .12));
  --r88-active: linear-gradient(175deg, rgba(252, 245, 255, .15), rgba(33, 22, 39, .14));
}

html,
body {
  background: #151e34 !important;
  color: var(--r88-white) !important;
}

html body .phone-shell,
html body .phone-shell .app-view,
html body .phone-shell .home-view,
html body .phone-shell .activity-view,
html body .phone-shell .mine-view,
html body .phone-shell .detail-overlay {
  background:
    radial-gradient(circle at 92% 3%, rgba(121, 34, 166, .30), transparent 25%),
    radial-gradient(circle at 5% 30%, rgba(45, 77, 187, .24), transparent 31%),
    radial-gradient(circle at 82% 73%, rgba(94, 32, 146, .16), transparent 34%),
    linear-gradient(180deg, #151039 0%, #111432 40%, #0b1028 72%, #080c20 100%) !important;
}

html body .phone-shell {
  width: min(100%, 428px) !important;
  max-width: 428px !important;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .025), 0 24px 80px rgba(3, 7, 22, .62) !important;
}

html body .phone-shell .home-view::before {
  opacity: .18 !important;
  filter: hue-rotate(18deg) saturate(1.32) brightness(.56) contrast(1.06) !important;
  mix-blend-mode: screen !important;
}

html body .phone-shell .home-view::after {
  background:
    radial-gradient(circle at 82% 8%, rgba(136, 48, 184, .13), transparent 24%),
    radial-gradient(circle at 9% 43%, rgba(55, 76, 180, .11), transparent 30%),
    linear-gradient(180deg, transparent 0 58%, rgba(5, 8, 23, .48) 100%) !important;
}

/* 顶栏：皇家 50px 比例，保留环球包网标识和真实余额。 */
html body .phone-shell .topbar {
  height: 50px !important;
  min-height: 50px !important;
  padding: 0 10px !important;
  border: 0 !important;
  background:
    radial-gradient(circle at 85% -35%, rgba(151, 55, 194, .34), transparent 42%),
    linear-gradient(90deg, rgba(18, 16, 54, .97), rgba(38, 13, 69, .91)) !important;
  box-shadow: none !important;
  backdrop-filter: blur(18px) saturate(1.18) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.18) !important;
}

html body .phone-shell .brand {
  height: 50px !important;
  gap: 5px !important;
}

html body .phone-shell .brand-emblem {
  width: 36px !important;
  height: 36px !important;
  filter: drop-shadow(0 3px 7px rgba(0, 0, 0, .46)) !important;
}

html body .phone-shell .brand-emblem img {
  width: 100% !important;
  height: 100% !important;
  filter: none !important;
}

html body .phone-shell .brand-copy {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

html body .phone-shell .brand-copy strong {
  color: transparent !important;
  font-family: "STKaiti", "Kaiti SC", "Songti SC", "PingFang SC", serif !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  line-height: 18px !important;
  letter-spacing: 1.2px !important;
  background: linear-gradient(180deg, #fff6c9 0%, #f3cf67 52%, #bd7e24 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  text-shadow: none !important;
}

html body .phone-shell .brand-copy small {
  display: block !important;
  margin-top: 2px !important;
  color: rgba(243, 214, 133, .74) !important;
  font-size: 5.5px !important;
  font-weight: 700 !important;
  line-height: 6px !important;
  letter-spacing: 1.15px !important;
}

html body .phone-shell .wallet-area {
  gap: 5px !important;
}

html body .phone-shell .wallet-bar {
  height: 36px !important;
  padding: 0 4px 0 5px !important;
  border: 1px solid var(--r88-line) !important;
  border-radius: 20px !important;
  background: var(--r88-glass) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .085) !important;
  backdrop-filter: blur(18px) saturate(1.2) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.2) !important;
}

html body .phone-shell .balance {
  min-width: 62px !important;
  height: 30px !important;
  padding: 0 4px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-shadow: 0 2px 6px rgba(0, 0, 0, .48) !important;
}

html body .phone-shell .balance .coin {
  width: 27px !important;
  height: 27px !important;
  border: 1px solid rgba(255, 255, 255, .18) !important;
  background: radial-gradient(circle at 32% 24%, #c5fff2, #3eae9a 43%, #17675c 100%) !important;
  color: #fff !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, .42), 0 3px 8px rgba(0, 0, 0, .34) !important;
}

html body .phone-shell .refresh {
  width: 23px !important;
  height: 23px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: rgba(255, 255, 255, .82) !important;
}

html body .phone-shell .recharge-top {
  height: 30px !important;
  min-width: 44px !important;
  padding: 0 9px !important;
  border: 1px solid rgba(255, 236, 177, .22) !important;
  border-radius: 17px !important;
  background: var(--r88-active) !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07) !important;
}

html body .phone-shell .quick-plus {
  width: 34px !important;
  height: 34px !important;
  border: 1px solid var(--r88-line) !important;
  border-radius: 50% !important;
  background: var(--r88-glass) !important;
  color: #fff !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .10) !important;
}

/* 首页首屏节奏：轮播 176px、快捷入口 82px、分类 36px，与参考页一致。 */
html body .phone-shell .home-content {
  padding: 9px 0 108px 16px !important;
  background: transparent !important;
}

html body .phone-shell .hero {
  width: 400px !important;
  height: 203px !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body .phone-shell .carousel {
  width: 400px !important;
  height: 176px !important;
  margin: 0 !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: #0a0a13 !important;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .34) !important;
}

html body .phone-shell .slide,
html body .phone-shell .clean-banner-slide {
  flex: 0 0 400px !important;
  width: 400px !important;
  height: 176px !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}

html body .phone-shell .slide::after,
html body .phone-shell .clean-banner-slide::after {
  display: block !important;
  background: linear-gradient(118deg, transparent 18%, rgba(255, 255, 255, .075) 43%, transparent 58%) !important;
}

html body .phone-shell .carousel-dots {
  top: 187px !important;
  bottom: auto !important;
  height: 5px !important;
  gap: 5px !important;
}

html body .phone-shell .carousel-dots span {
  width: 18px !important;
  height: 3px !important;
  border-radius: 3px !important;
  background: rgba(255, 255, 255, .18) !important;
}

html body .phone-shell .carousel-dots span.active {
  background: linear-gradient(90deg, #7c4cdc, #c982ee) !important;
  box-shadow: 0 0 7px rgba(166, 90, 230, .54) !important;
}

/* 公告保留真实功能，但收进轮播底部，不再额外撑高首屏。 */
html body .phone-shell .notice {
  z-index: 4 !important;
  width: 400px !important;
  height: 22px !important;
  margin: -31px 0 9px !important;
  padding: 0 8px !important;
  border: 0 !important;
  border-radius: 11px !important;
  background: rgba(6, 7, 23, .44) !important;
  color: rgba(255, 255, 255, .76) !important;
  font-size: 9px !important;
  box-shadow: none !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}

html body .phone-shell .notice button {
  border: 0 !important;
  background: transparent !important;
  color: #fff !important;
  box-shadow: none !important;
}

html body .phone-shell .quick-grid {
  width: 412px !important;
  height: 82px !important;
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 0 !important;
  margin: 0 0 7px !important;
  padding: 0 18px 11px 2px !important;
  border: 0 !important;
  border-radius: 3px !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html body .phone-shell .quick-item {
  height: 71px !important;
  min-height: 71px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 2px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body .phone-shell .quick-reference-icon,
html body .phone-shell .quick-item img {
  width: 50px !important;
  height: 50px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body .phone-shell .quick-item img {
  object-fit: contain !important;
  filter: saturate(1.12) contrast(1.04) brightness(1.05) drop-shadow(0 7px 11px rgba(0, 0, 0, .45)) !important;
}

html body .phone-shell .quick-item > span:last-child {
  margin: 0 !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 19px !important;
  letter-spacing: 0 !important;
  text-shadow: 0 2px 6px rgba(0, 0, 0, .58) !important;
}

html body .phone-shell .category-strip {
  width: 398px !important;
  height: 36px !important;
  gap: 0 !important;
  margin: 0 14px 7px 0 !important;
  padding: 0 !important;
  border: 1px solid var(--r88-line) !important;
  border-radius: 114px !important;
  background: transparent !important;
  box-shadow: none !important;
  scrollbar-width: none !important;
}

html body .phone-shell .category-strip::-webkit-scrollbar {
  display: none !important;
}

html body .phone-shell .category {
  height: 32px !important;
  min-height: 32px !important;
  flex: 0 0 auto !important;
  gap: 4px !important;
  margin: 1.5px 2px !important;
  padding: 0 9px !important;
  border: 0 !important;
  border-radius: 21px !important;
  background: transparent !important;
  color: #b2b3bf !important;
  font-size: 13.7px !important;
  font-weight: 400 !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

html body .phone-shell .category.active {
  background: var(--r88-active) !important;
  color: #fff !important;
  font-weight: 600 !important;
  box-shadow: none !important;
  transform: none !important;
}

html body .phone-shell .category img,
html body .phone-shell .home-tab-icon {
  width: 15px !important;
  height: 15px !important;
  opacity: .9 !important;
}

/* 分区和卡片：标题 46px；热门 89x119；普通卡 121x119。 */
html body .phone-shell .lobby-section {
  min-height: 176px !important;
  margin: 0 !important;
  padding: 0 !important;
}

html body .phone-shell .section-heading-row {
  height: 46px !important;
  margin: 0 !important;
}

html body .phone-shell .section-title {
  height: 46px !important;
  gap: 7px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body .phone-shell .section-title strong {
  color: #fff !important;
  font-size: 18.25px !important;
  font-weight: 600 !important;
  line-height: 46px !important;
  text-shadow: 0 2px 7px rgba(0, 0, 0, .54) !important;
}

html body .phone-shell .section-title i {
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: rgba(255, 255, 255, .72) !important;
  font-size: 20px !important;
  box-shadow: none !important;
}

html body .phone-shell .title-badge {
  width: 23px !important;
  height: 23px !important;
  border: 0 !important;
  border-radius: 5px !important;
  background: rgba(110, 71, 184, .38) !important;
  box-shadow: none !important;
}

html body .phone-shell .title-badge img {
  width: 19px !important;
  height: 19px !important;
}

html body .phone-shell .title-badge.fire {
  background: rgba(153, 51, 95, .34) !important;
}

html body .phone-shell .section-nav-buttons {
  gap: 5px !important;
}

html body .phone-shell .section-nav-buttons button {
  width: 32px !important;
  height: 32px !important;
  border: 0 !important;
  border-radius: 5px !important;
  background: rgba(255, 255, 255, .08) !important;
  color: rgba(255, 255, 255, .80) !important;
  font-size: 22px !important;
  box-shadow: none !important;
}

html body .phone-shell .hot-row,
html body .phone-shell .media-row {
  width: 412px !important;
  height: 130px !important;
  margin: 0 !important;
  padding: 0 0 11px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-snap-type: none !important;
  overscroll-behavior-x: contain !important;
  touch-action: pan-x !important;
  scrollbar-width: none !important;
}

html body .phone-shell .hot-row {
  gap: 7px !important;
}

html body .phone-shell .media-row {
  gap: 9px !important;
}

html body .phone-shell .hot-row::-webkit-scrollbar,
html body .phone-shell .media-row::-webkit-scrollbar {
  display: none !important;
}

html body .phone-shell .hot-card {
  width: 89px !important;
  height: 119px !important;
  flex: 0 0 89px !important;
  border-radius: 6px !important;
}

html body .phone-shell .media-card {
  width: 121px !important;
  height: 119px !important;
  flex: 0 0 121px !important;
  border-radius: 7px !important;
}

html body .phone-shell .hot-card,
html body .phone-shell .media-card,
html body .phone-shell .home-category-card {
  overflow: hidden !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body .phone-shell .hot-card::after,
html body .phone-shell .media-card::after,
html body .phone-shell .home-category-card::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), transparent 31%, rgba(4, 5, 18, .10)) !important;
}

html body .phone-shell .hot-card img,
html body .phone-shell .media-card img,
html body .phone-shell .home-category-card img {
  width: 100% !important;
  height: 100% !important;
  border-radius: inherit !important;
  object-fit: cover !important;
  filter: saturate(1.17) contrast(1.06) brightness(1.05) !important;
}

html body .phone-shell .card-caption {
  min-height: 29px !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-shadow: 0 2px 7px rgba(0, 0, 0, .76) !important;
}

/* 分类页的筛选、游戏卡保持同一套皇家胶囊和无厚框卡片。 */
html body .phone-shell .home-category-filters {
  height: 42px !important;
  gap: 2px !important;
  padding: 2px !important;
  border: 1px solid var(--r88-line) !important;
  border-radius: 23px !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body .phone-shell .home-category-filters button {
  height: 36px !important;
  min-width: 72px !important;
  border: 0 !important;
  border-radius: 19px !important;
  background: transparent !important;
  color: var(--r88-muted) !important;
  box-shadow: none !important;
}

html body .phone-shell .home-category-filters button.active {
  background: var(--r88-active) !important;
  color: #fff !important;
}

html body .phone-shell .home-category-card {
  border-radius: 7px !important;
}

/* 页尾信息也改成参考页的轻透明层，避免厚重金边。 */
html body .phone-shell .royal-home-footer {
  margin-right: 16px !important;
}

html body .phone-shell .royal-footer-section header {
  height: 46px !important;
}

html body .phone-shell .royal-footer-section h2 {
  color: #fff !important;
  font-size: 18px !important;
  font-weight: 600 !important;
}

html body .phone-shell .royal-vpn-button,
html body .phone-shell .royal-exchange-card,
html body .phone-shell .royal-license-card {
  border-color: var(--r88-line) !important;
  background: rgba(255, 255, 255, .045) !important;
  box-shadow: none !important;
}

/* 活动、我的、详情：统一紫蓝玻璃，功能与内容原样保留。 */
html body .phone-shell .activity-header,
html body .phone-shell .detail-topbar,
html body .phone-shell .detail-header {
  border-bottom: 1px solid var(--r88-line) !important;
  background: linear-gradient(180deg, rgba(34, 20, 76, .94), rgba(16, 15, 48, .82)) !important;
  box-shadow: none !important;
}

html body .phone-shell .activity-card,
html body .phone-shell .vip-card,
html body .phone-shell .invite-panel,
html body .phone-shell .mine-menu-panel,
html body .phone-shell .mine-tool-list,
html body .phone-shell .detail-menu button,
html body .phone-shell .detail-form-card,
html body .phone-shell .generic-list,
html body .phone-shell .generic-calculator,
html body .phone-shell .generic-vip-card,
html body .phone-shell .recharge-wallet-card,
html body .phone-shell .money-rules {
  border: 1px solid var(--r88-line) !important;
  background: linear-gradient(155deg, rgba(255, 255, 255, .075), rgba(35, 16, 71, .14)) !important;
  box-shadow: none !important;
  backdrop-filter: blur(18px) saturate(1.18) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.18) !important;
}

html body .phone-shell .mine-hero {
  background:
    radial-gradient(circle at 80% 9%, rgba(151, 73, 205, .23), transparent 26%),
    radial-gradient(circle at 12% 32%, rgba(52, 79, 180, .18), transparent 32%),
    linear-gradient(160deg, rgba(23, 18, 66, .96), rgba(9, 12, 36, .98)) !important;
  border: 0 !important;
  box-shadow: none !important;
}

html body .phone-shell .mine-primary-actions button,
html body .phone-shell .detail-back,
html body .phone-shell .detail-record-button,
html body .phone-shell .modal-close,
html body .phone-shell .generic-action,
html body .phone-shell .detail-submit,
html body .phone-shell .agent-apply-button {
  border: 1px solid var(--r88-line) !important;
  background: var(--r88-glass) !important;
  color: #fff !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06) !important;
}

/* 底栏：参考页 400x64 的悬浮玻璃胶囊。 */
html body .phone-shell .bottom-nav {
  right: 14px !important;
  bottom: max(27px, env(safe-area-inset-bottom)) !important;
  left: 14px !important;
  width: auto !important;
  height: 64px !important;
  padding: 4px !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 32px !important;
  background: var(--r88-glass) !important;
  box-shadow: inset 0 0 0 1.1px rgba(255, 255, 255, .20), 0 14px 30px rgba(3, 4, 17, .34) !important;
  backdrop-filter: blur(24px) saturate(1.20) !important;
  -webkit-backdrop-filter: blur(24px) saturate(1.20) !important;
}

html body .phone-shell .bottom-item {
  height: 55px !important;
  border: 0 !important;
  border-radius: 28px !important;
  background: transparent !important;
  color: #cecdd9 !important;
  font-size: 13.7px !important;
  font-weight: 400 !important;
  text-shadow: none !important;
}

html body .phone-shell .bottom-item.active {
  color: #fff !important;
  font-weight: 500 !important;
}

html body .phone-shell .bottom-item.active::before {
  inset: 0 !important;
  border: 0 !important;
  border-radius: 28px !important;
  background: rgba(255, 255, 255, .14) !important;
  box-shadow: none !important;
}

html body .phone-shell .bottom-item svg,
html body .phone-shell .bottom-item img,
html body .phone-shell .bottom-item i {
  width: 20px !important;
  height: 20px !important;
  color: currentColor !important;
  filter: none !important;
}

/* 丝滑但克制的按钮反馈：不闪金、不上下跳。 */
html body .phone-shell button,
html body .phone-shell .clickable {
  transition: transform 90ms ease-out, filter 90ms ease-out, background-color 120ms ease-out, opacity 120ms ease-out !important;
  -webkit-tap-highlight-color: transparent !important;
}

html body .phone-shell button:active,
html body .phone-shell .clickable:active,
html body .phone-shell .quick-item:active,
html body .phone-shell .category:active,
html body .phone-shell .bottom-item:active {
  transform: scale(.975) !important;
  filter: brightness(.93) !important;
  box-shadow: none !important;
}

html::after {
  content: "GLOBAL_ROYAL_TEXTURE_v88" !important;
}

@media (max-width: 390px) {
  html body .phone-shell .home-content {
    padding-left: 12px !important;
  }

  html body .phone-shell .hero,
  html body .phone-shell .carousel,
  html body .phone-shell .notice {
    width: calc(100vw - 24px) !important;
  }

  html body .phone-shell .slide,
  html body .phone-shell .clean-banner-slide {
    flex-basis: calc(100vw - 24px) !important;
    width: calc(100vw - 24px) !important;
  }

  html body .phone-shell .quick-grid,
  html body .phone-shell .hot-row,
  html body .phone-shell .media-row {
    width: calc(100vw - 12px) !important;
  }

  html body .phone-shell .category-strip {
    width: calc(100vw - 24px) !important;
  }

  html body .phone-shell .brand-copy strong {
    font-size: 17px !important;
  }

  html body .phone-shell .balance {
    min-width: 55px !important;
    font-size: 13px !important;
  }

  html body .phone-shell .recharge-top {
    min-width: 40px !important;
    padding: 0 7px !important;
  }
}

/* 旧版高特异级尺寸约束的最终归一，确保线上加载顺序变化时也不走样。 */
html body .phone-shell .home-view .home-content > .hero {
  width: 400px !important;
  min-width: 400px !important;
  max-width: 400px !important;
}

html body .phone-shell .home-view .home-content > .notice {
  width: 400px !important;
  min-width: 400px !important;
  max-width: 400px !important;
  height: 22px !important;
  min-height: 22px !important;
  max-height: 22px !important;
  margin: -31px 0 9px !important;
}

html body .phone-shell .home-view .home-content > .category-strip {
  height: 36px !important;
  min-height: 36px !important;
  max-height: 36px !important;
}

html body .phone-shell .home-view .media-row > .media-card {
  width: 121px !important;
  min-width: 121px !important;
  max-width: 121px !important;
  flex-basis: 121px !important;
}

html body .phone-shell > .bottom-nav {
  right: auto !important;
  left: 50% !important;
  width: 400px !important;
  min-width: 400px !important;
  max-width: 400px !important;
  transform: translateX(-50%) !important;
}

html body .phone-shell .home-view .home-content > .category-strip > button.category {
  background: transparent !important;
  color: #b2b3bf !important;
  font-weight: 400 !important;
  box-shadow: none !important;
}

html body .phone-shell .home-view .home-content > .category-strip > button.category.active {
  background: var(--r88-active) !important;
  color: #fff !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}

html body .phone-shell .home-view .section-nav-buttons > button {
  background: rgba(255, 255, 255, .08) !important;
  color: rgba(255, 255, 255, .80) !important;
  box-shadow: none !important;
}

html body .phone-shell > nav.bottom-nav > button.bottom-item,
html body .phone-shell > nav.bottom-nav > button.bottom-item.active {
  border: 0 !important;
  background: transparent !important;
  color: #cecdd9 !important;
  font-weight: 400 !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

html body .phone-shell > nav.bottom-nav > button.bottom-item.active {
  color: #fff !important;
  font-weight: 500 !important;
}

html body .phone-shell > nav.bottom-nav > button.bottom-item strong,
html body .phone-shell > nav.bottom-nav > button.bottom-item svg {
  color: currentColor !important;
  filter: none !important;
  text-shadow: none !important;
}

html body .phone-shell > nav.bottom-nav > button.bottom-item.active::before {
  inset: 0 !important;
  border: 0 !important;
  border-radius: 28px !important;
  background: rgba(255, 255, 255, .14) !important;
  box-shadow: none !important;
}

@media (max-width: 390px) {
  html body .phone-shell .home-view .home-content > .hero,
  html body .phone-shell .home-view .home-content > .notice {
    width: calc(100vw - 24px) !important;
    min-width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
  }

  html body .phone-shell > .bottom-nav {
    width: calc(100vw - 28px) !important;
    min-width: calc(100vw - 28px) !important;
    max-width: calc(100vw - 28px) !important;
  }
}
