/* eWallPrints.nl — het live scherm (pagina /live en widget "scherm"). Los van style.css. */
.live-screen {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px) 0 0 / 100% 28px,
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px) 0 0 / 28px 100%,
    #0B0E13;
  color: #E8EAED; border-radius: 10px; border-top: 3px solid #E65410;
  box-shadow: 0 24px 60px -24px rgba(14, 17, 22, .55), 0 0 0 1px rgba(14, 17, 22, .9);
}
.live-screen__bar { display: flex; align-items: center; gap: 12px; padding: 12px 18px; font-size: 12px; letter-spacing: .08em; color: #9AA3AE; border-bottom: 1px solid #1C2129; }
.live-screen__dots { display: inline-flex; gap: 6px; }
.live-screen__dots i { width: 9px; height: 9px; border-radius: 50%; background: #262C34; }
.live-screen__live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; color: #4ADE94; }
.live-screen__live b { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 rgba(74, 222, 148, .6); animation: hs-pulse 1.8s ease-out infinite; }
@keyframes hs-pulse { 70% { box-shadow: 0 0 0 9px rgba(74, 222, 148, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 148, 0); } }

.live-screen__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid #1C2129; }
.live-screen__stats > div { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-right: 1px solid #1C2129; min-width: 0; }
.live-screen__stats > div:last-child { border-right: 0; }
.live-screen__stats span { font-size: 12px; color: #9AA3AE; }
.live-screen__stats strong { font-size: clamp(18px, 2.2vw, 26px); font-weight: 600; color: #fff; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.live-screen__chart { display: flex; align-items: flex-end; gap: 3px; height: 74px; padding: 12px 18px 0; border-bottom: 1px solid #1C2129; }
.live-screen__chart i { flex: 1; min-height: 2px; border-radius: 2px 2px 0 0; background: #262C34; transition: height .5s ease; }
.live-screen__chart i.up { background: linear-gradient(to top, rgba(74, 222, 148, .35), #4ADE94); }
.live-screen__chart i.down { background: linear-gradient(to top, rgba(255, 138, 126, .3), #FF8A7E); }
.live-screen__chart i.is-new { animation: hs-grow .5s ease-out; }
@keyframes hs-grow { from { transform: scaleY(0); transform-origin: bottom; } }

.live-screen__feed { list-style: none; margin: 0; padding: 6px 0; height: 258px; overflow: hidden; }
.hs-row { display: grid; grid-template-columns: 92px 18px 1fr 120px 70px; align-items: center; gap: 10px; height: 41px; padding: 0 18px; font-size: 14px; border-bottom: 1px solid rgba(255, 255, 255, .04); }
.hs-row__coin { display: inline-flex; align-items: center; gap: 8px; }
.hs-row__coin b { font-weight: 600; color: #fff; }
.hs-row__side.up { color: #4ADE94; }
.hs-row__side.down { color: #FF8A7E; }
.hs-row__value { text-align: right; color: #fff; font-weight: 600; }
.hs-row__venue { display: inline-flex; align-items: center; gap: 7px; color: #C9CDD3; font-size: 13px; min-width: 0; overflow: hidden; white-space: nowrap; }
.hs-row__time { text-align: right; font-size: 12px; color: #6B7480; }
.hs-row.is-big { background: linear-gradient(90deg, rgba(230, 84, 16, .22), rgba(230, 84, 16, 0) 70%); box-shadow: inset 3px 0 0 #E65410; }
.hs-row.is-big .hs-row__value { color: #FFB38A; }
.hs-row.is-new { animation: hs-in .45s cubic-bezier(.2, .8, .2, 1), hs-flash 1.6s ease-out; }
@keyframes hs-in { from { transform: translateY(-100%); opacity: 0; } }
@keyframes hs-flash { from { background-color: rgba(255, 244, 214, .14); } }
.live-screen .icon { box-shadow: 0 0 0 1px rgba(255, 255, 255, .16); }

.live-screen__foot { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; padding: 12px 18px; border-top: 1px solid #1C2129; color: #9AA3AE; font-size: 13px; text-decoration: none; }
.live-screen__foot .mono { color: #fff; font-size: 14px; }
.live-screen__foot b { color: #FF8A4C; }
.live-screen__foot:hover { color: #fff; }

@media (max-width: 575.98px) {
  .hs-row { grid-template-columns: 80px 14px 1fr 30px; padding: 0 14px; }
  .hs-row__venue { font-size: 0; gap: 0; }
  .hs-row__time { display: none; }
  .live-screen__stats > div { padding: 12px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .live-screen__live b, .hs-row.is-new, .live-screen__chart i.is-new { animation: none; }
  .live-screen__chart i { transition: none; }
}

.live-screen .icon { display: inline-block; flex-shrink: 0; vertical-align: -0.2em; }
.live-screen .icon--coin { border-radius: 50%; }
.live-screen .icon--venue { border-radius: 22%; }
.live-screen .mono { font-family: 'IBM Plex Mono', ui-monospace, Menlo, monospace; }
.live-screen__live.is-delayed { color: #FF8A4C; }
.live-screen__live.is-delayed b { animation: none; }
.live-screen--tall .live-screen__chart { height: 110px; }
