/* Единый ритм карточек и отступов во всех разделах. */
.app-nav{width:100%;margin-left:0;margin-right:0;flex-shrink:0}.app-nav button{min-width:0;flex:1;border-radius:14px}.screen-content,#collection,#account{scrollbar-width:none}.screen-content::-webkit-scrollbar,#collection::-webkit-scrollbar,#account::-webkit-scrollbar{display:none}.app-screen button:focus-visible,.app-screen select:focus-visible,.app-screen input:focus-visible,.app-nav button:focus-visible{outline:1px solid #c78b65;outline-offset:1px}.model-grid,.inventory,.market-grid{align-items:stretch;gap:12px}.model-card,.inventory .item,.market-tile{border-radius:16px;padding:12px;background:#131313;min-width:0}.model-card h3,.market-tile h3{height:57px;min-height:57px;margin:6px 0 10px;font-size:14px;line-height:19px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}.model-card img,.market-tile img,.inventory .item img{height:126px;flex-shrink:0;object-fit:contain}.inventory .item{display:flex;flex-direction:column}.inventory .item h3{height:76px;min-height:76px;margin:8px 0;font-size:14px;line-height:19px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden}.inventory .instance-number{height:36px;min-height:36px;margin:0;font-size:11px;line-height:18px;overflow:hidden}.inventory .item p{margin:12px 0;font-size:16px;line-height:21px}.inventory .item button{min-height:44px;padding:9px;font-size:12px;line-height:18px;border-radius:11px;margin:0}.inventory .item button+button{margin-top:8px}.inventory .item .instance-market{min-height:52px}.model-badge{min-height:23px;line-height:13px;white-space:nowrap}.model-brand{line-height:16px}.stats-grid article{min-height:100px;padding:15px}.profile-note{margin:14px 0;padding:16px;background:#121212;border-radius:16px}.profile-play{margin:0 0 12px;border-radius:13px;min-height:48px}.profile-play:last-child{margin-bottom:16px}.filter-chips{flex-wrap:wrap;gap:8px}.filter-chips button{min-height:36px}.screen-head{padding-bottom:14px}.ticket-count{color:#ffc385}
.wheel-area{isolation:isolate}.wheel-area:before{content:'';position:absolute;inset:-7%;border-radius:50%;background:radial-gradient(circle,#e85d3226,transparent 68%);z-index:-1;pointer-events:none}.wheel-disc{border-radius:50%;box-shadow:0 0 0 4px #211711,0 0 0 5px #bd85514f,0 12px 24px #000,0 0 24px #e85d321a}.wheel-disc svg{border-radius:50%}.wheel-disc text{font-weight:800;font-size:16px;paint-order:stroke;stroke:#0003;stroke-width:1px}.wheel-disc .wheel-prize-icon{font-size:22px;stroke:none}.wheel-disc .wheel-hub{font-size:26px;fill:#ffb37c;stroke:none}.wheel-pointer{color:#fff1d9;filter:drop-shadow(0 2px 2px #000) drop-shadow(0 0 7px #ffb5768a);z-index:3}.wheel-area.is-spinning .wheel-disc{box-shadow:0 0 0 4px #38261b,0 0 0 5px #ffc181,0 0 30px #e85d3255}.wheel-area.is-spinning .wheel-pointer{animation:wheel-tick .11s ease-in-out infinite alternate}.wheel-won{animation:wheel-flash .6s ease-out 2}.wheel-confetti{position:absolute;inset:0;pointer-events:none;z-index:5;overflow:visible}.wheel-confetti i{position:absolute;left:50%;top:50%;width:7px;height:11px;border-radius:2px;animation:confetti-burst 1.6s cubic-bezier(.1,.6,.3,1) both}.wheel-last{text-align:center;color:#f2ba92}.wheel-info{color:#bab4ae}#wheel .screen-status{text-align:center;border-radius:12px;background:#281c14;color:#ffd0a3;font-weight:700;padding:10px;margin:8px 0;font-size:13px}.wheel-odds summary{text-align:center}.wheel-spin{box-shadow:inset 0 1px 0 #ffffff30}.wheel-spin:disabled{background:#1d1d1f;border-color:#363638}.wheel-odds[open] span{border:1px solid #333}
@keyframes confetti-burst{0%{transform:translate(-50%,-50%) scale(.5);opacity:0}12%{opacity:1}100%{transform:translate(var(--dx),var(--dy)) rotate(var(--turn));opacity:0}}@keyframes wheel-tick{to{transform:translateX(-50%) rotate(-8deg)}}@keyframes wheel-flash{50%{filter:brightness(1.35)}}@media(prefers-reduced-motion:reduce){.wheel-area.is-spinning .wheel-pointer,.wheel-won,.wheel-confetti i{animation:none}}

.inventory .item{border:1px solid #303030!important}

/* Альбом: только быстрый просмотр, без поиска и фильтров. */
#models .model-tools{position:static;flex:none;display:flex;align-items:center;gap:10px;padding:0 0 12px;min-width:0}#models .model-tools select{flex:1;min-width:0;height:42px}#models .model-count{flex:none;margin:0;font-size:11px;max-width:105px;line-height:1.4}#models .screen-content{overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain;padding-bottom:12px;scroll-behavior:auto}#models .screen-content,#models .screen-content *{touch-action:pan-y}#models .model-card{padding:10px;border-radius:14px}#models .model-card img{height:96px}#models .model-card h3{height:36px;min-height:36px;font-size:12px;line-height:18px;-webkit-line-clamp:2;margin:4px 0 6px}#models .model-badge{font-size:9px;margin:5px 0;min-height:20px;padding:4px 6px;line-height:12px}#models .model-brand{font-size:10px;line-height:14px}#models .model-rarity{font-size:10px}#models .model-chance{font-size:11px;margin-top:5px}#models .model-grid{gap:9px}.model-return{flex:none;min-height:44px;width:100%;margin:8px 0;background:#e85d32;border:1px solid #f57c50;border-radius:13px;color:#fff;font-size:14px;font-weight:700}#models .model-explanation{font-size:11px;margin:12px 0}

/* Панели выбора прокручиваются вместе с вещами. */
.market-tools{position:static;z-index:auto}#models .model-tools{margin-bottom:3px}#models .model-card img{height:122px}.screen-back{display:grid;place-items:center;padding:0;line-height:1;font-size:0}.screen-back:before{content:'';width:9px;height:9px;border-left:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateX(2px) rotate(45deg)}#models select,.market-filters select{appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23999' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;background-size:16px;padding-right:32px}#market .screen-content{-webkit-overflow-scrolling:touch}
.screen-back:before{content:none;display:none}.screen-back svg{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.wheel-disc .wheel-short-label{font-size:25px;font-weight:900;fill:#171719;stroke:none;letter-spacing:-.4px}.wheel-pointer{width:26px;height:30px;top:-10px;font-size:0;filter:drop-shadow(0 3px 4px #0008)}.wheel-pointer svg{display:block;width:26px;height:30px}.wheel-disc .wheel-hub{fill:#f3d2a3;font-size:25px}.wheel-disc{box-shadow:0 0 0 4px #232323,0 0 0 5px #68553b,0 14px 24px #000}.wheel-area:before{background:radial-gradient(circle,#d3912416,transparent 68%)}
.shell-menu-row.shell-rules-row{font-size:11px;color:#96969c;min-height:44px;background:#161616}
