/* =========================================================
   jg-mobile-home.css — Mobile redesign ≤768px only
   Desktop styles untouched. Load AFTER mobile-fix.css
   ========================================================= */

.jg-m-header,
.jg-m-drawer,
.jg-m-drawer-overlay,
.jg-m-bottom,
.jg-m-hero,
.jg-m-status,
.jg-m-actions,
.jg-m-login-wrap,
.jg-m-mall,
.jg-m-community,
.jg-m-footer {
  display: none !important;
}

.jg-news-tab__label--mob {
  display: none;
}

.jg-news-item__media,
.jg-news-item__excerpt,
.jg-news-item__more,
.jg-news-item__badge,
.jg-news-item__badge-wrap {
  display: none;
}

.jg-news-item__cat {
  display: inline-flex;
  align-items: center;
}

@media (max-width: 768px) {
  html, body, #main {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    overflow-x: clip !important;
  }

  body.jg-home-page,
  body {
    padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px)) !important;
    background: #14181e !important;
  }

  /* ---- Hide desktop chrome ---- */
  #head_topmenu_cover,
  .jg-header-band,
  #hiddenmenu,
  .jg-subnav,
  .jg-premium-infobar,
  .jg-menu,
  .bsr-header .jg-brand {
    display: none !important;
  }

  .header.header-wrapper.bsr-header {
    display: contents !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
  }

  /* Desktop slider hidden — mobile hero used */
  #middle_panel_slider,
  .jg-slider {
    display: none !important;
  }

  /* Sidebar: hide fortress/banners/server/social on mobile (status card replaces) */
  .legacy-sidebar .legacy-sidebar__ornament,
  .legacy-sidebar .ref-server,
  .legacy-sidebar .legacy-social-links,
  .legacy-sidebar .legacy-fortress,
  .legacy-sidebar .legacy-sidebar-banners,
  .legacy-sidebar .legacy-sidebar-bottom,
  .legacy-sidebar .legacy-login,
  .legacy-sidebar .sro-user-panel {
    display: none !important;
  }

  .legacy-sidebar.jg-side {
    display: none !important;
  }

  /* ---- Mobile header ---- */
  .jg-m-header {
    display: flex !important;
    position: sticky;
    top: 0;
    z-index: 10050;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    padding: 0 14px;
    padding-top: env(safe-area-inset-top, 0px);
    box-sizing: border-box;
    background: rgba(12, 14, 18, 0.82);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .jg-m-header__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
    min-width: 0;
  }

  .jg-m-header__logo {
    width: auto;
    height: 32px;
    border-radius: 0;
    overflow: visible;
    flex-shrink: 0;
    background: transparent;
  }

  .jg-m-header__logo img {
    width: auto;
    height: 32px;
    max-width: 140px;
    object-fit: contain;
    display: block;
  }

  .jg-m-header__titles {
    display: none;
  }
    display: flex;
    flex-direction: column;
    min-width: 0;
  }

  .jg-m-header__name {
    color: #fff;
    font: 700 15px/1.1 Arial, Helvetica, sans-serif;
    letter-spacing: 0.04em;
  }

  .jg-m-header__sub {
    color: rgba(255, 255, 255, 0.55);
    font: 400 11px/1.2 Arial, Helvetica, sans-serif;
  }

  .jg-m-header__burger {
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    padding: 0;
  }

  .jg-m-header__burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 1px;
  }

  /* ---- Drawer ---- */
  .jg-m-drawer-overlay {
    display: block !important;
    position: fixed;
    inset: 0;
    z-index: 10060;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }

  .jg-m-drawer {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 85%;
    max-width: 340px;
    z-index: 10070;
    background: #12161c;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateX(105%);
    transition: transform 0.28s ease;
    padding: env(safe-area-inset-top, 0px) 0 env(safe-area-inset-bottom, 0px);
    box-sizing: border-box;
  }

  html.jg-m-drawer-open .jg-m-drawer-overlay {
    opacity: 1;
    pointer-events: auto;
  }

  html.jg-m-drawer-open .jg-m-drawer {
    transform: translateX(0);
  }

  .jg-m-drawer[hidden],
  .jg-m-drawer-overlay[hidden] {
    display: none !important;
  }

  html.jg-m-drawer-open .jg-m-drawer[hidden],
  html.jg-m-drawer-open .jg-m-drawer-overlay[hidden] {
    display: flex !important;
  }

  html.jg-m-drawer-open .jg-m-drawer-overlay[hidden] {
    display: block !important;
  }

  .jg-m-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    padding: 0 16px;
    color: #fff;
    font: 700 16px/1 Arial, sans-serif;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .jg-m-drawer__close {
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
  }

  .jg-m-drawer__nav {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 8px 0;
  }

  .jg-m-drawer__nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 0 18px;
    color: #e8e8e8 !important;
    text-decoration: none !important;
    font: 600 15px/1.2 Arial, sans-serif;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }

  .jg-m-drawer__nav a:active {
    background: rgba(255, 255, 255, 0.06);
  }

  .jg-m-drawer__nav i {
    width: 20px;
    text-align: center;
    color: #d4a017;
  }

  /* ---- Bottom nav ---- */
  .jg-m-bottom {
    display: flex !important;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    z-index: 10040;
    height: 64px;
    border-radius: 18px;
    background: rgba(16, 18, 22, 0.94);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
    align-items: stretch;
    justify-content: space-around;
    padding: 0 4px;
    box-sizing: border-box;
  }

  .jg-m-bottom__item {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: rgba(255, 255, 255, 0.55) !important;
    text-decoration: none !important;
    font: 600 10px/1 Arial, sans-serif;
    min-height: 44px;
  }

  .jg-m-bottom__item i {
    font-size: 18px;
  }

  .jg-m-bottom__item.is-active,
  .jg-m-bottom__item:active {
    color: #f0c14b !important;
  }

  .jg-m-bottom__item--center {
    position: relative;
    top: -10px;
  }

  .jg-m-bottom__fab {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(180deg, #e51b23 0%, #9a1015 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 14px rgba(229, 27, 35, 0.45);
    margin-bottom: 2px;
  }

  .jg-m-bottom__fab i {
    font-size: 18px;
    color: #fff;
  }

  /* ---- Page shell ---- */
  #content_container.jg-home,
  .jg-home {
    padding: 0 0 24px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .jg-home__grid,
  #middle_panel.jg-home__grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    padding: 0 !important;
    width: 100% !important;
  }

  .jg-main,
  .jg-below,
  .jg-news {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    box-sizing: border-box !important;
  }

  .jg-m-hero,
  .jg-m-status,
  .jg-m-actions,
  .jg-m-login-wrap,
  .jg-m-mall,
  .jg-m-community,
  .jg-m-footer {
    display: block !important;
    width: calc(100% - 24px);
    max-width: 100%;
    margin-left: 12px;
    margin-right: 12px;
    box-sizing: border-box;
  }

  /* ---- Shared buttons ---- */
  .jg-m-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 12px;
    font: 700 13px/1 Arial, sans-serif;
    text-decoration: none !important;
    border: 1px solid transparent;
    box-sizing: border-box;
    text-align: center;
  }

  .jg-m-btn--primary {
    background: linear-gradient(180deg, #e51b23, #a01016);
    color: #fff !important;
  }

  .jg-m-btn--ghost {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.18);
    color: #fff !important;
  }

  .jg-m-btn--block {
    width: 100%;
  }

  .jg-m-btn--sm {
    min-height: 40px;
    font-size: 12px;
    width: 100%;
  }

  .jg-m-btn:active {
    transform: scale(0.97);
  }

  /* ---- Hero ---- */
  .jg-m-hero {
    position: relative;
    width: calc(100% - 24px);
    min-height: 320px;
    height: auto;
    margin: 12px auto;
    padding: 24px 16px 16px;
    display: flex !important;
    align-items: flex-end;
    overflow: hidden;
    border-radius: 20px;
    box-sizing: border-box;
    background-color: #050505;
    background-image: url('/assets/zs/hero.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
    box-shadow:
      0 12px 30px rgba(0, 0, 0, 0.45),
      inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  }

  .jg-m-hero__bg {
    display: none !important;
  }

  .jg-m-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.12) 0%,
        rgba(0, 0, 0, 0.28) 36%,
        rgba(0, 0, 0, 0.88) 72%,
        rgba(0, 0, 0, 0.96) 100%
      ),
      linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.18) 55%,
        rgba(0, 0, 0, 0.28) 100%
      );
  }

  .jg-m-hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: auto;
    display: block;
    padding: 0;
    box-sizing: border-box;
  }

  .jg-m-hero__eyebrow {
    display: block;
    margin: 0 0 6px;
    color: #f7c948;
    font: 800 12px/1.2 Arial, Helvetica, sans-serif;
    letter-spacing: 0.5px;
  }

  .jg-m-hero__title {
    margin: 0;
    color: #fff;
    font: 900 30px/1 Arial, Helvetica, sans-serif;
  }

  .jg-m-hero__title-light {
    color: #ffffff;
  }

  .jg-m-hero__title-accent {
    color: #ef1f2a;
  }

  .jg-m-hero__meta {
    margin: 8px 0 18px;
    color: #d6d9df;
    font: 700 13px/1.2 Arial, Helvetica, sans-serif;
  }

  .jg-m-hero__cta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .jg-m-hero__cta .jg-m-btn {
    flex: none;
    width: 100%;
    min-height: 48px;
    border-radius: 12px;
    font: 800 14px/1 Arial, Helvetica, sans-serif;
    letter-spacing: 0.3px;
  }

  .jg-m-hero__cta .jg-m-btn--primary {
    background: linear-gradient(180deg, #ef1f2a 0%, #c70e19 100%);
    box-shadow: 0 8px 18px rgba(220, 20, 30, 0.28);
    border: 0;
  }

  .jg-m-hero__cta .jg-m-btn--ghost {
    background: rgba(20, 23, 29, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
  }

  /* ---- Status ---- */
  .jg-m-status {
    background: #1b2129;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 14px 12px 10px;
    margin-bottom: 12px;
  }

  .jg-m-status__cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    text-align: center;
  }

  .jg-m-status__label {
    display: block;
    color: rgba(255, 255, 255, 0.45);
    font: 600 11px/1.2 Arial, sans-serif;
    margin-bottom: 6px;
  }

  .jg-m-status__value {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #fff;
    font: 700 14px/1.2 Arial, sans-serif;
  }

  .jg-m-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2ecc71;
    box-shadow: 0 0 8px rgba(46, 204, 113, 0.7);
  }

  .jg-m-status__updated {
    margin: 10px 0 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font: 400 11px/1.2 Arial, sans-serif;
  }

  .jg-m-status__gauge {
    margin: 12px 2px 0;
    padding: 0;
  }

  .jg-m-status__gauge-track {
    position: relative;
    height: 10px;
    overflow: hidden;
    border-radius: 2px;
    border: 1px solid #0a0704;
    background:
      repeating-linear-gradient(90deg, rgba(255,255,255,0.02) 0 1px, transparent 1px 6px),
      linear-gradient(180deg, #0e0b08 0%, #1a1410 42%, #0a0806 100%);
    box-shadow:
      0 0 0 2px #8a6a2e,
      0 0 0 3px #3a2810,
      inset 0 2px 3px rgba(0, 0, 0, 0.75);
  }

  .jg-m-status__gauge-fill {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: var(--jg-occ, 0%);
    max-width: 100%;
    min-width: 0;
    background: linear-gradient(180deg, #fff1b0 0%, #f0c65a 14%, #e09a28 38%, #b86812 62%, #8a4208 86%, #5c2c06 100%);
    box-shadow:
      inset 0 1px 0 rgba(255, 245, 200, 0.5),
      0 0 8px rgba(224, 150, 40, 0.25);
    transition: width 0.65s cubic-bezier(0.22, 0.61, 0.36, 1);
  }

  .jg-m-status__gauge[data-online]:not([data-online="0"]) .jg-m-status__gauge-fill {
    min-width: 5px;
  }

  .jg-m-status__gauge-needle {
    position: absolute;
    top: -1px;
    bottom: -1px;
    left: var(--jg-occ, 0%);
    width: 3px;
    margin-left: -1.5px;
    border-radius: 1px;
    background: linear-gradient(180deg, #fff8e8, #8a8578 70%, #4a463c);
    box-shadow: 0 0 4px rgba(255, 220, 140, 0.35);
    transition: left 0.65s cubic-bezier(0.22, 0.61, 0.36, 1);
    pointer-events: none;
  }

  /* ---- Quick actions ---- */
  .jg-m-actions {
    margin-bottom: 12px;
  }

  .jg-m-actions__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .jg-m-action {
    min-height: 78px;
    border-radius: 14px;
    background: #1b2129;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff !important;
    text-decoration: none !important;
    font: 600 11px/1.15 Arial, sans-serif;
    text-align: center;
    padding: 8px 4px;
    box-sizing: border-box;
    transition: transform 0.15s ease;
  }

  .jg-m-action i {
    font-size: 20px;
    color: #f0c14b;
  }

  .jg-m-action:active {
    transform: scale(0.96);
  }

  .jg-m-more {
    margin-top: 10px;
    background: #1b2129;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
  }

  .jg-m-more > summary {
    list-style: none;
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    cursor: pointer;
    font: 600 13px/1 Arial, sans-serif;
  }

  .jg-m-more > summary::-webkit-details-marker { display: none; }

  .jg-m-more__links {
    display: flex;
    flex-direction: column;
    padding: 0 8px 8px;
  }

  .jg-m-more__links a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0 8px;
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none !important;
    font: 500 13px/1.2 Arial, sans-serif;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  /* ---- Login card ---- */
  .jg-m-login-wrap {
    margin-bottom: 16px;
  }

  .jg-m-login,
  .jg-m-account {
    background: #1b2129;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 16px;
  }

  .jg-m-login-loader {
    min-height: 0;
    margin-bottom: 8px;
  }

  .jg-m-login-loader .loaderHorizontal {
    margin: 8px auto;
  }

  .jg-m-field {
    display: block;
    margin-bottom: 12px;
    position: relative;
  }

  .jg-m-field__label {
    display: block;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.55);
    font: 600 12px/1 Arial, sans-serif;
  }

  .jg-m-field input {
    width: 100%;
    min-height: 46px;
    height: 46px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #0f1318;
    color: #fff;
    padding: 0 14px;
    font-size: 16px !important;
    box-sizing: border-box;
  }

  .jg-m-field--pass input {
    padding-right: 48px;
  }

  .jg-m-pass-toggle {
    position: absolute;
    right: 4px;
    bottom: 1px;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.55);
    cursor: pointer;
  }

  .jg-m-login__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 12px;
  }

  .jg-m-login__links a {
    color: #f0c14b !important;
    text-decoration: none !important;
    font: 600 13px/1.2 Arial, sans-serif;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .jg-m-account__name {
    color: #fff;
    font: 700 16px/1.3 Arial, sans-serif;
    margin: 0 0 6px;
  }

  .jg-m-account__silk {
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 14px;
  }

  /* ---- News pills + cards ---- */
  .jg-news {
    margin-top: 4px !important;
  }

  .jg-news-tabs,
  #rank-menu.jg-news-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: 100% !important;
    padding: 0 0 10px !important;
    background: transparent !important;
    border: 0 !important;
  }

  .jg-news-tabs::-webkit-scrollbar { display: none; }

  #middle_panel_news_allnewsbutton {
    display: none !important;
  }

  .jg-news-tab.button6,
  a.jg-news-tab {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 44px !important;
    height: auto !important;
    padding: 0 14px !important;
    border-radius: 999px !important;
    background: #1b2129 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.75) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    box-shadow: none !important;
  }

  .jg-news-tab .jg-news-tab__icon {
    display: none !important;
  }

  .jg-news-tab.active,
  .jg-news-tab[aria-selected="true"] {
    background: linear-gradient(180deg, #f0c14b, #c9961a) !important;
    color: #1a1200 !important;
    border-color: transparent !important;
  }

  .jg-news-tab__label {
    font: 700 12px/1 Arial, sans-serif !important;
    white-space: nowrap;
  }

  .jg-news-tab__label--desk {
    display: none !important;
  }

  .jg-news-tab__label--mob {
    display: inline !important;
  }

  .ranking-mini,
  #rank-result {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    background: transparent !important;
  }

  /* Güncellemeler sekmesi: guncelleme.php parşömen + koyu şerit */
  .jg-news .ranking-mini:has(.jg-home-updates),
  .jg-home .jg-news .ranking-mini:has(.jg-home-updates) {
    background-color: #c6a574 !important;
    background-image: url("../images/bsilkroad/right-bg.jpg") !important;
    background-repeat: repeat-y !important;
    background-position: top center !important;
    background-size: 100% auto !important;
    padding: 10px 8px 16px !important;
  }

  .jg-news-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .jg-news-item {
    background: #1b2129 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 16px !important;
    overflow: hidden;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Sayfa/anasayfa güncelleme kartları mobil dark kart stilinden muaf */
  .jg-news--page .jg-news-item,
  .jg-home-updates .jg-news-item,
  #rank-result .jg-news--page .jg-news-item {
    background:
      linear-gradient(180deg, rgba(255, 250, 235, 0.35) 0%, rgba(255, 244, 220, 0.12) 100%) !important;
    border: 1px solid rgba(62, 44, 29, 0.55) !important;
    border-radius: 0 !important;
    box-shadow:
      0 0 0 1px rgba(214, 168, 52, 0.45),
      inset 0 1px 0 rgba(255, 255, 255, 0.28),
      0 2px 8px rgba(0, 0, 0, 0.12) !important;
  }

  .jg-news--page .jg-news-item__head,
  .jg-home-updates .jg-news-item__head,
  #rank-result .jg-news--page .jg-news-item__head {
    display: flex !important;
    flex-wrap: wrap !important;
    grid-template-columns: none !important;
    gap: 8px !important;
    align-items: center !important;
    padding: 8px 10px !important;
    background:
      linear-gradient(180deg, #2a2218 0%, #1a140e 55%, #120e0a 100%) !important;
  }

  .jg-news--page .jg-news-item__icon,
  .jg-home-updates .jg-news-item__icon {
    display: block !important;
  }

  .jg-news--page .jg-news-item__cat,
  .jg-home-updates .jg-news-item__cat {
    display: inline-flex !important;
    color: #f0d9a0 !important;
  }

  .jg-news--page .jg-news-item__title,
  .jg-home-updates .jg-news-item__title {
    grid-column: auto !important;
    color: #fff5dc !important;
    font: 700 12px/1.35 Georgia, "Times New Roman", serif !important;
    -webkit-line-clamp: unset !important;
    display: block !important;
    overflow: visible !important;
  }

  .jg-news--page .jg-news-item__date,
  .jg-home-updates .jg-news-item__date {
    color: #d7c49a !important;
    border: 1px solid rgba(214, 168, 52, 0.55) !important;
    background:
      linear-gradient(180deg, #1a2540 0%, #0d1525 55%, #060a12 100%) !important;
    padding: 4px 8px !important;
    font: 600 10px/1.2 Arial, Helvetica, sans-serif !important;
  }

  .jg-news--page .jg-news-item__content,
  .jg-news--page .jg-news-item__content p,
  .jg-news--page .jg-news-item__content li,
  .jg-home-updates .jg-news-item__content,
  .jg-home-updates .jg-news-item__content p,
  .jg-home-updates .jg-news-item__content li {
    color: #3b1d0d !important;
    font-family: Georgia, "Times New Roman", serif !important;
    text-align: center !important;
  }

  .jg-news--page .jg-news-item__content h1,
  .jg-news--page .jg-news-item__content h2,
  .jg-news--page .jg-news-item__content h3,
  .jg-news--page .jg-news-item__content strong,
  .jg-news--page .jg-news-item__content b,
  .jg-home-updates .jg-news-item__content h1,
  .jg-home-updates .jg-news-item__content h2,
  .jg-home-updates .jg-news-item__content h3,
  .jg-home-updates .jg-news-item__content strong,
  .jg-home-updates .jg-news-item__content b {
    color: #2a1408 !important;
  }

  .jg-news--page .jg-news-item:not(.jg-news-item--featured),
  .jg-home-updates .jg-news-item:not(.jg-news-item--featured) {
    display: block !important;
  }

  .jg-news--page .jg-news-item.jg-news-item--open .jg-news-item__body,
  .jg-home-updates .jg-news-item.jg-news-item--open .jg-news-item__body {
    display: block !important;
  }

  .jg-news--page .jg-news-item__media,
  .jg-news--page .jg-news-item__excerpt,
  .jg-news--page .jg-news-item__more,
  .jg-home-updates .jg-news-item__media,
  .jg-home-updates .jg-news-item__excerpt,
  .jg-home-updates .jg-news-item__more {
    display: none !important;
  }

  .jg-news-item__head {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    gap: 6px 10px !important;
    padding: 12px !important;
    align-items: start !important;
    background: transparent !important;
    min-height: 44px;
  }

  .jg-news-item__icon,
  .jg-news-item__divider {
    display: none !important;
  }

  .jg-news-item__title {
    grid-column: 1 / -1;
    color: #fff !important;
    font: 700 15px/1.35 Arial, sans-serif !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .jg-news-item__date {
    color: rgba(255, 255, 255, 0.45) !important;
    font: 500 11px/1.2 Arial, sans-serif !important;
  }

  .jg-news-item__media {
    display: block !important;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #0f1318;
    overflow: hidden;
  }

  .jg-news-item__excerpt {
    display: -webkit-box !important;
  }

  .jg-news-item__more {
    display: inline-flex !important;
  }

  .jg-news-item__badge {
    display: block !important;
  }

  .jg-news-item__cat {
    display: none !important;
  }

  .jg-news-item__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .jg-news-item__badge {
    position: absolute;
    left: 10px;
    top: 10px;
    z-index: 1;
    background: rgba(0, 0, 0, 0.65);
    color: #f0c14b;
    font: 700 10px/1 Arial, sans-serif;
    padding: 6px 8px;
    border-radius: 8px;
  }

  .jg-news-item--featured {
    position: relative;
  }

  .jg-news-item--featured .jg-news-item__media {
    position: relative;
  }

  .jg-news-item:not(.jg-news-item--featured) {
    display: grid;
    grid-template-columns: 88px 1fr;
    align-items: stretch;
  }

  .jg-news-item:not(.jg-news-item--featured) .jg-news-item__media {
    aspect-ratio: auto;
    height: 100%;
    min-height: 88px;
  }

  .jg-news-item:not(.jg-news-item--featured) .jg-news-item__head {
    grid-column: auto;
  }

  .jg-news-item:not(.jg-news-item--open) .jg-news-item__body {
    display: none !important;
  }

  .jg-news-item.jg-news-item--open .jg-news-item__body {
    display: block !important;
  }

  .jg-news-item__excerpt {
    color: rgba(255, 255, 255, 0.65);
    font: 400 13px/1.4 Arial, sans-serif;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 12px 8px;
  }

  .jg-news-item__more {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin: 0 12px 8px;
    color: #f0c14b !important;
    font: 700 13px/1 Arial, sans-serif;
    text-decoration: none !important;
  }

  .jg-news-item__body {
    padding: 0 12px 12px !important;
    color: rgba(255, 255, 255, 0.8) !important;
  }

  .jg-news-item__content img {
    max-width: 100% !important;
    height: auto !important;
  }

  .jg-news-empty {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 120px !important;
    border-radius: 16px !important;
  }

  /* ---- Mall ---- */
  .jg-m-mall {
    margin-top: 8px;
    margin-bottom: 16px;
  }

  .jg-m-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
  }

  .jg-m-section-head h2 {
    margin: 0;
    color: #fff;
    font: 700 18px/1.2 Arial, sans-serif;
  }

  .jg-m-section-head a {
    color: #f0c14b !important;
    text-decoration: none !important;
    font: 600 13px/1 Arial, sans-serif;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .jg-m-mall__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .jg-m-mall-card {
    background: #1b2129;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    overflow: hidden;
    min-width: 0;
    display: flex;
    flex-direction: column;
  }

  .jg-m-mall-card__media {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #0f1318;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-sizing: border-box;
  }

  .jg-m-mall-card__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .jg-m-mall-card__body {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
  }

  .jg-m-mall-card__silk {
    color: #fff;
    font: 700 14px/1.2 Arial, sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .jg-m-mall-card__bonus {
    color: #2ecc71;
    font: 600 12px/1.2 Arial, sans-serif;
  }

  .jg-m-mall-card__total {
    color: rgba(255, 255, 255, 0.7);
    font: 500 12px/1.2 Arial, sans-serif;
  }

  .jg-m-mall-card__price {
    color: #f0c14b;
    font: 700 13px/1.2 Arial, sans-serif;
    margin: 4px 0;
    overflow-wrap: anywhere;
  }

  /* ---- Community ---- */
  .jg-m-community {
    background: #1b2129;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px;
    margin-bottom: 16px;
  }

  .jg-m-community__text {
    margin: 0 0 14px;
    color: rgba(255, 255, 255, 0.85);
    font: 500 14px/1.45 Arial, sans-serif;
  }

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

  /* ---- Sponsor showcase (mobile) ---- */
  #jg-sponsors.sponsor-showcase,
  .sponsor-showcase {
    width: calc(100% - 20px) !important;
    max-width: 100% !important;
    margin: 12px auto 24px !important;
    background: transparent !important;
  }

  #jg-sponsors .sponsor-frame,
  .sponsor-showcase .sponsor-frame {
    min-height: 0 !important;
    background: transparent !important;
  }

  #jg-sponsors .sponsor-frame__inner,
  .sponsor-showcase .sponsor-frame__inner {
    padding: 32px 24px 28px !important;
    min-height: 0 !important;
    gap: 14px !important;
  }

  #jg-sponsors .sponsor-header,
  .sponsor-showcase .sponsor-header {
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    background: none !important;
    border: 0 !important;
  }

  #jg-sponsors .sponsor-marquee,
  .sponsor-showcase .sponsor-marquee {
    width: 100% !important;
    overflow: hidden !important;
  }

  #jg-sponsors .sponsor-marquee__track,
  .sponsor-showcase .sponsor-marquee__track {
    display: flex !important;
  }

  #jg-sponsors .sponsor-marquee__group,
  .sponsor-showcase .sponsor-marquee__group {
    display: flex !important;
    flex-wrap: nowrap !important;
  }

  #jg-sponsors .sponsor-slot,
  .sponsor-showcase .sponsor-slot {
    width: 108px !important;
    min-width: 108px !important;
    height: 112px !important;
    max-height: 112px !important;
    flex: 0 0 auto !important;
  }

  /* ---- Footer ---- */
  .jg-m-footer {
    padding: 8px 4px 20px;
    color: rgba(255, 255, 255, 0.65);
    text-align: center;
  }

  .jg-m-footer__brand img {
    max-width: 140px;
    height: auto;
    margin-bottom: 8px;
  }

  .jg-m-footer__brand p {
    margin: 0 0 12px;
    font: 400 13px/1.4 Arial, sans-serif;
  }

  .jg-m-footer__social {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
  }

  .jg-m-footer__social a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #1b2129;
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
  }

  .jg-m-footer__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 14px;
    margin-bottom: 10px;
  }

  .jg-m-footer__links a {
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none !important;
    font: 600 12px/1 Arial, sans-serif;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .jg-m-footer__legal {
    text-align: left;
    background: #1b2129;
    border-radius: 12px;
    padding: 0 12px;
    margin-bottom: 12px;
  }

  .jg-m-footer__legal summary {
    min-height: 44px;
    display: flex;
    align-items: center;
    cursor: pointer;
    font: 600 13px/1 Arial, sans-serif;
    color: #fff;
  }

  .jg-m-footer__copy {
    font: 400 11px/1.3 Arial, sans-serif;
    margin: 0;
  }

  /* Hover sticky prevention on touch */
  @media (hover: none) {
    .jg-m-action:hover,
    .jg-m-btn:hover,
    .jg-news-tab:hover {
      filter: none;
    }
  }
}

@media (max-width: 480px) {
  .jg-m-hero {
    min-height: 300px;
  }

  .jg-m-hero__title {
    font-size: 28px;
  }

  .jg-m-action span {
    font-size: 10px;
  }
}

@media (max-width: 360px) {
  .jg-m-hero {
    min-height: 300px;
    padding: 20px 14px 14px;
    background-position: center top;
  }

  .jg-m-hero__title {
    font-size: 26px;
  }

  .jg-m-hero__cta .jg-m-btn {
    min-height: 46px;
    font-size: 13px;
  }

  .jg-m-mall__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .jg-m-actions__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jg-m-action {
    min-height: 72px;
  }

  .jg-m-header__sub {
    display: none;
  }
}

@media (min-width: 769px) {
  .jg-m-header,
  .jg-m-drawer,
  .jg-m-drawer-overlay,
  .jg-m-bottom,
  .jg-m-hero,
  .jg-m-status,
  .jg-m-actions,
  .jg-m-login-wrap,
  .jg-m-mall,
  .jg-m-community,
  .jg-m-footer {
    display: none !important;
  }

  .jg-news-tab__label--mob {
    display: none !important;
  }

  .jg-news-tab__label--desk {
    display: inline !important;
  }
}
