/* =============================================================================
   dollar.css — THE DOLLAR, as much of it as is left (labs 570)
   The note sits on the deep band; the figures use the site's tokens. The
   stage's width is set by dollar.js (<= 432 px or >= 900 px, never between:
   18 U.S.C. 504). The note is never printed.
   ========================================================================== */
#dollar .d2 { max-width: 22ch; }
.dl { margin-top: clamp(1.6rem, 3vw, 2.4rem); display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
.dl-wrap { width: 100%; min-width: 0; display: flex; justify-content: center; }
.dl-stage { position: relative; width: min(100%, 432px); aspect-ratio: 2.3526 / 1; margin: 0 auto; }
.dl-ghost {
    position: absolute; inset: 0; border: 1px dashed rgba(255, 255, 255, .24); border-radius: 3px;
    background:
        repeating-linear-gradient(135deg, rgba(255,255,255,.028) 0 6px, transparent 6px 12px);
}
.dl-ghost::after {
    content: 'the dollar it was'; position: absolute; left: 10px; top: 8px;
    font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.34);
}
.dl-canvas {
    position: absolute; inset: 0; width: 100%; height: 100%; display: block;
    filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .5)) drop-shadow(0 2px 3px rgba(0, 0, 0, .35));
    -webkit-user-drag: none; user-select: none; -webkit-touch-callout: none;
}
.dl-yr {
    position: absolute; right: 2px; bottom: 100%; margin-bottom: .2rem; line-height: 1; font-weight: 700; font-size: clamp(1rem, 2.4vw, 1.5rem);
    color: rgba(255,255,255,.42); letter-spacing: .04em; font-variant-numeric: tabular-nums; pointer-events: none;
}
.dl-big { font-size: clamp(1.15rem, 2.4vw, 1.6rem); line-height: 1.3; color: #fff; margin: 0; text-align: center; }
.dl-big b { font-weight: 700; color: #fff; }
.dl-big .dl-ans { color: var(--accent-fill, #FB923C); border-bottom: 2px solid var(--accent); }
.dl-figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dl-figs > div { padding: .85rem 1rem; text-align: center; }
.dl-figs > div + div { border-left: 1px solid var(--line); }
.dl-figs dt { font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-55); margin-bottom: .3rem; }
.dl-figs dd { margin: 0; font-size: clamp(1.1rem, 2.2vw, 1.45rem); font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.dl-figs dd small { display: block; font-size: .7rem; font-weight: 400; color: var(--ink-55); margin-top: .15rem; }
.dl-ctl { display: grid; gap: .8rem; }
.dl-row { display: flex; align-items: center; gap: .6rem; }
.dl-row .btn { flex: 0 0 auto; }
.dl-step { min-width: 2.4rem; justify-content: center; }
.dl-slide { flex: 1 1 auto; display: grid; grid-template-columns: auto 1fr auto; gap: .55rem; align-items: center; font-size: .72rem; color: var(--ink-55); font-variant-numeric: tabular-nums; }
.dl-range { width: 100%; accent-color: var(--accent); height: 28px; cursor: pointer; }
.dl-picks { flex-wrap: wrap; justify-content: center; }
.dl-hint { font-size: .74rem; line-height: 1.55; color: var(--ink-55); margin: 0; }
.dl-hint b { color: var(--ink-77); font-weight: 600; }
.dl-hint a { color: var(--ink-77); }
.dl-foot { display: grid; gap: .5rem; max-width: 80ch; margin: 0 auto; text-align: center; }
.dl--off .dl-stage, .dl--off .dl-ctl, .dl--off .dl-figs { display: none; }
.dl:not(.dl--on) .dl-figs dd { opacity: .3; }
.dl-cvh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 620px) {
    .dl-figs { grid-template-columns: 1fr 1fr 1fr; }
    .dl-figs > div { padding: .7rem .4rem; }
    .dl-row--play { flex-wrap: wrap; }
    .dl-row--play .dl-play { flex: 1 1 100%; justify-content: center; }
    .dl-slide { flex: 1 1 0; min-width: 0; }
}
@media print { #dollar .dl-stage { display: none; } }
