.share-prices {
  position: fixed; z-index: 10001; right: max(14px, env(safe-area-inset-right));
  top: max(12px, env(safe-area-inset-top)); color: #ffe5c8;
  font: 500 14px/1.35 system-ui, sans-serif; text-align: left;
}
.share-prices > summary {
  width: fit-content; margin-left: auto; cursor: pointer; padding: 7px 13px;
  border: 1px solid #c68a57; border-radius: 20px; background: #190f10;
  font-weight: 700; letter-spacing: .08em;
}
.share-prices > summary:focus-visible, .share-price-card a:focus-visible {
  outline: 2px solid white; outline-offset: 2px;
}
.share-price-body {
  box-sizing: border-box; width: min(520px, calc(100vw - 28px)); margin-top: 7px;
  padding: 10px; max-height: calc(100dvh - 76px); overflow: auto; overscroll-behavior: contain;
  border: 1px solid #b87e58; border-radius: 13px; background: linear-gradient(145deg,#30201e,#0d1020 65%);
  box-shadow: 0 6px 30px #000a, inset 0 1px #f1b98166;
}
.share-price-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.share-price-card {
  min-width: 0; border: 1px solid #4b4146; border-top: 2px solid var(--quote-colour);
  border-radius: 8px; overflow: hidden; background: radial-gradient(ellipse at top left,color-mix(in srgb,var(--quote-colour) 15%,#0c1020),#090c15 80%);
}
.share-price-card a { display: flex; align-items: baseline; justify-content: space-between; gap: 4px;
  padding: 7px 9px; color: var(--quote-colour); text-decoration: none; }
.share-price-card a:hover strong { text-decoration: underline; }
.share-price-card small { color: #ecdfd6; font: 11px/1.3 ui-monospace,monospace; }
.share-price-card .tradingview-widget-container { height: 148px; width: 100%; }
.share-price-status,.share-price-body footer { display: block; padding: 5px 8px; color: #dbccc1; font-size: 12px; }
.share-price-body footer { padding-bottom: 0; }
@media (min-width:1440px) and (min-height:720px) { .share-price-body { width: min(31vw,520px); } }
@media (max-width:520px) { .share-price-grid { grid-template-columns: minmax(0,1fr); } }

/* Copper-list colour bands surround the display; charts occupy clear glass. */
.share-prices {
  --raster: linear-gradient(to bottom,#261027 0 12%,#982c59 12% 24%,
    #ef713d 24% 38%,#ffcb76 38% 48%,#fff1bf 48% 54%,
    #e47e46 54% 66%,#9d3d50 66% 80%,#48214e 80% 100%);
}
.share-prices > summary {
  display: flex; align-items: center; gap: 10px; min-height: 34px;
  box-sizing: border-box; padding: 7px 12px; list-style: none;
  border-radius: 2px 9px 2px 9px; border-color: #edaa70 #7e463b #6c3b36 #edaa70;
  background: repeating-linear-gradient(0deg,#0002 0 1px,transparent 1px 3px),
    linear-gradient(#372037,#150f24 58%,#351c2d);
  box-shadow: inset 0 0 0 2px #100d1c,0 2px 0 #32172d,0 0 12px #f0875526;
}
.share-prices > summary::-webkit-details-marker { display: none; }
.share-prices > summary::before {
  content: ''; width: 14px; height: 14px; border-radius: 50%;
  background: repeating-conic-gradient(from 30deg,#ffe6bd 0 25%,#c44836 0 50%) 0 0 / 7px 7px;
  box-shadow: inset -2px -3px 3px #480e2299,0 1px 0 #000;
}
.share-prices > summary::after {
  content: ''; width: 6px; height: 6px; border: solid #f9c98b;
  border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px);
}
.share-prices[open] > summary::after { transform: rotate(225deg) translateY(-2px); }
.share-price-body {
  border-radius: 3px 12px 3px 12px; border: 2px solid;
  border-color: #efad7a #67384d #844448 #d78660;
  background: repeating-linear-gradient(0deg,transparent 0 2px,#12081455 2px 3px),
    linear-gradient(125deg,#372033,#100d22 63%,#382136);
  box-shadow: inset 0 0 0 2px #120b18,0 5px 20px #060313b3;
}
.share-price-body::before {
  content: ''; display: block; margin: 0 1px 9px; height: 7px;
  background: var(--raster); box-shadow: 0 1px #080914;
}
.share-price-card {
  border-radius: 2px 5px 2px 5px; border-color: #805967 #493344 #493344 #805967;
  border-top: 1px solid var(--quote-colour); background: #0a0d19;
}
.share-price-card a {
  position: relative; background: linear-gradient(120deg,color-mix(in srgb,var(--quote-colour) 20%,#101224),#101224);
  border-bottom: 1px solid #493344;
}
.share-price-card strong { font: 800 15px/1.4 ui-monospace,monospace; text-shadow: 1px 2px #070712; }
.share-prices .market-letter { display: inline-block; }
.share-prices .market-wordmark { display: inline-flex; align-items: center; }
.share-prices .market-space { width: 5px; }
.share-prices .market-letter svg { display: block; width: 12px; height: 14px; }
@media (prefers-reduced-motion: no-preference) {
  .share-prices > summary:is(:hover,:focus-visible) .market-letter {
    animation: market-sine 1.25s ease-in-out 2;
    animation-delay: calc(var(--letter-index) * -75ms);
  }
  @keyframes market-sine { 0%,100% { transform: translateY(0); } 25% { transform: translateY(-2px); } 75% { transform: translateY(2px); } }
}
@media (forced-colors: active) { .market-letter svg { fill: ButtonText; } }
