:root{--tm-bg:var(--vt-red,#8B0000);--tm-fg:#fff;--tm-label-bg:var(--vt-gold,#D4AF37);--tm-label-fg:var(--vt-text,#2C1810)}
.tm-ticker{display:flex;align-items:stretch;background:var(--tm-bg);color:var(--tm-fg);overflow:hidden;font-family:inherit;font-size:16px;line-height:1.2;width:100%}
.tm-ticker-label{flex:none;background:var(--tm-label-bg);color:var(--tm-label-fg);padding:12px 16px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;z-index:1}
.tm-ticker-track{flex:1;overflow:hidden;display:flex;align-items:center}
.tm-ticker-inner{display:inline-flex;white-space:nowrap;animation:tm-scroll linear infinite;will-change:transform}
.tm-ticker-dup{display:inline-flex}
.tm-ticker-track:hover .tm-ticker-inner{animation-play-state:paused}
.tm-ticker-item{padding:0 28px}
.tm-ticker-item:after{content:"\2022";margin-left:56px;opacity:.7}
.tm-ticker a{color:inherit;text-decoration:none}
.tm-ticker a:hover{text-decoration:underline}
@keyframes tm-scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.tm-ticker-inner{animation:none}.tm-ticker-track{overflow-x:auto}}

.tm-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px}
.tm-gallery.tm-gallery-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}
.tm-gallery.tm-gallery-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.tm-gallery.tm-gallery-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.tm-gallery.tm-gallery-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.tm-gallery.tm-gallery-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}
.tm-gallery.tm-gallery-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}
.tm-gallery-item{margin:0}
.tm-gallery-item img{width:100%;aspect-ratio:var(--tm-gallery-ratio,4/3);object-fit:cover;display:block;border-radius:var(--vt-radius,8px);box-shadow:var(--vt-shadow,none)}
.tm-gallery-item figcaption{font-size:14px;padding:6px 2px;text-align:center}
.tm-cover{width:100%}
.tm-cover-btn{position:relative;display:block;width:100%;padding:0;border:0;background:none;cursor:pointer;border-radius:var(--vt-radius,8px);overflow:hidden;box-shadow:var(--vt-shadow,none);line-height:0}
.tm-cover-btn img{width:100%;aspect-ratio:var(--tm-gallery-ratio,4/3);object-fit:cover;display:block;transition:transform .5s ease}
.tm-cover-btn:hover img,.tm-cover-btn:focus-visible img{transform:scale(1.06)}
.tm-cover-btn:focus-visible{outline:3px solid var(--vt-gold,#D4AF37);outline-offset:2px}
.tm-cover-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:56px;height:56px;border-radius:50%;background:rgba(139,0,0,.85);color:#fff;font-size:22px;line-height:56px;text-align:center;padding-left:3px;transition:transform .3s,background .3s}
.tm-cover-btn:hover .tm-cover-play{transform:translate(-50%,-50%) scale(1.12);background:var(--vt-red,#8B0000)}
.tm-cover-count{position:absolute;right:10px;bottom:10px;background:rgba(0,0,0,.65);color:#fff;font-size:13px;line-height:1;padding:6px 10px;border-radius:999px}
.tm-lb-open{overflow:hidden}
.tm-lb{position:fixed;inset:0;background:rgba(0,0,0,.92);display:none;align-items:center;justify-content:center;z-index:99999;flex-direction:column}
.tm-lb.on{display:flex}
.tm-lb figure{margin:0;text-align:center;max-width:92vw}
.tm-lb img{max-width:92vw;max-height:78vh;object-fit:contain}
.tm-lb figcaption{color:#fff;margin-top:10px;min-height:1.5em}
.tm-lb button{background:none;border:0;color:#fff;cursor:pointer;line-height:1}
.tm-lb .x,.tm-lb .p,.tm-lb .n{position:absolute;font-size:44px;padding:12px}
.tm-lb .x{top:6px;right:10px}.tm-lb .p{left:6px;top:50%;transform:translateY(-50%)}.tm-lb .n{right:6px;top:50%;transform:translateY(-50%)}
.tm-lb .bar{position:absolute;bottom:14px;left:0;right:0;display:flex;justify-content:center;align-items:center;gap:14px;color:#fff;font-size:14px}
.tm-lb .pp{font-size:16px;border:1px solid rgba(255,255,255,.6);border-radius:999px;padding:8px 14px}
@media (max-width:600px){.tm-lb .p,.tm-lb .n{font-size:34px}.tm-lb img{max-height:70vh}}

@media(max-width:700px){.tm-gallery.tm-gallery-cols-4,.tm-gallery.tm-gallery-cols-5,.tm-gallery.tm-gallery-cols-6{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:420px){.tm-gallery.tm-gallery-cols-2,.tm-gallery.tm-gallery-cols-3,.tm-gallery.tm-gallery-cols-4,.tm-gallery.tm-gallery-cols-5,.tm-gallery.tm-gallery-cols-6{grid-template-columns:repeat(1,minmax(0,1fr))}}
