@charset "UTF-8";

.catalog-scene { position: relative; width: min(440px, 100%); margin: 0 auto; }
.catalog-scene svg { display: block; width: 100%; overflow: visible; }
.catalog-scene__planet { animation: catalog-hover 6s ease-in-out infinite; transform-origin: 315px 90px; }
.catalog-scene__fox { animation: catalog-look 7s ease-in-out infinite; transform-origin: 217px 211px; }
.catalog-scene__spark { animation: account-twinkle 4s ease-in-out infinite; }
.catalog-note { display: flex; align-items: center; gap: 15px; padding: 18px 22px; margin: 8px 0 24px; border: 1px solid #d4d8bc; border-radius: 13px; background: #edf0e3; color: #596b4b; font-size: 13px; line-height: 1.7; }
.catalog-note > span { font-size: 30px; }
.catalog-note strong { display: block; color: #46583c; }
.catalog-card { display: flex; flex-direction: column; align-self: start; }
.catalog-card .library-card__body { flex: 1; }
.catalog-card .library-card__title { margin-bottom: 8px; }
.catalog-card__date { color: #857056; font-size: 11px; min-height: 1.5em; }
.catalog-card__details { margin-top: 15px; padding-top: 12px; border-top: 1px dashed #e3d4bd; color: #775e40; font-size: 12px; }
.catalog-card__details summary { cursor: pointer; font-weight: 600; padding: 3px 0; }
.catalog-card__details p { max-height: 220px; overflow-y: auto; margin-top: 12px; line-height: 1.8; overflow-wrap: anywhere; }
.catalog-pagination { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 20px; margin-top: 30px; }
.catalog-pagination p { color: #80694c; font-size: 12px; font-variant-numeric: tabular-nums; }
.catalog-pagination button { min-width: 112px; }
.catalog-layout [data-catalog-results-title]:focus { outline: none; }
.catalog-toolbar { align-items: flex-start; overflow: visible; }
.catalog-searchbox { position: relative; flex: 1; min-width: 0; z-index: 4; }
.catalog-searchbox .library-search { width: 100%; min-width: 0; box-sizing: border-box; }
.catalog-searchbox .library-search input:focus { border-color: #b96535; box-shadow: 0 0 0 3px #c97e3d19; }
.catalog-suggestions { position: absolute; inset: calc(100% + 9px) 0 auto; padding: 8px; border: 1px solid #d5bc98; border-radius: 16px; background: #fffcf5; box-shadow: 0 16px 35px #6a492324, 0 3px 0 #e9d9be; animation: catalog-suggestions-in 160ms ease-out; }
.catalog-suggestions [role="listbox"] { max-height: min(450px, 55vh); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #cbb28c transparent; }
.catalog-suggestions__heading { padding: 9px 12px 5px; color: #927349; text-transform: uppercase; letter-spacing: .13em; font-size: 10px; font-weight: 750; }
.catalog-suggestion { display: flex; align-items: center; gap: 12px; width: 100%; border: 1px solid transparent; border-radius: 10px; background: transparent; color: #674f37; text-align: left; padding: 9px 11px; cursor: pointer; font: inherit; transition: background 140ms ease, border-color 140ms ease, box-shadow 140ms ease; }
.catalog-suggestion:hover, .catalog-suggestion[aria-selected="true"] { background: #faefd9; border-color: #dec19a; box-shadow: inset 3px 0 #bf6938; }
.catalog-suggestion--category:hover, .catalog-suggestion--category[aria-selected="true"] { background: #eff2e5; border-color: #bdcba8; box-shadow: inset 3px 0 #7c9364; }
.catalog-suggestion__art { position: relative; flex: 0 0 69px; height: 37px; display: grid; place-items: center; overflow: hidden; border-radius: 7px; background: #eddec4; color: #9a6339; font-size: 19px; font-weight: 700; }
.catalog-suggestion__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.catalog-suggestion--category .catalog-suggestion__art { background: #e0e8d1; color: #677b52; }
.catalog-suggestion__copy { flex: 1; min-width: 0; }
.catalog-suggestion__copy strong { display: block; font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
.catalog-suggestion__copy small { display: block; margin-top: 2px; font-size: 11px; color: #8b765d; }
.catalog-suggestion__action { flex: none; font-size: 18px; color: #b97644; }
.catalog-suggestion--category .catalog-suggestion__action { color: #728557; }
.catalog-suggestions__state { margin: 7px 5px 0; padding: 10px 7px 4px; border-top: 1px solid #eee0c8; color: #8a7457; font-size: 11px; line-height: 1.6; }
.catalog-suggestions__state:empty { display: none; }
.catalog-category-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 15px 17px; margin: 12px 0 19px; border: 1px solid #d9dec8; border-radius: 13px; background: #f0f3e8; animation: catalog-suggestions-in 160ms ease-out; }
.catalog-category-chips { display: flex; flex: 1 1 240px; flex-wrap: wrap; gap: 7px; }
.catalog-category-chip { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; padding: 7px 10px; border: 1px solid #b6c5a3; border-radius: 8px; background: #fffcf5; color: #536947; font: inherit; font-size: 12px; cursor: pointer; transition: background 140ms ease, box-shadow 140ms ease; }
.catalog-category-chip > span:first-child { overflow-wrap: anywhere; }
.catalog-category-chip:hover { background: #e7eddc; box-shadow: 0 2px 5px #72855720; }
.catalog-category-chip__remove { font-size: 17px; line-height: 1; }
.catalog-category-actions { display: flex; flex-wrap: wrap; align-items: end; gap: 10px 15px; }
.catalog-category-actions label { display: grid; gap: 4px; color: #677754; font-size: 10px; }
.catalog-category-actions select { max-width: 100%; border: 1px solid #c1ccad; border-radius: 7px; padding: 7px 26px 7px 10px; background: #fffdf6; color: #536947; font: inherit; font-size: 11px; }
.catalog-category-actions > button { padding: 7px 0; border: 0; border-bottom: 1px solid #bcc8a9; background: transparent; color: #647752; font: inherit; font-size: 11px; cursor: pointer; }
.catalog-suggestion:focus-visible, .catalog-category-chip:focus-visible, .catalog-category-actions :focus-visible { outline: 2px solid #ad6136; outline-offset: 2px; }
.catalog-suggestions[hidden], .catalog-category-controls[hidden] { display: none; }
.players-library-search { margin: 0 0 22px; }
.library-search-state { color: #8b6846; font-size: 12px; line-height: 1.6; margin: 10px 0 15px; }
@keyframes catalog-suggestions-in { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }
@keyframes catalog-hover { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-10px) rotate(4deg); } }
@keyframes catalog-look { 0%, 20%, 80%, 100% { transform: rotate(0); } 40%, 60% { transform: rotate(-3deg); } }
@media (max-width: 620px) { .catalog-layout .account-topline { align-items: stretch; flex-direction: column; gap: 8px; } .catalog-layout .account-nav { flex-wrap: wrap; justify-content: center; } .catalog-pagination { gap: 10px; } }
@media (max-width: 620px) { .catalog-searchbox { width: 100%; flex-basis: 100%; } .catalog-suggestions { padding: 6px; } .catalog-suggestion { gap: 9px; padding: 9px 7px; } .catalog-suggestion__art { flex-basis: 58px; height: 33px; } .catalog-category-controls { padding: 12px; } }
@media (prefers-reduced-motion: reduce) { .catalog-layout *, .catalog-layout *::before, .catalog-layout *::after { animation: none !important; transition: none !important; } }
@media (prefers-reduced-motion: reduce) { .catalog-suggestions, .catalog-category-controls { animation: none !important; } }
