/* Live Rates: metallic lettering and single ingots from the theme1.jpeg reference. */
.isg-live-page .app-main { isolation: isolate; }
.isg-live-page #liveBoard,
.isg-live-page .jainam-market-tabs,
.isg-live-page .market-marquee,
.isg-live-page .app-footer { position: relative; z-index: 1; }

.isg-live-page .jainam-brand-type strong {
  color: #f5d36b;
}

@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .isg-live-page .jainam-brand-type strong {
    background-image: linear-gradient(180deg, #fff3b4 0%, #ffe78b 22%, #f6ce57 45%, #bd7917 57%, #f2c94f 73%, #ffe595 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
}

.isg-live-page .isg-live-board .market-image:not([src$="rupee-coin.png"]) {
  width: 64px !important;
  height: 96px !important;
  object-fit: contain;
}

@media (max-width: 767px) {
  .isg-live-page .isg-live-board .market-image:not([src$="rupee-coin.png"]) {
    width: 43px !important;
    height: 58px !important;
    margin-bottom: 5px !important;
  }
}

@media (forced-colors: active) {
  .isg-live-page .jainam-brand-type strong {
    background-image: none;
    color: CanvasText;
    -webkit-text-fill-color: CanvasText;
  }
}

/* Compact desktop trading board: keep the catalogue high in the viewport. */
@media (min-width: 901px) {
  .isg-live-page .app-topbar,
  .isg-live-page .app-topbar.is-scrolled {
    grid-template-rows: 64px 40px;
    min-height: 104px;
  }
  .isg-live-page .topbar-wordmark .board-wordmark img {
    width: 46px !important;
    height: 52px !important;
  }
  .isg-live-page .topbar-wordmark .jainam-brand-type { gap: 6px; }
  .isg-live-page .topbar-wordmark .jainam-brand-type strong { font-size: 26px; }
  .isg-live-page .app-topbar .topbar-nav-slot .ma-menu > li > .ma-menu-link,
  .isg-live-page .app-topbar .topbar-nav-slot .ma-menu > li > .ma-menu-trigger {
    min-height: 39px;
  }
  .isg-live-page .market-marquee { min-height: 32px; }
  .isg-live-page .market-marquee-label { padding: 4px 16px; font-size: 12px; }
  .isg-live-page .market-marquee-viewport { padding-block: 4px; }
  .isg-live-page .market-marquee-item { font-size: 13px; line-height: 1.4; }
  .isg-live-page .market-marquee-pause { min-height: 32px; padding-block: 4px; font-size: 12px; }
  .isg-live-page .jainam-market-tabs a,
  .isg-live-page .jainam-market-tabs button {
    min-height: 40px;
    height: 40px;
    padding-block: 6px;
    font-size: 15px;
    line-height: 1.4;
  }
  .isg-live-page .rates-page.container { margin: 12px auto 16px !important; }
  .isg-live-page .isg-live-board .market-grid.row { margin-bottom: 12px !important; }
  .isg-live-page .isg-live-board .market-card {
    min-height: 104px !important;
    padding: 10px 12px !important;
  }
  .isg-live-page .isg-live-board .market-name { margin-bottom: 4px !important; }
  .isg-live-page .isg-live-board .market-value { font-size: 28px !important; }
  .isg-live-page .isg-live-board .market-card .market-image {
    width: 40px !important;
    height: 56px !important;
    margin-right: 10px !important;
  }
  .isg-live-page .isg-live-board .market-range {
    margin-top: 6px;
    padding-top: 6px;
    font-size: 11px;
    line-height: 1.4;
  }
  .isg-live-page .isg-live-board .rates-table.table thead th {
    height: 40px !important;
    padding: 0 16px !important;
    font-size: 15px !important;
  }
  .isg-live-page .isg-live-board .rates-table.table tbody th,
  .isg-live-page .isg-live-board .rates-table.table tbody td {
    height: 56px !important;
    padding: 4px 16px !important;
  }
  .isg-live-page .isg-live-board .rates-table .price-link {
    height: 32px;
    min-height: 32px;
  }
  .isg-live-page .isg-live-board .metal-mark { width: 10px; flex-basis: 10px; height: 28px; }
  .isg-live-page .isg-live-board .data-note { margin: 8px 0 0; font-size: 11px; line-height: 1.5; }
  .isg-live-page .isg-motion-toggle { min-height: 28px; margin: 0 0 0 8px; padding: 4px 8px; }
  .isg-live-page [data-market-status]:empty { display: none; }
}
