/* Keep the existing 200px sidebar card, with native touch scrolling. */
.tkshop-ad-carousel { position: relative; min-width: 0; }
.tkshop-ad-carousel [hidden] { display: none !important; }
.tkshop-ad-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; border-radius: 13px; touch-action: manipulation; }
.tkshop-ad-track::-webkit-scrollbar { display: none; }
.tkshop-ad-item { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.widget-adss .tkshop-ad-item .asr { box-shadow: none; }
.tkshop-ad-carousel .adsbg { transition: none; }
.tkshop-ad-carousel .asr { position: relative; overflow: hidden; }
.tkshop-ad-carousel .asr > picture { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.tkshop-ad-carousel .asr .asr-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tkshop-ad-carousel .tkshop-ad-arrows { position: absolute; inset: 0 10px auto; top: 162px; display: flex; justify-content: space-between; pointer-events: none; z-index: 2; }
.tkshop-ad-carousel button { appearance: none; display: inline-flex; align-items: center; justify-content: center; margin: 0; border: 0; padding: 0; box-shadow: none; cursor: pointer; touch-action: manipulation; }
.tkshop-ad-arrows button { width: 28px; height: 28px; background: rgba(20, 30, 44, .55); color: #fff; border-radius: 8px; pointer-events: auto; }
.tkshop-ad-arrows button:hover { background: rgba(20, 30, 44, .8); }
.tkshop-ad-arrows button:disabled { opacity: .3; cursor: default; }
.tkshop-ad-arrows svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tkshop-ad-toolbar { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 6px; min-height: 28px; }
.tkshop-ad-markers { display: flex; justify-content: center; flex-wrap: wrap; max-width: calc(100% - 38px); }
.tkshop-ad-markers button { width: 26px; height: 28px; background: transparent; border-radius: 6px; }
.tkshop-ad-markers span { width: 6px; height: 6px; border-radius: 6px; background: #778393; }
.tkshop-ad-markers [aria-current="true"] span { width: 18px; background: var(--theme-color, #0b8272); }
.tkshop-ad-toolbar .tkshop-ad-play { width: 28px; height: 28px; border-radius: 8px; background: rgba(125, 139, 158, .12); color: inherit; font-size: 14px; }
.tkshop-ad-carousel button:focus-visible, .tkshop-ad-track:focus-visible { outline: 2px solid var(--theme-color, #0b8272); outline-offset: 2px; }
.widget-adss:hover .tkshop-ad-carousel .toview { animation: none; }
@media (prefers-reduced-motion: no-preference) {
    .tkshop-ad-track { scroll-behavior: smooth; }
    .tkshop-ad-markers span { transition: width .18s ease, background-color .18s ease; }
}
