#app.is-catalog{padding:0 16px calc(108px + env(safe-area-inset-bottom));background:linear-gradient(180deg,#f8f1ff 0%,#eee1fc 52%,#f4eafe 100%);color:#14101f}
.catalog-screen{padding-top:max(12px,env(safe-area-inset-top))}
.catalog-top{display:flex;align-items:center;justify-content:space-between;height:57px;gap:8px}
.catalog-search-button{font-family:Arial,sans-serif;font-size:30px;line-height:1;color:#1d142b;font-weight:400}
.catalog-search-button .glyph{width:22px;height:22px}
.catalog-search{display:block;margin:0 0 10px}.catalog-search span{position:absolute;width:1px;height:1px;overflow:hidden}.catalog-search input{width:100%;padding:11px 14px;border:1px solid #d9c6ef;border-radius:16px;background:#fff;color:#14101f;outline:none}
.catalog-toggle{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:9px 0 15px}
.catalog-toggle button{display:flex;align-items:center;justify-content:center;gap:9px;min-width:0;height:40px;border:1px solid #fff9;border-radius:24px;background:#fffbffe0;color:#20172e;font-size:17px;font-weight:800;box-shadow:0 5px 12px #633d9a17}
.catalog-toggle button.on{background:linear-gradient(135deg,#a869ed,#6b36c1);color:#fff;box-shadow:0 5px 13px #6936b94a}
.catalog-toggle .glyph{width:24px;height:24px;flex:none;stroke-width:1.9}
.catalog-banner{position:relative;overflow:hidden;min-height:152px;border-radius:22px;background:#5e35a9 url('/catalog-games.webp') center/cover no-repeat;color:#fff;box-shadow:0 7px 19px #5a329f2d}
.catalog-banner.tests{background-image:url('/catalog-tests.webp')}
.catalog-banner>div{position:relative;z-index:1;width:53%;padding:15px 0 14px 18px}
.catalog-banner h1{margin:0;font-size:22px;line-height:1.02;letter-spacing:-.035em;font-weight:800}
.catalog-banner p{margin:6px 0 8px;font-size:10px;line-height:1.3;color:#faf5ff}
.catalog-banner button{width:27px;height:27px;padding:0;border:0;border-radius:50%;background:#fffbff;color:#332044;font-size:27px;line-height:21px;box-shadow:0 3px 9px #27134444}
.catalog-dots{display:flex;justify-content:center;gap:6px;padding:10px 0 2px}.catalog-dots i{width:7px;height:7px;border-radius:50%;background:#cbb5ec}.catalog-dots i:first-child{background:#7541ce}
.catalog-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:13px 2px 9px}.catalog-heading h2{margin:0;font-size:20px;line-height:1.15;letter-spacing:-.025em}.catalog-heading button{border:0;background:none;color:#272033;font-size:12px}
.catalog-categories{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 24px)/5);gap:6px;overflow-x:auto;padding:1px 1px 6px;scroll-snap-type:x proximity;scrollbar-width:none;-webkit-overflow-scrolling:touch}.catalog-categories::-webkit-scrollbar{display:none}
.catalog-categories button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:65px;padding:6px 3px;border:1px solid #ffffffa6;border-radius:16px;background:#fffbffb8;color:#1d1627;box-shadow:0 4px 12px #60399612;scroll-snap-align:start}
.catalog-categories button.selected{background:#f3e6ff;border-color:#e3c9fc}.catalog-categories img{width:33px;height:33px;object-fit:contain}.catalog-categories span{font-size:10px;font-weight:700;white-space:nowrap}
.catalog-list{display:grid;gap:7px}.catalog-item{border:1px solid #ffffffa6;border-radius:19px;background:#fffbffda;box-shadow:0 5px 15px #60399613;overflow:hidden}.catalog-item[hidden]{display:none}
.catalog-item-main{display:flex;align-items:center;gap:5px;min-height:56px;padding:5px 7px}.catalog-item-main>.art{width:48px;height:48px;flex:none;object-fit:contain}.catalog-item-title{flex:1;min-width:0;padding-left:1px}.catalog-item-title strong,.catalog-item-title small{display:block}.catalog-item-title strong{font-size:14px;line-height:1.12}.catalog-item-title small{margin-top:3px;color:#6d667c;font-size:10px;line-height:1.18}
.catalog-item-main>.ui-art{width:48px;height:48px;flex:none;object-fit:contain}
.catalog-item-main>.catalog-art{width:48px;height:48px;flex:none;object-fit:contain}
.catalog-favorite,.catalog-expand{flex:none;width:25px;height:30px;padding:0;border:0;background:transparent;color:#54387b;font-size:24px;line-height:1}.catalog-favorite.on{color:#8c52d6}.catalog-expand{font-size:23px}
.catalog-play{flex:none;display:flex;align-items:center;justify-content:center;gap:5px;min-width:77px;height:31px;padding:0 9px;border:0;border-radius:20px;background:linear-gradient(135deg,#a96aef,#6c37c4);color:white;font-size:11px;font-weight:700;box-shadow:0 4px 10px #6b3abe35}
.catalog-play i{display:block;width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:9px solid #fff}
.catalog-play span{white-space:nowrap}.catalog-details{display:flex;align-items:center;gap:12px;padding:0 13px 12px 62px}.catalog-details p{flex:1;margin:0;color:#50445f;font-size:11px;line-height:1.35}.catalog-details span{flex:none;max-width:76px;padding:5px;border-radius:12px;background:#eee3ff;color:#6a42a8;font-size:9px;line-height:1.2;text-align:center}
.catalog-screen>.listcard{margin:7px 0}
#app.is-catalog .bottom{background:#fbf7ff}
@media(max-width:370px){#app.is-catalog{padding-inline:12px}.catalog-banner{min-height:140px}.catalog-banner>div{width:57%;padding:13px 0 12px 14px}.catalog-banner h1{font-size:19px}.catalog-banner p{font-size:9px}.catalog-item-main>.art{width:42px;height:42px}.catalog-item-title strong{font-size:12px}.catalog-item-title small{font-size:9px}.catalog-favorite,.catalog-expand{width:20px;font-size:21px}.catalog-play{min-width:67px;padding-inline:6px;font-size:10px}.catalog-categories{grid-auto-columns:calc((100% - 20px)/5);gap:5px}.catalog-categories span{font-size:9px}}
@media(prefers-reduced-motion:reduce){.catalog-toggle button,.catalog-play{transition:none}}
