/* after50 (Indy notes3 item 11) */

/* Doge pane: bigger address, pill stretches so it fully covers the doge's nose (black nose = 63-77% of the mirrored
   100x115 PNG), with matching inset on the right so pill + copy stay centred. a50.js fits a middle-ellipsis cut. */
.doge-view { --nx: calc(var(--dw) * 0.63 - var(--pl) - var(--dl) - 7px); }
.doge-view .doge-addr-row { justify-content: center; padding: 0 var(--nx); box-sizing: border-box; }
.doge-view .doge-addr { flex: 1 1 auto; min-width: 0; width: auto; font-size: 13px; letter-spacing: -0.01em; padding: 0 14px; }
.doge-view .doge-addr.is-fit > span { display: none !important; }
.doge-view .doge-addr.is-fit > .doge-addr-fit { display: inline !important; }
@media (max-width: 640px) { .doge-view .doge-addr { font-size: 14px; height: 42px; } .doge-view .doge-copy { width: 42px; height: 42px; } }
@media (max-width: 380px) { .doge-view .doge-addr { font-size: 13px; } }

/* Bitcoin / Cardano / Midnight panes: slow-rocking 3D coins in the background, built like the Dogecoin coin
   (stacked rim discs + face SVG, drawn for this site). One large coin in the right gutter, cut by the pane edge,
   a medium one in the left gutter and a small, softer one lower right. Paused unless visible; still under reduced motion. */
.pay-pane .coin-view { position: relative; --cr: 12px; }
@media (max-width: 640px) {
  .pay-pane .coin-view { --cr: 13px; }
  .contact-pane.pay-pane:has(.coin-view--btc:not([hidden]), .coin-view--ada:not([hidden]), .coin-view--mn:not([hidden])) .contact-card { overflow: visible; }
}
.coin-view > :not(.cv-coins) { position: relative; z-index: 1; }
.cv-coins { position: absolute; z-index: 0; top: -8px; bottom: 0; left: calc(-1 * var(--cr)); right: calc(-1 * var(--cr));
  overflow: hidden; pointer-events: none; border-radius: 0 0 18px 18px; }
.cv-coins .doge-coin3d { --ct3: calc(var(--cd) * 0.16); left: auto; top: auto; filter: drop-shadow(0 5px 8px rgba(0, 0, 0, 0.2)) drop-shadow(0 1px 1.5px rgba(0, 0, 0, 0.16)); }
html[data-theme="dark"] .cv-coins .doge-coin3d { filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.55)) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4)); }
.cv-coins .cv-a { --cd: 104px; --crock: 5.4s; right: -30px; top: 46px; }
.cv-coins .cv-b { --cd: 50px;  --crock: 6.2s; left: -10px; top: 74px; opacity: 0.92; }
.cv-coins .cv-c { --cd: 32px;  --crock: 7s;   right: 26px; top: 176px; opacity: 0.75; filter: blur(0.5px) drop-shadow(0 3px 5px rgba(0, 0, 0, 0.18)); }
.cv-coins .cv-b .dc-spin { animation-delay: -2.1s; }
.cv-coins .cv-c .dc-spin { animation-delay: -4.3s; }
.cv-coins .cv-b .dc-spin, .cv-coins .cv-b .dc-sheen { animation-direction: reverse; }
@media (max-width: 640px) {
  .cv-coins .cv-a { --cd: 110px; right: -32px; top: 56px; }
  .cv-coins .cv-b { --cd: 54px; left: -8px; top: 92px; }
  .cv-coins .cv-c { top: 206px; right: 22px; }
}
@media (max-width: 380px) {
  .cv-coins .cv-a { --cd: 96px; }
  .cv-coins .cv-b { --cd: 46px; }
}
/* rim colours per coin */
.coin3d--btc .dc-disc { background: linear-gradient(135deg, #FFB04A 0%, #E9851A 45%, #A3530A 100%); box-shadow: inset 0 0 0 0.5px rgba(110, 50, 0, 0.45); }
.coin3d--btc .dc-disc[style*="--i:0"] { background: #874205; }
.coin3d--ada .dc-disc { background: linear-gradient(135deg, #5F8CF0 0%, #2454C8 45%, #0B2A80 100%); box-shadow: inset 0 0 0 0.5px rgba(0, 20, 80, 0.5); }
.coin3d--ada .dc-disc[style*="--i:0"] { background: #082266; }
.coin3d--mn .dc-disc { background: linear-gradient(135deg, #E2E4EC 0%, #A2A4B3 45%, #5E606D 100%); box-shadow: inset 0 0 0 0.5px rgba(30, 30, 40, 0.45); }
.coin3d--mn .dc-disc[style*="--i:0"] { background: #4a4c58; }
@media (prefers-reduced-motion: reduce) {
  .coin3d--btc .dc-disc { background: linear-gradient(135deg, #FFB04A 0%, #E9851A 45%, #A3530A 100%); }
  .coin3d--ada .dc-disc { background: linear-gradient(135deg, #5F8CF0 0%, #2454C8 45%, #0B2A80 100%); }
  .coin3d--mn .dc-disc { background: linear-gradient(135deg, #E2E4EC 0%, #A2A4B3 45%, #5E606D 100%); }
  .coin3d--btc .dc-disc[style*="--i:0"] { background: #874205; }
  .coin3d--ada .dc-disc[style*="--i:0"] { background: #082266; }
  .coin3d--mn .dc-disc[style*="--i:0"] { background: #4a4c58; }
}
