/* MineralTokens.com: token tables, built on the shared .group / .ptable styles */
.tk-table { min-width: 820px; }
.tk-table tbody tr { cursor: default; }
.tk-table .tk-ic { --badge: var(--g-precious); font-size: 8px; }
.tk-table th.tk-txt, .tk-table td.tk-txt { text-align: left; color: #4b525e; white-space: normal; line-height: 1.3; }
.tk-table td.tk-txt { min-width: 96px; }
.tk-table td.tk-unit { color: #767b85; }
.tk-table th:nth-child(2) { background: #f6f7fa; color: var(--navy); font-weight: 600; }
.tk-table td.last { background: #f6f7fa; font-weight: 700; }
.tk-table th:nth-child(4), .tk-table td:nth-child(4), .tk-table th:nth-child(8), .tk-table td:nth-child(8) { border-left: 1px solid #eceef2; }




@media (max-width: 720px) {
  .tk-table { min-width: 720px; }
  .tk-table th, .tk-table td { display: table-cell !important; }
  .tk-table .tagk { display: inline-block; }
  .tk-table td.name .nmw { flex-wrap: nowrap; }
}
.tk-other { margin-top: 22px; }
.tk-other-table { min-width: 760px; }
.tk-other-table th:nth-child(2) { background: none; color: #767b85; font-weight: 400; }
.tk-other-table td:nth-child(2) { background: none; }
.tk-other-table td.last { background: none; }
.tk-other-table th:nth-child(4), .tk-other-table td:nth-child(4), .tk-other-table th:nth-child(8), .tk-other-table td:nth-child(8) { border-left: 0; }
.tk-other-table th:nth-child(3), .tk-other-table td:nth-child(3) { border-left: 1px solid #eceef2; }
.tk-other-table td.tk-status { color: #8a8f99; font-style: italic; }
.tk-other .nm { color: #4b525e; }
/* Price movement: % change pills and flashes when a price ticks up or down */
.tk-table td.chg .pill { display: inline-block; min-width: 74px; padding: 3px 9px; border-radius: 999px; font-weight: 600; text-align: right; background: #f1f2f5; color: #5d636e; }
.tk-table td.chg.up .pill { background: color-mix(in srgb, var(--up) 14%, white); color: var(--up-ink); }
.tk-table td.chg.down .pill { background: color-mix(in srgb, var(--down) 12%, white); color: var(--down-ink); }
.tk-table td.last .tick { font-size: 10px; margin-right: 6px; vertical-align: 1px; }
.tk-table td.last.flash-up { animation: tkFlashUp 2.4s ease-out; }
.tk-table td.last.flash-down { animation: tkFlashDown 2.4s ease-out; }
@keyframes tkFlashUp { 0%, 25% { background: color-mix(in srgb, var(--up) 26%, white); color: var(--up-ink); } 100% { background: #f6f7fa; } }
@keyframes tkFlashDown { 0%, 25% { background: color-mix(in srgb, var(--down) 22%, white); color: var(--down-ink); } 100% { background: #f6f7fa; } }
@media (prefers-reduced-motion: reduce) { .tk-table td.last.flash-up, .tk-table td.last.flash-down { animation: none; } }
.tk-table td.last.up { color: var(--up-ink); }
.tk-table td.last.down { color: var(--down-ink); }
/* Boxed page, matching MineralFunds.com and MineralPrices.com: the site sits in a
   1280px column on a light grey background. */
html { background: #f1f2f5; }
body { background: transparent; }
body > .ticker, body > .brand-head, body > .mainnav, body > main, body > footer {
  max-width: 1280px; margin-left: auto; margin-right: auto;
}
body > .ticker, body > main { background-color: #fff; }
body > main { min-height: 40vh; }
@media (max-width: 1280px) { html { background: #fff; } }
body > main { padding-bottom: 60px; }
body > footer.site-foot { margin-top: 0; }

/* Top ticker in the MineralPrices.com style */
.ticker { display: flex; align-items: stretch; }
.ticker .tk-livetag { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 0 14px; background: #000080; color: #fff; font-weight: 700; font-size: 13px; letter-spacing: .04em; position: relative; z-index: 2; }
.ticker .tk-livetag i { width: 9px; height: 9px; border-radius: 50%; background: #ef3c46; animation: tkPulse 1.6s ease-out infinite; }
@keyframes tkPulse { 0% { box-shadow: 0 0 0 0 rgba(239, 60, 70, .6); } 100% { box-shadow: 0 0 0 7px rgba(239, 60, 70, 0); } }
.ticker .track { flex: none; }
.ticker .item .lbl { font-weight: 600; }
.ticker .item .px { font-weight: 700; color: #1b1f27; }
.ticker .tpill { display: inline-block; padding: 2px 8px; border-radius: 999px; font-weight: 600; font-size: 13px; background: #f1f2f5; color: #5d636e; }
.ticker .tpill.up { background: color-mix(in srgb, var(--up) 14%, white); color: var(--up-ink); }
.ticker .tpill.down { background: color-mix(in srgb, var(--down) 12%, white); color: var(--down-ink); }
@media (prefers-reduced-motion: reduce) { .ticker .tk-livetag i { animation: none; } }

/* Summary cards, in the MineralFunds.com style */
.tk-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 6px 0 22px; }
.tk-cards:empty { display: none; }
.tk-card { border: 1px solid #e3e5ea; border-top: 3px solid #e4b338; border-radius: 12px; padding: 18px 20px 16px; background: #fff; min-width: 0; }
.tk-card.dark { background: #000080; border-color: #000080; color: #fff; }
.tk-card-l { font-family: var(--table); font-size: 14px; color: #3b414c; }
.tk-card.dark .tk-card-l { color: #fff; }
.tk-card-v { font-family: var(--table); font-size: 32px; font-weight: 700; color: #000080; margin: 8px 0 6px; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tk-card.dark .tk-card-v { color: #fff; }
.tk-card-s { font-family: var(--table); font-size: 13px; color: #9aa0aa; }
.tk-card.dark .tk-card-s { color: rgba(255, 255, 255, .85); }
@media (max-width: 900px) { .tk-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .tk-card-v { font-size: 26px; } }
#silver .tk-table .tk-ic, [data-token-other="silver"] .tk-ic { --badge: #dfe3ea; }
.tk-table td.tk-prem { color: #3b414c; }
.tk-table { min-width: 900px; }
