:root{--bg:#0f0f12;--surface:#1c1c22;--surface-light:#26262e;--accent:#e6447f;--text:#fff;--text-dim:#9a9aa5}*{box-sizing:border-box;margin:0;padding:0}body{background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;font-family:Segoe UI,system-ui,sans-serif}.app{max-width:480px;min-height:100vh;margin:0 auto}.catalog{padding:20px 16px}.catalog__title{margin-bottom:20px;font-size:26px;font-weight:700}.catalog__brand{text-align:center;letter-spacing:.5px;background:linear-gradient(90deg,#e6447f,#ff7eb3);color:#0000;-webkit-background-clip:text;background-clip:text;margin:0 0 16px;font-size:24px;font-weight:800}.carousel{border-radius:14px;margin-bottom:16px;position:relative;overflow:hidden}.carousel__image{aspect-ratio:2;object-fit:cover;cursor:pointer;width:100%;display:block}.carousel__arrow{color:#fff;cursor:pointer;background:#00000080;border:none;border-radius:50%;width:36px;height:36px;font-size:22px;line-height:1;position:absolute;top:50%;transform:translateY(-50%)}.carousel__arrow--left{left:8px}.carousel__arrow--right{right:8px}.carousel__dots{justify-content:center;gap:6px;display:flex;position:absolute;bottom:10px;left:0;right:0}.carousel__dot{background:#fff6;border-radius:50%;width:7px;height:7px}.carousel__dot--active{background:#e6447f}.catalog__reviews{color:#fff;cursor:pointer;background:#e23b3b;border:none;border-radius:12px;width:100%;margin-bottom:16px;padding:12px;font-size:15px;font-weight:600;display:block}.catalog__reviews:hover{background:#c93232}.catalog__search{box-sizing:border-box;color:#fff;background:#1a1a1f;border:1px solid #2a2a30;border-radius:12px;width:100%;margin-bottom:16px;padding:11px 14px;font-size:15px;display:block}.catalog__search::placeholder{color:#6a6a73}.catalog__search:focus{border-color:#e6447f;outline:none}.catalog__grid{grid-template-columns:1fr 1fr;gap:14px;display:grid}.game-card{background:var(--surface);cursor:pointer;border-radius:16px;transition:transform .15s;overflow:hidden}.game-card:active{transform:scale(.97)}.game-card__image{aspect-ratio:1;background:var(--surface-light);width:100%;overflow:hidden}.game-card__image img{object-fit:cover;width:100%;height:100%;display:block}.game-card__name{text-align:center;padding:10px 12px;font-size:15px;font-weight:600}.page{padding-bottom:88px}.bottom-nav{background:var(--surface);border-top:1px solid var(--surface-light);max-width:480px;height:60px;margin:0 auto;display:flex;position:fixed;bottom:0;left:0;right:0}.bottom-nav__item{color:var(--text-dim);flex-direction:column;flex:1;justify-content:center;align-items:center;gap:3px;font-size:12px;font-weight:600;text-decoration:none;display:flex}.bottom-nav__icon{width:22px;min-width:22px;height:22px;min-height:22px;color:inherit;stroke:currentColor;flex-shrink:0;display:block}.bottom-nav__item.active{color:var(--accent)}.game-page{padding:14px 16px 20px}.game-page__back{color:var(--text-dim);cursor:pointer;background:0 0;border:none;margin-bottom:8px;padding:4px 0;font-size:18px;font-weight:600}.game-page__back:active{color:var(--text)}.game-page__title{margin-bottom:16px;font-size:22px;font-weight:700}.game-page__tags{flex-wrap:wrap;gap:8px;margin-bottom:16px;display:flex}.game-tag{color:#9a9aa3;cursor:pointer;background:#1a1a1f;border:1px solid #2a2a30;border-radius:999px;padding:7px 14px;font-size:14px;transition:background .15s,color .15s,border-color .15s}.game-tag:hover{color:#fff;border-color:#e6447f}.game-tag--active{color:#fff;background:#e6447f;border-color:#e6447f}.game-page__status,.game-page__empty{color:var(--text-dim);padding:20px 16px}.game-page__grid{grid-template-columns:1fr 1fr;gap:14px;display:grid}.conflict-overlay{z-index:1000;background:#000000a6;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.conflict-modal{background:var(--surface);text-align:center;border-radius:14px;width:100%;max-width:360px;padding:20px 16px}.conflict-modal p{margin-bottom:10px;font-size:15px;line-height:1.45}.conflict-modal p:first-child{font-weight:700}.conflict-modal__actions{gap:10px;margin-top:16px;display:flex}.conflict-modal__actions button{cursor:pointer;border:none;border-radius:10px;flex:1;padding:12px 10px;font-size:14px;font-weight:600}.conflict-modal__actions button:first-child{background:var(--surface-light);color:var(--text)}.conflict-modal__actions button:last-child{background:var(--accent);color:var(--text)}.product-card{background:var(--surface);border-radius:16px;flex-direction:column;display:flex;overflow:hidden}.product-card__image{aspect-ratio:1;background:var(--surface-light);width:100%;overflow:hidden}.product-card__image img{object-fit:cover;width:100%;height:100%;display:block}.product-card__body{flex-direction:column;gap:4px;padding:10px 12px 12px;display:flex}.product-card__name{font-size:14px;font-weight:600;line-height:1.3}.product-card__price{color:var(--accent);font-size:16px;font-weight:700}.product-card__button{box-sizing:border-box;background:var(--accent);width:100%;color:var(--text);cursor:pointer;border:none;border-radius:10px;margin-top:6px;padding:8px 12px;font-size:13px;font-weight:700;transition:background .15s}.product-card__button:hover{filter:brightness(1.08)}.product-card__button:active{filter:brightness(.9)}.bottom-nav__label{justify-content:center;align-items:center;display:inline-flex;position:relative}.bottom-nav__badge{background:var(--accent);color:var(--text);border-radius:9px;justify-content:center;align-items:center;min-width:18px;height:18px;padding:0 5px;font-size:11px;font-weight:700;display:inline-flex;position:absolute;top:-6px;right:-10px}.cart{padding:20px 16px}.cart__title{margin-bottom:16px;font-size:24px;font-weight:700}.cart__empty{color:var(--text-dim);text-align:center;margin-top:40px;margin-bottom:20px;font-size:15px}.cart__back-to-catalog{background:var(--accent);color:var(--text);cursor:pointer;border:none;border-radius:10px;margin:0 auto;padding:12px 28px;font-size:14px;font-weight:700;display:block}.cart__list{flex-direction:column;gap:12px;list-style:none;display:flex}.cart-item{background:var(--surface);border-radius:14px;gap:12px;padding:12px;display:flex;position:relative}.cart-item__image{background:var(--surface-light);border-radius:10px;flex-shrink:0;width:72px;height:72px;overflow:hidden}.cart-item__image img{object-fit:cover;width:100%;height:100%;display:block}.cart-item__body{flex-direction:column;flex:1;gap:6px;min-width:0;padding-right:24px;display:flex}.cart-item__name{font-size:14px;font-weight:600;line-height:1.3}.cart-item__price{color:var(--accent);font-size:15px;font-weight:700}.cart-item__qty{background:var(--surface-light);border-radius:10px;align-items:center;gap:10px;width:fit-content;margin-top:auto;padding:4px 6px;display:inline-flex}.cart-item__qty button{width:26px;height:26px;color:var(--text);cursor:pointer;background:0 0;border:none;border-radius:6px;font-size:16px;font-weight:700}.cart-item__qty button:active{background:#ffffff14}.cart-item__qty span{text-align:center;min-width:16px;font-weight:600}.cart-item__remove{width:24px;height:24px;color:var(--text-dim);cursor:pointer;background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;font-size:18px;line-height:1;display:inline-flex;position:absolute;top:8px;right:8px}.cart-item__remove:active{color:var(--text)}.cart__footer{background:var(--surface);border-radius:14px;margin-top:20px;padding:16px}.cart__total{color:var(--text-dim);justify-content:space-between;align-items:baseline;margin-bottom:12px;font-size:15px;display:flex}.cart__total-value{color:var(--text);font-size:22px;font-weight:700}.cart__checkout{background:var(--accent);width:100%;color:var(--text);cursor:pointer;border:none;border-radius:12px;padding:14px;font-size:15px;font-weight:700;transition:transform .15s}.cart__checkout:active{transform:scale(.98)}.cart-group{border:1px solid var(--surface-light);border-radius:12px;margin-bottom:24px;padding:16px}.cart-group__title{color:var(--text);margin-bottom:12px;font-size:18px;font-weight:600}.cart-group__total{border-top:1px solid var(--surface-light);justify-content:space-between;margin-top:12px;padding-top:12px;font-weight:600;display:flex}.profile{padding:24px 16px 20px}.profile__header{flex-direction:column;align-items:center;gap:4px;margin-bottom:24px;display:flex}.profile__avatar{background:var(--surface-light);outline:2px solid var(--accent);outline-offset:2px;border-radius:50%;justify-content:center;align-items:center;width:88px;height:88px;margin-bottom:8px;display:flex;overflow:hidden}.profile__avatar img{object-fit:cover;width:100%;height:100%;display:block}.profile__avatar-initials{color:var(--text);font-size:32px;font-weight:700}.profile__name{font-size:20px;font-weight:700}.profile__username{color:var(--accent);font-size:14px;font-weight:600}.profile__id{color:var(--text-dim);font-family:Courier New,monospace;font-size:12px}.profile__actions{flex-direction:column;gap:10px;margin-bottom:24px;display:flex}.profile__action{background:var(--surface);width:100%;color:var(--text);text-align:left;cursor:pointer;border:none;border-radius:14px;justify-content:space-between;align-items:center;padding:16px;transition:transform .15s,background .15s;display:flex}.profile__action:active{background:var(--surface-light);transform:scale(.99)}.profile__action--telegram-app{border:1px solid color-mix(in srgb, var(--accent,#2aabee) 40%, transparent);background:color-mix(in srgb, var(--accent,#2aabee) 14%, var(--surface));margin-bottom:8px}.profile__action--telegram-app:active{background:color-mix(in srgb, var(--accent,#2aabee) 22%, var(--surface-light))}.profile__action-title{font-size:15px;font-weight:600}.profile__action-hint{color:var(--text-dim);font-size:13px}.profile__orders{background:var(--surface);border-radius:14px;margin-bottom:20px;padding:16px}.profile__section-title{margin-bottom:12px;font-size:16px;font-weight:700}.profile__orders-empty{color:var(--text-dim);font-size:14px;line-height:1.4}.profile__orders-summary{color:var(--text-dim);margin-bottom:12px;font-size:13px}.profile__orders-list{flex-direction:column;gap:12px;display:flex}.profile__order{background:#1a1a1f;border-radius:12px;padding:14px 16px}.profile__order-header{justify-content:space-between;align-items:center;margin-bottom:4px;display:flex}.profile__order-number{font-weight:600}.profile__order-status{border-radius:6px;padding:2px 8px;font-size:12px;font-weight:700}.profile__order-status--active{color:#856404;background:#fff3cd}.profile__order-status--done{color:#155724;background:#d4edda}.profile__order-game{color:var(--text-dim);margin-bottom:8px;font-size:14px}.profile__order-items{flex-direction:column;gap:6px;margin-bottom:10px;display:flex}.profile__order-item{color:var(--text-dim);justify-content:space-between;font-size:14px;display:flex}.profile__order-footer{color:var(--text-dim);justify-content:space-between;align-items:baseline;font-size:13px;display:flex}.profile__order-total{color:var(--text);font-size:16px;font-weight:700}.profile__orders-toggle{background:var(--surface-light);width:100%;color:var(--text);cursor:pointer;border:none;border-radius:10px;margin-top:12px;padding:10px;font-size:14px;font-weight:600;transition:filter .15s}.profile__orders-toggle:active{filter:brightness(.9)}.orders-list{flex-direction:column;gap:12px;margin:0;padding:0;list-style:none;display:flex}.order-card{background:#1a1a1f;border-radius:12px;padding:14px 16px}.order-card__head{justify-content:space-between;align-items:baseline;margin-bottom:8px;display:flex}.order-card__id{color:#fff;font-weight:600}.order-card__total{color:#e6447f;font-weight:700}.order-card__date{color:var(--text-dim);margin-bottom:8px;font-size:12px}.order-card__more{color:var(--text-dim);margin-top:4px;font-size:13px;font-style:italic}.order-card__items{flex-direction:column;gap:4px;margin:0;padding:0;list-style:none;display:flex}.order-card__item{color:#9a9aa3;font-size:14px}.profile__working-hours{text-align:center;color:var(--text-dim);font-size:12px}
