.marquee-row { --glass-row-delay: 0s; }
.marquee-row:nth-child(2) { --glass-row-delay: 2.6s; }
.marquee-row:nth-child(3) { --glass-row-delay: 5.2s; }
.marquee-tile { --glass-tile-delay: 0s; }
.marquee-tile:nth-child(3n + 2) { --glass-tile-delay: .18s; }
.marquee-tile:nth-child(3n) { --glass-tile-delay: .36s; }
.marquee-face { isolation: isolate; border: 0; border-radius: 16px; }
.marquee-front { background: linear-gradient(135deg,#ffffff18,transparent 38%,#12162714), var(--tile-bg); box-shadow: inset 0 -5px 14px #0002, 0 5px 0 #0009, 0 12px 22px #0003; text-shadow: none; }
.marquee-front::before { content: none; }
@property --marquee-edge-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.marquee-front::after, .marquee-back::after { content: none; }
.marquee-tile:hover .marquee-front, .marquee-tile:focus-visible .marquee-front { box-shadow: inset 0 -5px 16px #0002, 0 8px 0 #0009, 0 14px 24px #0003; }
.marquee-back { color: var(--tile-bg); background: linear-gradient(145deg,#ffffff1f,transparent 60%),#171a27; border: 1px solid color-mix(in srgb,var(--tile-bg) 75%,white); box-shadow: inset 0 1px 0 #ffffff66, inset 0 -12px 30px color-mix(in srgb,var(--tile-bg) 12%,transparent),0 5px 0 #0009,0 12px 22px #0003; letter-spacing: .01em; }
.tone-blue .marquee-back { color: #a7b4ff; }
.tone-teal .marquee-back { color: #78efb4; }
.marquee-tile-inner::after { content: none; }

.marquee-tile { height: clamp(66px, 5.3vw, 82px); }
.marquee-front { padding-inline: 18px; font-size: clamp(1.85rem, 3vw, 2.8rem); line-height: 1; }
.marquee-back { padding: 8px 16px; font-size: clamp(.85rem, 1.05vw, 1rem); line-height: 1.35; }
.marquee-face { border-radius: 12px; }
.marquee-tile-inner::after { border-radius: 15px; }
@media(max-width:780px) {
 .word-marquee { gap: 10px; padding: 10px 0 14px; }
 .marquee-row { overflow: hidden; padding: 3px 0 12px; }
 .marquee-track, .marquee-group { gap: 10px; }
 .marquee-group { padding-right: 10px; }
 .marquee-tile { height: 60px; }
 .marquee-front { padding-inline: 14px; font-size: 1.8rem; }
 .marquee-back { padding: 6px 12px; font-size: .78rem; line-height: 1.3; }
 .marquee-front, .marquee-back { box-shadow: inset 0 -3px 9px #0002, 0 4px 0 #0009, 0 8px 14px #0003; }
}
@media(max-width:480px) {
 .marquee-tile { height: 56px; }
 .marquee-front { padding-inline: 10px; font-size: 1.7rem; }
 .marquee-back { font-size: .75rem; }
}

