.lastfm-search { min-height: 100svh; padding-top: 18px; }
.lastfm-search-carousel { --cover-size: clamp(76px, 8vw, 120px); position: relative; width: 100%; overflow: hidden; min-height: calc(var(--cover-size) * 3 + 20px); }
.lastfm-search-cover-rows { display: grid; gap: 10px; opacity: .75; mask-image: linear-gradient(to bottom, #000 75%, transparent); -webkit-mask-image: linear-gradient(to bottom, #000 75%, transparent); }
.lastfm-search-cover-row { overflow: hidden; }
.lastfm-search-cover-track { display: flex; width: max-content; animation: lastfm-covers-scroll 65s linear infinite; animation-delay: -9s; }
.lastfm-search-cover-row:nth-child(2) .lastfm-search-cover-track { animation-duration: 80s; animation-direction: reverse; animation-delay: -31s; }
.lastfm-search-cover-row:nth-child(3) .lastfm-search-cover-track { animation-duration: 72s; animation-delay: -47s; }
.lastfm-search-cover-group { display: flex; gap: 10px; padding-right: 10px; flex-shrink: 0; }
.lastfm-search-cover-group img { width: var(--cover-size); height: var(--cover-size); object-fit: cover; border-radius: 8px; background: #282828; flex-shrink: 0; }
.lastfm-search-carousel.is-paused .lastfm-search-cover-track { animation-play-state: paused; }
.lastfm-search-motion { position: absolute; bottom: 8px; right: 18px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid #ffffff38; color: #fff; background: #202020d9; }
.lastfm-search-motion:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.lastfm-search .lastfm-search-content { width: 100%; margin-left: 0; display: flex; flex-direction: column; align-items: center; padding-top: 20px; padding-bottom: 100px; }
.lastfm-search-brand { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px; color: #fff; font-size: clamp(1.35rem, 3vw, 1.8rem); font-weight: 700; text-decoration: none; }
.lastfm-search-brand i { color: #dc3545; font-size: 1.15em; }
.lastfm-search-brand:focus-visible { outline: 2px solid #fff; outline-offset: 5px; border-radius: 6px; }
.lastfm-search-content h1 { max-width: 580px; margin: 0 0 26px; color: #efefef; text-align: center; font-size: clamp(1.2rem, 2vw, 1.65rem); font-weight: 500; line-height: 1.5; letter-spacing: -.025em; }
.lastfm-search .lastfm-search-card { width: 100%; max-width: 460px; padding: 28px; border: 1px solid #ffffff20; border-radius: 28px; }
.lastfm-search-card .form-label { font-size: .85rem; color: #ddd; margin-bottom: 12px; }
.lastfm-search-input { display: flex; gap: 10px; align-items: center; padding: 0 16px; border: 1px solid #ffffff35; border-radius: 16px; background: #15151555; }
.lastfm-search-input > span { color: #aaa; }
.lastfm-search-input input { min-width: 0; width: 100%; height: 50px; background: transparent; color: #fff; border: 0; outline: none; color-scheme: dark; }
.lastfm-search-input input::placeholder { color: #999; }
.lastfm-search-input:focus-within { border-color: #ddd; box-shadow: 0 0 0 2px #ffffff15; }
.lastfm-search-input.has-error { border-color: #ff8995; }
.lastfm-search #username-help { font-size: .73rem; color: #aaa; margin: 10px 0 22px; }
.lastfm-search-error { font-size: .85rem; color: #ff8995; }
.lastfm-search .lastfm-search-submit { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 46px; width: 100%; background: #dc3545; border-color: #dc3545; font-size: .9rem; }
.lastfm-search .lastfm-search-submit:hover { background: #c52d3c; border-color: #c52d3c; }
.lastfm-search .lastfm-search-submit:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@keyframes lastfm-covers-scroll { to { transform: translateX(-50%); } }
@media (max-width: 767.98px) {
    .lastfm-search { padding-top: 10px; }
    .lastfm-search .lastfm-search-content { width: 100%; margin-left: 0; padding: 20px 20px 110px; }
    .lastfm-search .lastfm-search-card { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
    .lastfm-search-cover-track { animation: none; }
    .lastfm-search-cover-row:nth-child(2) .lastfm-search-cover-track { transform: translateX(-45px); }
    .lastfm-search-cover-row:nth-child(3) .lastfm-search-cover-track { transform: translateX(-15px); }
    .lastfm-search-motion { display: none; }
}