/* JAPAN POOLS - local overrides on top of original bootstrap + main.css */

/* ---- Static JPY ticker tape (replaces TradingView embed - blocked on localhost) ---- */
.jp-ticker-wrap {
  width: 100%;
  overflow: hidden;
  background: #1e1e2e;
  height: 46px;
  display: flex;
  align-items: center;
}
.jp-ticker-track {
  display: flex;
  white-space: nowrap;
  animation: jp-scroll 30s linear infinite;
}
.jp-ticker-item {
  display: inline-block;
  padding: 0 28px;
  font-size: 13px;
  font-weight: 500;
  color: #d1d4dc;
  font-family: 'Roboto', sans-serif;
}
.jp-ticker-val { font-weight: 600; }
.jp-ticker-val.up { color: #26a69a; }
.jp-ticker-val.dn { color: #ef5350; }
@-webkit-keyframes jp-scroll {
  0%   { -webkit-transform: translateX(0); transform: translateX(0); }
  100% { -webkit-transform: translateX(-50%); transform: translateX(-50%); }
}
@keyframes jp-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- Home icon (fa-home substitute) ---- */
.ico-home {
  display: inline-block;
  width: 20px;
  height: 20px;
  background: url("assets/icons/home.svg") center / contain no-repeat;
  vertical-align: middle;
}

/* ---- Social brand icons (fa-brands substitute) ---- */
.footer-bot .fa-brands {
  display: inline-block;
  width: 32px;
  height: 32px;
  vertical-align: middle;
  background: url("assets/icons/facebook.svg") center / contain no-repeat;
}
.footer-bot .fa-x-twitter {
  background-image: url("assets/icons/x-twitter.svg");
}
.footer-bot .fa-instagram {
  background-image: url("assets/icons/instagram.svg");
}
.footer-bot .fa-youtube {
  background-image: url("assets/icons/youtube.svg");
}

/* ---- Accordion chevron: original site's Font Awesome never loads,
       so its <i class="fas fa-chevron-up"> is 0x0 and invisible. Match it. ---- */
.fa-chevron-up::before {
  content: none;
}

/* ---- Footer lottery icons: img-fluid (max-width:100%) beats col-1 in Safari.
       Override with explicit width + max-width on both the img and its <a> wrapper. ---- */
.footer-bot .col-12.col-xl-12.mt-3 a {
  display: inline-block;
  width: 8.333333%;
  max-width: 8.333333%;
  padding: 0;
}
.footer-bot .col-12.col-xl-12.mt-3 a img {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto;
}

/* ---- Result page table wrapper ---- */
.result-table-wrap {
  background: #726961;
  margin: 5px 0;
}
