.night { background: var(--paper-2); }
.night .sec::before { display: none; }
.hours-head { display: grid; gap: 1.25rem 3rem; align-items: end; }
@media (min-width: 960px) { .hours-head { grid-template-columns: minmax(0, 1fr) auto; } }
.hours-pick legend { font-size: .9375rem; color: var(--graphite); margin-bottom: .4rem; }

.ribbon {
  position: relative; margin-top: 2rem; border-radius: .6rem; overflow: hidden;
  background: #0E1730; color: #E6ECEF; box-shadow: 0 0 0 1px #25324F;
  --rb-cobalt: #8FA8FF; --rb-amber: #F2B441;
}
.ribbon-top { position: relative; height: 3rem; }
.rb-chip {
  position: absolute; left: var(--chip, 50%); top: .6rem; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: .45rem; padding: .3rem .8rem; border-radius: 999px;
  background: #1F2D52; box-shadow: 0 0 0 1px #3A4A70; font-size: .9375rem; font-weight: 700;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
html:not(.js) .rb-chip { display: none; }
.rb-icon { width: 1rem; height: 1rem; border-radius: 50%; }
.rb-icon[data-sky="sun"] { background: #F2B441; box-shadow: 0 0 0 3px rgba(242, 180, 65, .25); }
.rb-icon[data-sky="moon"] { background: transparent; box-shadow: inset -.32rem -.1rem 0 0 #C9D4F6; transform: rotate(-20deg); }
.ribbon svg { display: block; width: 100%; height: auto; font-family: var(--font); }
.rb-day { fill: #22325A; } .rb-dusk { fill: #18244A; } .rb-night { fill: #0E1730; } .rb-dawn { fill: #1B2850; }
.rb-closed { fill: url(#rb-hatch); }
.rb-closed-t { fill: #A7B2C6; font-size: 14px; font-weight: 700; }
.rb-levels line { stroke: #3A4A70; stroke-width: 1.2; stroke-dasharray: 6 5; }
.rb-lv { fill: #A7B2C6; font-size: 13px; font-weight: 600; text-anchor: end; paint-order: stroke; stroke: #0E1730; stroke-width: 4px; stroke-linejoin: round; }
.rb-price-ghost { fill: none; stroke: #3A4A70; stroke-width: 2; }
.rb-price { fill: none; stroke: #F3F6F5; stroke-width: 2.6; stroke-linejoin: round; }
.rb-head-line { stroke: #F3F6F5; stroke-opacity: .35; stroke-width: 1.5; }
.rb-dot { fill: #F3F6F5; }
.rb-buy { fill: var(--rb-cobalt); stroke: #0E1730; stroke-width: 2.5; }
.rb-sell { fill: #0E1730; stroke: var(--rb-amber); stroke-width: 3.5; }
.rb-ghost { fill: none; stroke: #7D8AA6; stroke-width: 2; stroke-dasharray: 3 3; }
.rb-pair { stroke: #A7B2C6; stroke-width: 1.2; stroke-dasharray: 2 3; }
.rb-marks .is-new { transform-box: fill-box; transform-origin: center; animation: pop .45s ease-out; }
.rb-sessions { display: grid; grid-template-columns: 4fr 4fr 8fr 5.5fr 1.5fr; border-top: 1px solid #25324F; }
.rb-sessions li { padding: .55rem .6rem .7rem; border-left: 1px solid #25324F; font-size: .875rem; line-height: 1.3; color: #A7B2C6; }
.rb-sessions li:first-child { border-left: 0; }
.rb-sessions b { display: block; color: #E6ECEF; font-size: .9375rem; }
.rb-sessions li:last-child b, .rb-sessions li:last-child span { visibility: hidden; }
.rb-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 2rem; margin-top: 1rem; }
.rb-out { font-weight: 700; font-variant-numeric: tabular-nums; }
.rb-note { color: var(--graphite); font-size: 1rem; }
.rb-foot .button { padding: .45rem .9rem; font-size: .9375rem; }
html:not(.js) .rb-foot .button { display: none; }
@keyframes pop { from { opacity: 0; transform: scale(.3); } to { opacity: 1; transform: scale(1); } }
@media (max-width: 719px) {
  .rb-sessions li { padding: .45rem .3rem .55rem; font-size: .75rem; }
  .rb-sessions b { font-size: .75rem; hyphens: auto; }
  .rb-sessions span { display: none; }
  .rb-chip { font-size: .8125rem; padding: .25rem .6rem; }
}
