
.jg-shell-subnav {
  display: none;
}
@media (max-width: 767px) {
  .jg-shell-subnav {
    display: flex;
    gap: 10px;
    padding: 10px 16px;
    margin-top: 72px;
    background: #18191a;
    border-bottom: 1px solid #2b2c2e;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
  }
  .jg-shell-subnav::-webkit-scrollbar {
    display: none;
  }
  .jg-shell-subnav a {
    color: #e5e5e5;
    text-decoration: none;
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #252628;
    border: 1px solid #38393c;
  }
  .jg-shell-subnav a.jg-subnav-gold {
    color: #191408;
    background: linear-gradient(120deg, #f6b434, #ffd269);
    border-color: #ffd269;
    font-weight: 600;
  }
  .jg-shell-subnav + .jg-content {
    margin-top: 24px;
  }
}

.jg-hg-hero-banner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1f1a10 0%, #17181a 65%, #231b0d 100%);
  border: 1px solid #4a3a1a;
  margin-bottom: 24px;
}
.jg-hg-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #191306;
  background: linear-gradient(120deg, #f6b434, #ffd470);
  padding: 4px 12px;
  border-radius: 999px;
}
.jg-hg-zone-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.jg-hg-zone-pills a {
  text-decoration: none;
  font-size: 13px;
  padding: 7px 14px;
  border-radius: 999px;
  color: #ddd;
  background: #252629;
  border: 1px solid #3b3d42;
}
.jg-hg-zone-pills a[aria-current="page"] {
  color: #ffca57;
  border-color: #f6b434;
  background: #2a2213;
}

.jg-hg-workspace {
  display: grid;
  grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin: 20px 0 32px;
}
@media (max-width: 900px) {
  .jg-hg-workspace {
    grid-template-columns: minmax(0, 1fr);
  }
}

.jg-hg-stage {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  aspect-ratio: 9 / 16;
  max-height: 680px;
  background: radial-gradient(circle at 50% 24%, #2e2210 0%, #111214 62%, #09090b 100%);
  border: 1px solid #3d3320;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  box-sizing: border-box;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
}
.jg-hg-video-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #07080a;
  display: none;
}
.jg-hg-video-layer.active {
  display: block;
}
.jg-hg-video-layer video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.jg-hg-stage-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #d7c7a3;
  z-index: 3;
  position: relative;
}
.jg-hg-stage-tag {
  background: rgba(20, 20, 22, 0.85);
  border: 1px solid #4d3f23;
  padding: 4px 10px;
  border-radius: 999px;
}
.jg-hg-stage-center {
  position: relative;
  z-index: 2;
  padding: 16px 52px 16px 6px;
  text-align: left;
  background: linear-gradient(180deg, rgba(12,13,15,0.2) 0%, rgba(12,13,15,0.78) 100%);
  border-radius: 14px;
}
.jg-hg-stage.playing-real .jg-hg-stage-center {
  display: none;
}
.jg-hg-stage-center h2 {
  font-size: 20px;
  margin: 0 0 8px;
  color: #fff5df;
}
.jg-hg-stage-center p {
  font-size: 13px;
  line-height: 1.65;
  color: #d4cebf;
  margin: 0 0 14px;
}
.jg-hg-stage-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.jg-hg-btn-sm {
  border: 1px solid #f6b434;
  background: linear-gradient(120deg, #f6b434, #ffcb57);
  color: #181307;
  font-weight: 600;
  font-size: 13px;
  padding: 9px 14px;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.jg-hg-btn-sm.ghost {
  background: rgba(34, 35, 38, 0.9);
  color: #f3dba0;
  border-color: #5b4b29;
}

.jg-hg-rail {
  position: absolute;
  right: 10px;
  bottom: 154px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 4;
}
.jg-hg-rail button {
  width: 46px;
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid #3e3a32;
  background: rgba(16, 17, 22, 0.92);
  color: #f2e7ce;
  font-size: 10.5px;
  line-height: 1.2;
  cursor: pointer;
  padding: 4px 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.jg-hg-rail button:hover,
.jg-hg-rail button.active {
  border-color: #f6b434;
  color: #ffca57;
}

.jg-hg-scrubber-box {
  position: relative;
  z-index: 5;
  background: rgba(10, 11, 15, 0.97);
  backdrop-filter: blur(8px);
  border: 1px solid #3b3320;
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.72);
}
.jg-hg-scrubber-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #d6c8a5;
  margin-bottom: 8px;
}
.jg-hg-track {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: #2b2d31;
  overflow: hidden;
}
.jg-hg-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #f6b434, #ff6b3d);
  transition: width 0.18s linear;
}
.jg-hg-climax-pin {
  margin-top: 6px;
  font-size: 11px;
  color: #ffbe43;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.jg-hg-panel {
  background: #191a1c;
  border: 1px solid #2e3034;
  border-radius: 16px;
  padding: 22px;
}
.jg-hg-panel h2 {
  margin-top: 0;
  font-size: 20px;
}
.jg-hg-drawer {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #2e3034;
}
.jg-hg-ep-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
  gap: 8px;
  margin-top: 12px;
}
.jg-hg-ep-btn {
  padding: 9px 6px;
  border-radius: 8px;
  border: 1px solid #383a40;
  background: #232428;
  color: #e8e8e8;
  font-size: 12px;
  cursor: pointer;
}
.jg-hg-ep-btn[data-vip-locked="true"] {
  border-color: #5b461f;
  color: #f7c864;
}
.jg-hg-ep-btn[aria-current="true"] {
  background: #f6b434;
  color: #171307;
  border-color: #f6b434;
  font-weight: 700;
}

.jg-hg-kbd-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  font-size: 12px;
  color: #a7a9ae;
}
.jg-hg-kbd-bar code {
  background: #26282c;
  border: 1px solid #3b3e45;
  padding: 2px 7px;
  border-radius: 6px;
  color: #f2d28b;
}

.jg-vip-modal-wrap {
  text-align: left;
  max-width: 680px;
}
.jg-vip-modal-wrap h2 {
  margin: 10px 0 8px;
  font-size: 22px;
  color: #fff4da;
}
.jg-vip-tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  gap: 12px;
  margin: 14px 0;
}
.jg-vip-tier-card {
  border: 1px solid #3c3e45;
  background: #1b1c20;
  border-radius: 14px;
  padding: 14px;
  cursor: pointer;
  position: relative;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.jg-vip-tier-card.selected {
  border-color: #f6b434;
  background: linear-gradient(145deg, #2b2211 0%, #1b1c20 100%);
  box-shadow: 0 0 0 1px #f6b434;
}
.jg-vip-tier-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f6b434;
  color: #181307;
  margin-bottom: 6px;
}
.jg-vip-tier-price {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin: 6px 0 4px;
}
.jg-vip-tier-sub {
  font-size: 12px;
  color: #cabf9f;
  line-height: 1.45;
}
.jg-vip-period-bar {
  display: inline-flex;
  gap: 6px;
  background: #151619;
  border: 1px solid #35373d;
  padding: 4px;
  border-radius: 999px;
  margin-top: 6px;
}
.jg-vip-period-bar button {
  border: 0;
  background: transparent;
  color: #ccc;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  cursor: pointer;
}
.jg-vip-period-bar button.active {
  background: linear-gradient(120deg, #f6b434, #ffd269);
  color: #191306;
  font-weight: 700;
}
.jg-vip-plan-box {
  background: linear-gradient(135deg, #271f10 0%, #1c1d20 100%);
  border: 1px solid #f6b434;
  border-radius: 14px;
  padding: 16px;
  margin: 14px 0;
}
.jg-vip-plan-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #ffd166;
}
.jg-vip-price-line {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 8px 0 4px;
}
.jg-vip-consent-box {
  background: #151618;
  border: 1px solid #32343a;
  border-radius: 12px;
  padding: 14px;
  margin: 14px 0;
  font-size: 13px;
}
.jg-vip-consent-box label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 8px 0;
  color: #d8d8d8;
  line-height: 1.5;
}
.jg-vip-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}
.jg-dl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin: 22px 0;
}
.jg-dl-card {
  background: #191a1e;
  border: 1px solid #353840;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}
.jg-dl-card.featured {
  border-color: #f6b434;
  background: linear-gradient(145deg, #241d10 0%, #191a1e 100%);
}
.jg-dl-meta {
  font-size: 12px;
  color: #a9abb2;
  word-break: break-all;
}
.jg-area-nav {
  flex-wrap: wrap;
  align-items: center;
  border-bottom: 1px solid #26282c;
}
.jg-area-nav a.jg-area-pill-gold {
  background: linear-gradient(120deg, #f6b434, #ffd269);
  color: #181307 !important;
  padding: 5px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
}

/* R025 Live Browser Audit Conversion & Layout Polish */
.jg-vip-consent-box input[type="checkbox"],
.jg-content .jg-vip-consent-box input[type="checkbox"] {
  flex: 0 0 16px !important;
  width: 16px !important;
  height: 16px !important;
  padding: 0 !important;
  margin: 3px 0 0 0 !important;
  accent-color: #f6b434;
  cursor: pointer;
}
.jg-shell-nav + .jg-area-nav {
  margin-top: 72px;
}
.jg-area-nav ~ .jg-content {
  margin-top: 36px;
}
@media (max-width: 767px) {
  .jg-area-nav + .jg-shell-subnav {
    margin-top: 0;
  }
}
[class*="zbv-"]:not(.zbv-pill) {
  color-scheme: light;
}
:where([class*="zbv-"]:not(.zbv-pill)) button {
  color: #3d3528;
  font-size: 13px !important;
  padding-left: 10px !important;
  padding-right: 10px !important;
  white-space: nowrap;
}

/* R026 Home Spotlight Shelf & Poster Grid */
.jg-home-spotlight {
  max-width: 1240px;
  margin: 18px auto 26px;
  padding: 20px 24px;
  border-radius: 18px;
  background: linear-gradient(135deg, #1d170b 0%, #141519 58%, #21151d 100%);
  border: 1px solid #57431c;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  color: #f3eee2;
  position: relative;
  z-index: 15;
  box-sizing: border-box;
}
.jg-home-spotlight-hd {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.jg-home-spotlight-hd h2 {
  margin: 0;
  font-size: 20px;
  color: #ffe29a;
}
.jg-home-spotlight-sub {
  font-size: 13px;
  color: #c8bea6;
  margin-top: 4px;
}
.jg-spotlight-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 960px) {
  .jg-spotlight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .jg-spotlight-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.jg-spotlight-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  background: #18191e;
  border: 1px solid #393b44;
  border-radius: 14px;
  overflow: hidden;
  color: #f1f1f1;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.jg-spotlight-card:hover {
  transform: translateY(-4px);
  border-color: #f6b434;
}
.jg-spotlight-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  background: #101115;
}
.jg-spotlight-body {
  padding: 12px 14px 14px;
}
.jg-spotlight-body h3 {
  margin: 0 0 6px;
  font-size: 15px;
  color: #fff5dc;
}
.jg-spotlight-body p {
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.45;
  color: #b5b0a4;
}
.jg-spotlight-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #191306;
  background: linear-gradient(120deg, #f6b434, #ffd470);
  padding: 6px 12px;
  border-radius: 999px;
}

/* R027 Ultimate Conversion, Single-Row Area Nav, Hero De-Overlap, Series Switcher & VIP ROI Table */
.jg-area-nav {
  font-size: 13px !important;
  line-height: 1.4 !important;
  flex-wrap: wrap !important;
  gap: 10px 14px !important;
  padding: 10px 24px !important;
  align-items: center !important;
}
.jg-area-nav a {
  font-size: 13px !important;
  line-height: 1.4 !important;
  color: #e6dfd1 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}
.jg-area-nav a:hover {
  color: #ffd166 !important;
}
body.jg-has-spotlight .pc-hero-content-Wv3i0R,
body.jg-has-spotlight .pc-scatter-scene-jzCaRr,
body.jg-has-spotlight .pc-hero-scroll-axDkKm,
body.jg-has-spotlight .pc-hero-background-Oyl4Fb,
body.jg-has-spotlight .pc-hero-gradient-mask-gg1KJZ,
body.jg-has-spotlight .pc-hero-shape-mask-yTGt7Y {
  display: none !important;
}
body.jg-has-spotlight .pc-banner-biYink,
body.jg-has-spotlight .pc-banner-biYink .pc-container-XYHLyA {
  height: auto !important;
  min-height: 0 !important;
  padding-bottom: 4px !important;
}
body.jg-has-spotlight .pc-page-VWGA8l {
  margin-top: 8px !important;
}
.jg-series-switcher-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #1b170e 0%, #15161b 100%);
  border: 1px solid #44371b;
  border-radius: 12px;
}
.jg-series-switcher-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.jg-series-switcher-pills a {
  text-decoration: none;
  font-size: 12px;
  padding: 5px 11px;
  border-radius: 999px;
  color: #dcd6c8;
  background: #22242a;
  border: 1px solid #383b44;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.jg-series-switcher-pills a.active,
.jg-series-switcher-pills a:hover {
  color: #191306;
  background: linear-gradient(120deg, #f6b434, #ffd470);
  border-color: #ffd470;
  font-weight: 700;
}
.jg-vip-roi-table-wrap {
  margin: 16px 0;
  padding: 16px;
  border-radius: 14px;
  background: #141519;
  border: 1px solid #353842;
  overflow-x: auto;
}
.jg-vip-roi-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  color: #e2ddd2;
}
.jg-vip-roi-table th,
.jg-vip-roi-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid #282a32;
}
.jg-vip-roi-table th {
  color: #ffd166;
  font-weight: 700;
  background: #1c1911;
}
.jg-vip-roi-highlight {
  color: #9ef01a;
  font-weight: 700;
}

/* R029 Dynamic In-Video Cinema HUD, Scrollable Full-Episode Drawer & Detail Page Direct Play Banner */
.jg-hg-dynamic-hud {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  min-height: 148px;
  padding: 54px 14px 14px;
  background: linear-gradient(180deg, #0b0c10 0%, #0b0c10 86%, rgba(11, 12, 16, 0) 100%);
  z-index: 2;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  box-sizing: border-box;
}
.jg-hg-dynamic-hud-title {
  font-size: 14px;
  font-weight: 800;
  color: #fff6df;
  line-height: 1.38;
  max-width: 94%;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95);
}
@keyframes jgKenBurns {
  0% { transform: scale(1.03) translate3d(0, 0, 0); }
  50% { transform: scale(1.12) translate3d(-1.5%, -2%, 0); }
  100% { transform: scale(1.03) translate3d(0, 0, 0); }
}
.jg-hg-cinema-visual {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 48px;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
  background: #090a0d;
}
.jg-hg-cinema-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.12) contrast(1.05);
  animation: jgKenBurns 16s ease-in-out infinite;
}
.jg-hg-cinema-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 9, 12, 0.92) 0%, rgba(8, 9, 12, 0.25) 28%, rgba(8, 9, 12, 0.35) 56%, rgba(8, 9, 12, 0.94) 100%);
}
.jg-hg-dynamic-stage-card {
  position: absolute;
  top: 138px;
  left: 12px;
  right: 66px;
  padding: 10px 14px;
  border-radius: 12px;
  background: linear-gradient(155deg, rgba(16, 13, 8, 0.72) 0%, rgba(10, 11, 15, 0.76) 100%);
  border: 1px solid rgba(246, 180, 52, 0.55);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 2;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  box-sizing: border-box;
}
.jg-hg-dynamic-stage-card .jg-hg-dynamic-stage-desc {
  -webkit-line-clamp: 2;
  font-size: 11.5px;
}
.jg-hg-live-subtitle {
  position: absolute;
  left: 12px;
  right: 64px;
  bottom: 152px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(10, 11, 14, 0.92);
  border-left: 3px solid #f6b434;
  border-top: 1px solid rgba(246, 180, 52, 0.45);
  border-right: 1px solid rgba(246, 180, 52, 0.45);
  border-bottom: 1px solid rgba(246, 180, 52, 0.45);
  color: #fff8e7;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.48;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.95);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.85);
  z-index: 3;
  pointer-events: none;
}
.jg-hg-transport-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  margin-bottom: 8px;
  flex-wrap: nowrap;
}
.jg-hg-transport-btn {
  border: 1px solid #f6b434;
  background: linear-gradient(120deg, #f6b434, #ffd166);
  color: #171206;
  font-weight: 800;
  font-size: 11px;
  padding: 5px 8px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
  flex-shrink: 0;
}
.jg-hg-transport-btn.secondary {
  background: #22242a;
  color: #f3dfb2;
  border-color: #4f4225;
  font-weight: 600;
}
.jg-hg-track {
  cursor: pointer;
}
.jg-hg-dynamic-stage-pill {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #191306;
  background: linear-gradient(120deg, #f6b434, #ffd97d);
  padding: 3px 10px;
  border-radius: 999px;
}
.jg-hg-dynamic-stage-h3 {
  font-size: 17px;
  font-weight: 800;
  color: #fff6e0;
  line-height: 1.35;
  margin: 0;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85);
}
.jg-hg-dynamic-stage-desc {
  font-size: 12px;
  line-height: 1.55;
  color: #e0d4b8;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.jg-hg-dynamic-stage-foot {
  font-size: 11px;
  font-weight: 600;
  color: #ffd166;
  padding-top: 6px;
  border-top: 1px solid rgba(246, 180, 52, 0.25);
}
.jg-full-explorer {
  margin: 34px 0 24px;
  padding: 22px;
  border-radius: 18px;
  background: linear-gradient(145deg, #17181c 0%, #121316 100%);
  border: 1px solid #3c3320;
}
.jg-full-explorer-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin: 14px 0;
}
.jg-full-explorer-bar input {
  flex: 1 1 260px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #483d24;
  background: #0f1013;
  color: #fff4d9;
  font-size: 14px;
}
.jg-full-explorer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.jg-full-explorer-tags button {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #3a3c42;
  background: #222327;
  color: #e2e2e2;
  font-size: 12px;
  cursor: pointer;
}
.jg-full-explorer-tags button.active {
  background: linear-gradient(120deg, #f6b434, #ffd166);
  color: #171206;
  border-color: #ffd166;
  font-weight: 700;
}
.jg-full-explorer-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #2b2d31;
  font-size: 13px;
  color: #d8caa8;
}
.jg-hg-dynamic-hud-sub {
  margin-top: 3px;
  font-size: 12px;
  font-weight: 600;
  color: #f6b434;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}
.jg-hg-ep-grid {
  max-height: 310px;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
}
.jg-detail-direct-banner {
  max-width: 1200px;
  margin: 14px auto;
  padding: 14px 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, #211a0c 0%, #15161b 100%);
  border: 1px solid #f6b434;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #fff3d6;
  box-sizing: border-box;
}
.jg-hg-climax-pin.clickable {
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 8px;
  background: linear-gradient(120deg, rgba(246, 180, 52, 0.16), rgba(255, 117, 143, 0.14));
  border: 1px solid rgba(246, 180, 52, 0.45);
  color: #ffd97d;
  font-weight: 700;
  text-align: center;
  transition: transform 0.12s ease, background 0.15s ease;
}
.jg-hg-climax-pin.clickable:hover {
  background: linear-gradient(120deg, rgba(246, 180, 52, 0.28), rgba(255, 117, 143, 0.24));
  transform: translateY(-1px);
}
.jg-hg-climax-pin.vip-active {
  color: #ffe299;
  font-weight: 600;
}
.jg-referral-card {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(36, 26, 10, 0.92), rgba(18, 19, 25, 0.96));
  border: 1px solid rgba(246, 180, 52, 0.45);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.jg-referral-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  color: #ffd166;
}
.jg-referral-row {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.jg-referral-input {
  flex: 1 1 200px;
  padding: 7px 10px;
  border-radius: 8px;
  border: 1px solid #4d3e20;
  background: #0d0e12;
  color: #f6e7c4;
  font-size: 12px;
}
@media (max-width: 640px) {
  .jg-hg-rail { right: 8px; bottom: 148px; gap: 5px; }
  .jg-hg-rail button { width: 42px; min-height: 40px; font-size: 10px; }
  .jg-hg-live-subtitle { right: 58px; bottom: 148px; font-size: 12px; padding: 8px 10px; }
  .jg-hg-dynamic-stage-card { right: 58px; top: 130px; padding: 8px 10px; }
  .jg-hg-transport-btn { font-size: 11px; padding: 5px 9px; }
}

/* R036 Floating VIP Pill De-Overlap, Live Danmaku Safe Zone, Continue Watching Bar & Smart Recommendations */
.zbv-pill {
  position: fixed !important;
  left: auto !important;
  top: auto !important;
  bottom: 20px !important;
  right: 24px !important;
  transform: none !important;
  width: auto !important;
  min-width: max-content !important;
  z-index: 40 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55) !important;
}
.jg-hg-dynamic-stage-card {
  top: 128px;
  padding: 8px 12px;
}
.jg-danmaku-layer {
  position: absolute;
  top: 266px;
  bottom: 222px;
  left: 6px;
  right: 60px;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
}
@keyframes jgHeartBurst {
  0% { transform: translate(-50%, -50%) scale(0.4); opacity: 1; }
  55% { transform: translate(-50%, -82%) scale(1.35); opacity: 0.95; }
  100% { transform: translate(-50%, -120%) scale(1.6); opacity: 0; }
}
.jg-heart-burst {
  position: absolute;
  font-size: 54px;
  pointer-events: none;
  z-index: 8;
  filter: drop-shadow(0 6px 18px rgba(246, 180, 52, 0.75));
  animation: jgHeartBurst 0.85s ease-out forwards;
}
.jg-vip-trust-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 8px;
  margin: 12px 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(246, 180, 52, 0.12), rgba(18, 20, 26, 0.92));
  border: 1px solid rgba(246, 180, 52, 0.38);
  font-size: 12px;
  color: #f6e4bc;
  font-weight: 600;
}
.jg-trending-strip {
  max-width: 1240px;
  margin: 16px auto 22px;
  padding: 18px 22px;
  border-radius: 18px;
  background: linear-gradient(135deg, #1a1510 0%, #13151a 55%, #1d121a 100%);
  border: 1px solid rgba(246, 180, 52, 0.42);
  box-sizing: border-box;
}
.jg-trending-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}
.jg-trending-head h2 {
  margin: 0;
  font-size: 19px;
  color: #ffd670;
}
.jg-trending-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 960px) {
  .jg-trending-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.jg-trending-card {
  position: relative;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: #16181e;
  border: 1px solid #323540;
  border-radius: 12px;
  overflow: hidden;
  color: #f3eee2;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.jg-trending-card:hover {
  transform: translateY(-3px);
  border-color: #f6b434;
}
.jg-trending-rank {
  position: absolute;
  top: 8px;
  left: 8px;
  background: linear-gradient(120deg, #f6b434, #ff8c42);
  color: #181205;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  z-index: 2;
}
.jg-trending-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}
.jg-trending-body {
  padding: 10px 12px;
}
.jg-trending-body h3 {
  margin: 0 0 4px;
  font-size: 14px;
  color: #fff6e0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.jg-trending-body small {
  font-size: 11.5px;
  color: #cbbd9c;
}
.jg-share-modal-poster {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 14px;
  background: #14151a;
  border: 1px solid #44381d;
  margin: 12px 0;
}
.jg-share-modal-poster img {
  width: 68px;
  height: 92px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}
.jg-stage-countdown-pill {
  cursor: pointer;
  background: linear-gradient(120deg, #f6b434, #ff8c42) !important;
  color: #181104 !important;
  font-weight: 800 !important;
  border-color: #ffd97d !important;
}
@keyframes jgDanmakuFly {
  0% { transform: translate3d(105%, 0, 0); opacity: 0.96; }
  88% { opacity: 0.96; }
  100% { transform: translate3d(-115%, 0, 0); opacity: 0; }
}
.jg-dm-item {
  position: absolute;
  left: 0;
  white-space: nowrap;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #fff8ea;
  background: rgba(12, 13, 18, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
  animation: jgDanmakuFly 7.5s linear forwards;
  will-change: transform;
}
.jg-dm-item.vip {
  color: #ffe28a;
  background: linear-gradient(120deg, rgba(44, 30, 8, 0.88), rgba(20, 16, 10, 0.88));
  border-color: rgba(246, 180, 52, 0.65);
}
.jg-dm-item.mine {
  color: #161105;
  background: linear-gradient(120deg, #f6b434, #ffd875);
  border-color: #fff2c2;
  font-weight: 800;
  text-shadow: none;
}
.jg-danmaku-composer {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #14151a;
  border: 1px solid #323540;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.jg-danmaku-composer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 700;
  color: #f3dfb2;
}
.jg-danmaku-form {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.jg-danmaku-input {
  flex: 1 1 200px;
  padding: 8px 11px;
  border-radius: 8px;
  border: 1px solid #3f424e;
  background: #0c0d11;
  color: #fff6e3;
  font-size: 13px;
}
.jg-continue-bar {
  max-width: 1240px;
  margin: 14px auto 18px;
  padding: 14px 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, #21190c 0%, #14151a 60%, #1c1622 100%);
  border: 1px solid rgba(246, 180, 52, 0.48);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  box-sizing: border-box;
}
.jg-continue-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 800;
  color: #ffd670;
}
.jg-continue-list {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}
.jg-continue-item {
  flex: 0 0 230px;
  display: flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(20, 21, 27, 0.92);
  border: 1px solid #353844;
  color: #f4efe4;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.jg-continue-item:hover {
  border-color: #f6b434;
  transform: translateY(-2px);
}
.jg-continue-item img {
  width: 44px;
  height: 58px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  background: #0d0e12;
}
.jg-continue-meta {
  min-width: 0;
  flex: 1;
}
.jg-continue-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff5df;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.jg-continue-sub {
  font-size: 11px;
  color: #d8c7a0;
  margin-top: 3px;
}
.jg-continue-cta {
  display: inline-block;
  margin-top: 5px;
  font-size: 11px;
  font-weight: 700;
  color: #181205;
  background: linear-gradient(120deg, #f6b434, #ffd269);
  padding: 2px 8px;
  border-radius: 999px;
}
.jg-recommend-strip {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #2e3036;
}
.jg-recommend-strip h3 {
  margin: 0 0 10px;
  font-size: 15px;
  color: #ffd166;
}
.jg-recommend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
  gap: 10px;
}
.jg-recommend-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: #14151a;
  border: 1px solid #2e313b;
  border-radius: 10px;
  overflow: hidden;
  color: #eee;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.jg-recommend-card:hover {
  border-color: #f6b434;
  transform: translateY(-2px);
}
.jg-recommend-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}
.jg-recommend-card span {
  padding: 6px 8px;
  font-size: 12px;
  font-weight: 600;
  color: #f5ebd6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 640px) {
  .jg-danmaku-layer { top: 224px; bottom: 214px; right: 54px; }
  .jg-dm-item { font-size: 11px; padding: 3px 8px; }
}

/* R038: Strict Zero Horizontal Overflow across Mobile (390x844) & Desktop + PWA Install Pill */
html, body {
  max-width: 100% !important;
  overflow-x: clip !important;
}
.jg-content,
.jg-hg-workspace,
.jg-hg-workspace > *,
.jg-hg-panel,
.jg-hg-drawer,
.jg-hg-hero-banner,
.jg-hg-quick-switcher,
.jg-trending-strip,
.jg-continue-bar,
.jg-recommend-strip,
.jg-referral-card,
.jg-danmaku-composer {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.jg-pwa-install-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #f6b434;
  background: linear-gradient(120deg, #f6b434, #ffd875);
  color: #191306;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}
@media (max-width: 767px) {
  .jg-shell-nav {
    width: 100% !important;
    max-width: 100% !important;
    gap: 8px !important;
    padding: 0 12px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }
  .jg-shell-nav > a:first-child {
    flex: 0 0 auto !important;
  }
  .jg-shell-nav > a:first-child img {
    width: 92px !important;
    height: auto !important;
  }
  .jg-shell-nav > a:not(:first-child),
  .jg-shell-nav > button,
  .jg-shell-nav > div {
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-size: 12px !important;
  }
  .jg-shell-nav > a[href*="/search"] {
    flex: 0 0 auto !important;
    margin-left: auto !important;
  }
  .jg-shell-nav > a:last-child {
    flex: 0 1 164px !important;
    max-width: 164px !important;
  }
  .jg-shell-subnav {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .jg-content {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 12px !important;
    box-sizing: border-box !important;
  }
  .jg-hg-stage {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px !important;
  }
  .jg-hg-stage-top {
    flex-wrap: wrap !important;
    gap: 6px !important;
  }
  .jg-hg-dynamic-stage-card {
    top: 112px !important;
    left: 10px !important;
    right: 54px !important;
    padding: 8px 10px !important;
  }
  .jg-hg-rail {
    right: 6px !important;
    bottom: 154px !important;
    gap: 5px !important;
  }
  .jg-hg-rail button {
    width: 40px !important;
    min-height: 40px !important;
    font-size: 10px !important;
  }
  .jg-hg-scrubber-box {
    padding: 8px 10px !important;
  }
  .jg-hg-scrubber-actions {
    flex-wrap: wrap !important;
    gap: 6px !important;
  }
  .jg-hg-scrubber-actions button {
    font-size: 11px !important;
    padding: 5px 8px !important;
  }
  .jg-danmaku-layer {
    left: 6px !important;
    right: 52px !important;
    top: 236px !important;
    bottom: 204px !important;
  }
  .jg-hg-panel {
    padding: 14px !important;
  }
  .jg-hg-ep-grid {
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)) !important;
    gap: 6px !important;
  }
  .zbv-pill {
    right: 12px !important;
    bottom: 12px !important;
    max-width: calc(100vw - 24px) !important;
  }
}

/* R039: Daily-Cost Anchor, Free vs VIP Comparison Matrix, Affiliate Hub, Instant Search Chips & Analytics Panel */
.jg-daily-cost-pill {
  display: inline-block;
  margin-top: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  color: #191205;
  background: linear-gradient(120deg, #ffd166, #f6b434);
}
.jg-vip-compare-wrap {
  margin: 18px 0;
  padding: 16px;
  border-radius: 14px;
  background: #14151a;
  border: 1px solid #353229;
  overflow-x: auto;
}
.jg-vip-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
  color: #e6dfd1;
}
.jg-vip-compare-table th,
.jg-vip-compare-table td {
  padding: 9px 10px;
  border-bottom: 1px solid #282a32;
  text-align: left;
}
.jg-vip-compare-table th {
  color: #ffd166;
  font-weight: 800;
  background: rgba(246, 180, 52, 0.08);
}
.jg-vip-compare-table td.rec {
  color: #ffd670;
  font-weight: 700;
  background: rgba(246, 180, 52, 0.05);
}
.jg-affiliate-hub {
  margin: 18px 0;
  padding: 16px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(40, 29, 12, 0.94), rgba(16, 18, 25, 0.96));
  border: 1px solid rgba(246, 180, 52, 0.45);
}
.jg-affiliate-hub h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: #ffd670;
}
.jg-hot-search-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 12px 0 14px;
}
.jg-hot-chip {
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid #3c3a32;
  background: #1b1d23;
  color: #f3e4c3;
  font-size: 12px;
  cursor: pointer;
  text-decoration: none;
}
.jg-hot-chip:hover,
.jg-hot-chip.active {
  border-color: #f6b434;
  color: #191305;
  background: linear-gradient(120deg, #f6b434, #ffd875);
  font-weight: 700;
}
.jg-analytics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin: 12px 0;
}
.jg-analytics-kpi {
  padding: 12px 14px;
  border-radius: 12px;
  background: #161820;
  border: 1px solid #303440;
}
.jg-analytics-kpi .val {
  font-size: 22px;
  font-weight: 800;
  color: #ffd166;
}
.jg-analytics-kpi .lbl {
  font-size: 11.5px;
  color: #bfb59f;
  margin-top: 3px;
}

/* R041: 7-Day Daily Check-In Energy Streak Bar & Global Promo Studio */
.jg-checkin-bar {
  max-width: 1240px;
  margin: 14px auto 20px;
  padding: 16px 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, #241908 0%, #14161d 55%, #1d1523 100%);
  border: 1px solid rgba(246, 180, 52, 0.48);
  box-sizing: border-box;
}
.jg-checkin-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}
.jg-checkin-top h2 {
  margin: 0;
  font-size: 16px;
  color: #ffd670;
}
.jg-checkin-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}
@media (max-width: 640px) {
  .jg-checkin-days { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.jg-checkin-day {
  padding: 8px 6px;
  border-radius: 10px;
  text-align: center;
  background: #171920;
  border: 1px solid #303340;
  font-size: 11.5px;
  color: #cfc5ae;
}
.jg-checkin-day.done {
  background: linear-gradient(135deg, rgba(246, 180, 52, 0.25), rgba(255, 209, 102, 0.14));
  border-color: #f6b434;
  color: #fff3d2;
  font-weight: 700;
}
.jg-checkin-day strong {
  display: block;
  font-size: 13px;
  color: #ffd166;
  margin-top: 2px;
}
.jg-promo-studio {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  margin: 20px 0;
}
@media (max-width: 820px) {
  .jg-promo-studio { grid-template-columns: minmax(0, 1fr); }
}
.jg-promo-box {
  background: #161820;
  border: 1px solid #353229;
  border-radius: 16px;
  padding: 18px 20px;
}
.jg-promo-box select,
.jg-promo-box textarea,
.jg-promo-box input {
  width: 100%;
  box-sizing: border-box;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid #443a24;
  background: #0d0e13;
  color: #fff4da;
  font-size: 13px;
  margin-top: 6px;
  margin-bottom: 12px;
}
.jg-en-hero {
  padding: 24px;
  border-radius: 18px;
  background: linear-gradient(135deg, #271b09 0%, #13151c 58%, #211022 100%);
  border: 1px solid rgba(246, 180, 52, 0.5);
  margin-bottom: 24px;
}

/* R043: Fix /admin/sources vertical stacked forms & 1280px desktop header nav unclipped fit */
form.jg-promo-box,
.jg-promo-box form {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 8px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
form.jg-promo-box h2,
.jg-promo-box form h2,
.jg-promo-box form p,
.jg-promo-box label {
  display: block !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}
.jg-promo-box label strong {
  display: block;
  font-size: 13px;
  color: #f3e4c3;
  margin-bottom: 4px;
}
form.jg-promo-box button[type="submit"],
.jg-promo-box form button[type="submit"] {
  width: 100% !important;
  padding: 12px 16px !important;
  margin-top: 6px !important;
  font-size: 14px !important;
}
.jg-admin-key-bar {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 12px 0 18px !important;
  padding: 12px 16px !important;
  border-radius: 12px !important;
  background: #14161d !important;
  border: 1px solid #353229 !important;
}
.jg-admin-key-bar input {
  flex: 1 1 260px !important;
  min-width: 200px !important;
  padding: 9px 12px !important;
  border-radius: 8px !important;
  border: 1px solid #443a24 !important;
  background: #0d0e13 !important;
  color: #fff4da !important;
  font-size: 13px !important;
}
@media (min-width: 768px) {
  .jg-shell-nav {
    gap: 14px !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .jg-shell-nav > a:first-child {
    flex: 0 0 auto !important;
  }
  .jg-shell-nav > a:first-child img {
    width: 112px !important;
    height: auto !important;
  }
  .jg-shell-nav nav {
    gap: 14px !important;
    padding-left: 12px !important;
    font-size: 13.5px !important;
    white-space: nowrap !important;
  }
  .jg-shell-nav > a[href*="/search"] {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    font-size: 13.5px !important;
  }
  .jg-shell-nav > a:last-child {
    flex: 0 1 320px !important;
    max-width: 320px !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-size: 13px !important;
  }
}

