* { margin: 0; padding: 0; box-sizing: border-box; } html, body { width: 100vw; height: 100vh; overflow: hidden; background: transparent; color: var(--color-text); font-family: var(--font); user-select: none; -webkit-user-select: none; } #app { position: relative; width: 100vw; height: 100vh; } #app:focus, #app:focus-visible { outline: none; } .screen-gradient { position: fixed; inset: 0; background: linear-gradient(90deg, var(--panel-8) 0%, var(--panel-1) 50%); pointer-events: none; z-index: 0; } #app.hidden { display: none !important; } .hidden { display: none !important; } button { font-family: inherit; color: inherit; background: none; border: 0; cursor: pointer; outline: none; } input { font-family: inherit; color: inherit; background: none; border: 0; outline: none; } .exit-btn { position: fixed; top: 39px; left: 33px; width: 100px; height: 50px; border-radius: 5px; background: var(--color-bg); display: flex; align-items: center; justify-content: space-between; padding: 0 10px 0 12px; cursor: pointer; transition: background 0.15s ease, transform 0.15s ease; } .exit-btn:hover { background: var(--bg-overlay); transform: translateY(-1px); } .exit-btn-label { color: var(--color-text-dim); font-weight: 600; font-size: 12px; } .exit-btn-key { width: 45px; height: 30px; border-radius: 5px; background: var(--color-accent); display: flex; align-items: center; justify-content: center; color: var(--color-text); font-weight: 800; font-size: 12px; letter-spacing: 0.5px; } .cameras { position: fixed; left: 567px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 5px; } .camera-btn { width: 59px; height: 59px; border-radius: 5px; background: var(--color-bg); display: flex; align-items: center; justify-content: center; color: var(--white-8); transition: background 0.15s ease, color 0.15s ease; } .camera-btn svg { width: 28px; height: 28px; } .camera-btn:hover { color: var(--color-text); background: var(--bg-overlay); } .camera-btn.is-active { background: var(--color-accent); color: var(--color-text); } .camera-btn.is-active path, .camera-btn:hover path { fill: currentColor; } .left-column { position: fixed; left: 32px; top: 143px; width: 525px; height: 788px; display: flex; flex-direction: column; gap: 15px; z-index: 2; } .main-panel { flex: 1; position: relative; width: 100%; border-radius: 10px; background: var(--color-bg); overflow: hidden; isolation: isolate; } .cat-card { position: relative; border-radius: 10px; background: var(--color-bg); overflow: hidden; cursor: pointer; transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease; } .cat-card:hover { background: var(--color-accent-soft); transform: translateY(-2px); box-shadow: 0 10px 25px var(--black-6); } .cat-card.is-selected { background: var(--color-accent); } .cat-label { position: absolute; top: 10px; left: 10px; font-weight: 800; font-size: 12px; color: var(--color-text); letter-spacing: 0.3px; z-index: 2; } .category-tab-bar { position: absolute; top: 10px; left: 12px; right: 12px; z-index: 2; height: 55px; background: var(--color-bg); border-radius: 5px; display: flex; align-items: center; padding: 9px 10px; gap: 8px; box-sizing: border-box; } .cat-tab-arrow { width: 9px; height: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; opacity: 0.6; transition: opacity 0.15s ease; } .cat-tab-arrow:hover { opacity: 1; } .cat-tab-arrow.is-disabled { opacity: 0.2; cursor: default; pointer-events: none; } .cat-tabs { flex: 1; min-width: 0; display: grid; grid-template-columns: repeat(var(--tab-count), minmax(0, 1fr)); gap: 5px; overflow: hidden; } .cat-tab { width: 100%; min-width: 0; height: 37px; border-radius: 5px; background: var(--color-bg); color: var(--white-4); font-weight: 700; font-size: 11px; letter-spacing: 0.5px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background 0.2s ease, color 0.2s ease; white-space: nowrap; border: none; } .cat-tab:hover:not(.is-active) { background: var(--accent-2); color: var(--white-7); } .cat-tab.is-active { background: var(--color-accent); color: var(--white); } .cat-tab-filter { width: 42px; height: 41px; border-radius: 5px; background: var(--color-bg); color: var(--text-dim); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background 0.15s ease, color 0.15s ease; } .cat-tab-filter:hover { background: var(--white-2); } .cat-tab-filter.is-active { background: var(--color-accent); color: var(--white); } .cat-tab-filter.is-disabled { opacity: 0.45; cursor: not-allowed; pointer-events: none; } .cat-tab-filter.is-disabled.is-active { background: var(--color-bg); } .cat-tab-filter.is-disabled:hover { background: var(--color-bg); } .product-view { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; padding: 75px 8px 14px 12px; gap: 10px; box-sizing: border-box; } .color-filter { display: none; flex-shrink: 0; background: var(--color-bg); border-radius: 5px; padding: 10px 10px 8px 10px; box-shadow: inset 0 0 0 1px var(--white-1); } .color-filter-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; } .color-filter-title { font-weight: 700; font-size: 12px; color: var(--white-10); } .color-filter-sub { font-weight: 600; font-size: 11px; color: var(--white-7); } .color-chips { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; } .color-chips::-webkit-scrollbar { height: 3px; } .color-chips::-webkit-scrollbar-thumb { background: var(--white-2); border-radius: 10px; } .color-chip { height: 26px; padding: 0 10px 0 8px; background: var(--white-1); border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; user-select: none; box-shadow: var(--shadow-border); transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease; flex: 0 0 auto; } .color-chip:hover { transform: translateY(-1px); box-shadow: var(--shadow-accent-25); background: var(--white-1); } .color-chip.is-active { box-shadow: var(--shadow-accent-55); background: var(--accent-10); } .color-chip-dot { width: 12px; height: 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--white-3), 0 4px 10px var(--black-4); flex-shrink: 0; } .color-chip-name { font-size: 11px; font-weight: 700; color: var(--white-9); letter-spacing: 0.1px; white-space: nowrap; } .search-field { flex: 1; height: 41px; background: var(--color-bg); border-radius: 5px; display: flex; align-items: center; padding: 0 12px; gap: 10px; } .search-icon { width: 14px; height: 14px; color: var(--white-8); flex-shrink: 0; } .search-field input { flex: 1; height: 100%; font-size: 13px; color: var(--color-text); } .search-field input::placeholder { color: var(--text-dim); font-weight: 400; } .search-filter { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; color: var(--white-9); border-radius: 5px; transition: background 0.15s ease; } .search-filter svg { width: 18px; height: 18px; } .search-filter:hover { background: var(--white-2); } .palette-toggle { width: 60px; height: 41px; background: var(--bg-overlay); border-radius: 5px; display: flex; align-items: center; justify-content: center; gap: 4px; color: var(--color-text); transition: background 0.15s ease, color 0.15s ease; } .palette-toggle svg { width: 22px; height: 22px; } .palette-toggle-chevron { width: 10px !important; height: 10px !important; transition: transform 0.2s ease; } .palette-toggle:hover { color: var(--white-9); background: var(--color-accent); } .palette-toggle.is-active { color: var(--white-9); background: var(--color-accent); filter: brightness(1.05); } .palette-toggle path { fill: currentColor; } .palette-toggle.is-active .palette-toggle-chevron { transform: rotate(180deg); } .products-grid { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 160px; gap: 5px; overflow-y: auto; padding-right: 15px; } .products-grid::-webkit-scrollbar { width: 8px; } .products-grid::-webkit-scrollbar-track { background: var(--panel-6); border-radius: 10px; } .products-grid::-webkit-scrollbar-thumb { background: var(--color-accent); box-shadow: var(--shadow-scrollbar-thumb); border-radius: 10px; } .product-slot { position: relative; width: 100%; height: 100%; min-width: 0; min-height: 0; background: var(--color-bg); border-radius: 5px; box-shadow: var(--shadow-ring-2); cursor: pointer; overflow: hidden; transition: box-shadow 0.15s ease, transform 0.15s ease; } .product-slot:hover { transform: translateY(-1px); box-shadow: var(--shadow-accent-30); } .product-slot.is-selected { box-shadow: inset 0 0 0 2px var(--color-accent); background: var(--color-bg); } .product-slot.is-remove-option { background: var(--color-bg); } .product-slot-id { position: absolute; top: 10px; left: 10px; font-family: "Inter", "Sora", sans-serif; font-weight: 800; font-size: 12px; color: var(--color-text); z-index: 2; } .product-slot-thumb { position: absolute; inset: 28px 8px 36px 8px; display: flex; align-items: center; justify-content: center; z-index: 1; } .product-slot-preview { width: 76px; height: 76px; border-radius: 999px; background: radial-gradient(circle at 35% 28%, var(--white-4), transparent 28%), var(--preview-color); box-shadow: inset 0 0 0 1px var(--white-2), 0 14px 28px var(--black-6); } .product-slot-img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; pointer-events: none; } .product-slot-img.img-error { display: none; } .product-slot-remove-icon { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; } .product-slot-remove-svg { width: 44px; height: 44px; display: block; flex-shrink: 0; } .product-slot-foot--remove { justify-content: center; } .product-slot-foot { position: absolute; left: 50%; transform: translateX(-50%); bottom: 8px; display: flex; justify-content: center; align-items: center; gap: 2px; z-index: 2; } .product-slot-price { height: 18px; min-width: 43px; padding: 0 10px; background: var(--color-bg); color: var(--color-text); font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; border-radius: 3px; line-height: 1; letter-spacing: 0.1px; box-shadow: inset 0 0 0 1px var(--white-1); flex-shrink: 0; } .products-empty { grid-column: 1 / -1; height: 160px; border-radius: 5px; background: var(--color-bg); display: flex; align-items: center; justify-content: center; color: var(--white-7); font-size: 12px; font-weight: 600; } .product-slot-cart { height: 18px; min-width: 47px; padding: 0 11px 0 9px; background: var(--color-accent); color: var(--color-text); display: flex; align-items: center; justify-content: center; border-radius: 2px; clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%); transition: filter 0.15s ease, transform 0.15s ease; box-shadow: 0 2px 8px var(--accent-4); } .product-slot-cart:hover { filter: brightness(1.15); transform: translateY(-1px); } .product-slot-cart svg { width: 12px; height: 12px; display: block; } .palette-panel { position: fixed; left: 567px; top: 143px; width: 346px; border-radius: 5px; background: var(--color-bg); padding: 10px; display: flex; flex-direction: column; gap: 8px; animation: paletteIn 0.25s cubic-bezier(0.16, 1, 0.3, 1); z-index: 3; } .palette-search-bar { height: 41px; background: var(--color-bg); box-shadow: var(--shadow-border-strong); border-radius: 5px; display: flex; align-items: center; padding: 0 12px; gap: 10px; flex-shrink: 0; } .palette-search-icon { width: 9px; height: 10px; flex-shrink: 0; } .palette-search-bar input { flex: 1; font-size: 13px; color: var(--text-dim); } .palette-search-bar input::placeholder { color: var(--text-dim); font-weight: 400; } @keyframes paletteIn { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: translateX(0); } } .palette-grid { flex: 1; display: flex; flex-direction: column; gap: 17px; width: 100%; overflow-y: auto; overflow-x: hidden; } .palette-grid::-webkit-scrollbar { width: 4px; } .palette-grid::-webkit-scrollbar-thumb { background: var(--white-2); border-radius: 2px; } .palette-section { display: flex; flex-direction: column; gap: 5px; } .palette-opacity-section { gap: 8px; margin-bottom: 4px; } .palette-opacity-label { font-size: 13px; font-weight: 600; color: var(--text-dim); text-transform: none; } .palette-opacity-control { padding: 0; } .palette-opacity-control + .palette-section { margin-top: 2px; } .palette-section-title { font-size: 12px; font-weight: 600; color: var(--white-7); text-transform: uppercase; } .palette-color-grid { display: grid; grid-template-columns: repeat(11, 25px); gap: 5px; } .palette-color-grid .palette-swatch { width: 25px; height: 25px; position: relative; background: var(--swatch-color); border-radius: 5px; cursor: pointer; overflow: hidden; box-shadow: var(--shadow-ring-2); transition: transform 0.15s ease, box-shadow 0.15s ease; } .palette-color-grid .palette-swatch:hover { transform: scale(0.97); } .palette-color-grid .palette-swatch.is-selected { box-shadow: inset 0 0 0 2px var(--color-accent); } .palette-swatch-id { position: absolute; top: 8px; left: 8px; font-family: "Inter", "Sora", sans-serif; font-weight: 800; font-size: 9px; color: var(--color-text); z-index: 2; } .palette-swatch-chip { position: absolute; inset: 24px 10px 10px 10px; border-radius: 3px; background: linear-gradient(135deg, var(--white-3), var(--white-1)), var(--white-1); box-shadow: inset 0 0 0 1px var(--white-2); display: flex; align-items: center; justify-content: center; overflow: hidden; } .palette-swatch-chip.is-color { background: radial-gradient(circle at 34% 24%, var(--white-5), transparent 26%), var(--swatch-color); } .palette-swatch-chip.has-image { background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--white-2); } .palette-swatch-chip .palette-swatch-img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; user-select: none; } .btn-nav { flex-shrink: 0; width: 101px; height: 39px; border-radius: 5px; background: var(--color-bg); color: var(--color-text-dim); font-weight: 600; font-size: 12px; letter-spacing: 0.5px; display: flex; align-items: center; justify-content: center; transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease; } .btn-nav:hover { background: var(--bg-overlay); color: var(--color-text); transform: translateY(-1px); } .cart-panel { position: fixed; right: 32px; top: 143px; width: 325px; height: 788px; display: flex; flex-direction: column; padding: 0; z-index: 2; pointer-events: none; } .cart-panel > * { pointer-events: auto; } .cart-box { display: flex; flex-direction: column; flex: 1; min-height: 0; width: 100%; height: 100%; padding: 14px; gap: 10px; overflow: hidden; } .cart-header { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 0; padding-bottom: 10px; flex-shrink: 0; } .cart-icon-wrap { width: 35px; height: 34px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; border-radius: 5px; background: var(--accent); } .cart-header-text { display: flex; flex-direction: column; gap: 2px; } .cart-title { font-size: 18px; font-weight: 600; color: var(--color-text); line-height: 1; } .cart-subtitle { font-size: 12px; font-weight: 400; color: var(--color-text-dim); } .cart-items { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 5px; padding-right: 4px; -webkit-overflow-scrolling: touch; } .cart-empty { display: flex; align-items: center; justify-content: center; min-height: 80px; padding: 12px; border-radius: 5px; background: var(--black-5); box-shadow: var(--shadow-accent-22); color: var(--white-7); font-size: 12px; font-weight: 600; text-align: center; } .cart-items::-webkit-scrollbar { width: 4px; } .cart-items::-webkit-scrollbar-thumb { background: var(--white-3); border-radius: 2px; } .cart-item { display: flex; align-items: center; gap: 10px; width: 100%; height: 50px; min-height: 50px; padding: 5px 10px; background: var(--color-bg); border-radius: 5px; flex-shrink: 0; box-sizing: border-box; } .cart-item-thumb { position: relative; width: 36px; height: 41px; border-radius: 4px; background: var(--white-2); overflow: hidden; flex-shrink: 0; display: flex; align-items: center; justify-content: center; } .cart-item-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; } .cart-item > .cart-item-name { flex: 1; min-width: 0; font-size: 10px; font-weight: 600; line-height: normal; color: var(--color-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .cart-item-info { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 3px; } .cart-item-info .cart-item-name { font-size: 10px; font-weight: 600; line-height: normal; color: var(--color-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; } .cart-item-price-badge { height: 16px; min-width: 37px; padding: 0 6px; background: var(--white-2); border-radius: 3px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; } .cart-item-price { font-size: 8px; font-weight: 600; line-height: normal; color: var(--color-text); white-space: nowrap; } .cart-item-remove { width: 30px; height: 18px; min-width: 30px; padding: 0; background: var(--color-accent); border: none; border-radius: 3px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; cursor: pointer; transition: filter 0.15s ease; } .cart-item-remove:hover { filter: brightness(1.15); } .cart-item-remove svg { width: 9px; height: 10px; display: block; flex-shrink: 0; } .cart-outfit-row { display: flex; align-items: center; gap: 10px; margin: 0; padding: 10px; width: 100%; border-radius: 5px; background: var(--black-5); cursor: pointer; text-align: left; font-family: inherit; flex-shrink: 0; transition: background 0.15s ease, box-shadow 0.15s ease; } .cart-outfit-row:hover { background: var(--black-6); } .cart-outfit-row.is-active { background: var(--accent-2); } .cart-outfit-row.is-active .cart-outfit-icon { background: var(--accent-4); } .cart-item-mylook .cart-item-foot, .cart-item-mylook .cart-item-remove { display: none; } .cart-outfit-icon { width: 44px; height: 44px; background: var(--white-1); border-radius: 5px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; } .cart-outfit-info { display: flex; flex-direction: column; gap: 2px; } .cart-outfit-name { font-size: 14px; font-weight: 600; color: var(--color-text); } .cart-outfit-status { font-size: 10px; font-weight: 700; color: var(--color-accent); } .cart-outfit-status.is-inactive { color: var(--color-text-dim); } .cart-total-row { height: 40px; background: var(--white-1); box-shadow: var(--shadow-border); border-radius: 5px; display: flex; align-items: center; justify-content: space-between; padding: 0 12px; margin: 0; flex-shrink: 0; } .cart-total-label { font-size: 14px; font-weight: 400; color: var(--text-dim); } .cart-total-value { font-size: 14px; font-weight: 600; color: var(--color-text); } .btn-buy { width: 100%; height: 40px; border-radius: 5px; background: var(--color-accent); flex-shrink: 0; color: var(--color-text); font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; transition: filter 0.15s ease, transform 0.15s ease; } .btn-buy:hover { filter: brightness(1.1); transform: translateY(-1px); } .btn-buy.is-disabled { background: var(--accent-mid); cursor: not-allowed; } .btn-buy.is-disabled:hover { filter: none; transform: none; } .shortcuts { position: fixed; left: 50%; transform: translateX(-50%); bottom: 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 28px; z-index: 1; pointer-events: none; } .shortcut { display: inline-flex; align-items: center; gap: 6px; color: var(--color-text); } .shortcut-label { font-size: 12px; font-weight: 400; opacity: 0.85; } .shortcut-key { font-size: 12px; font-weight: 800; color: var(--color-text); } @media (max-width: 1600px) { :is(.barbershop-app, .skinshop-app, .tattooshop-app) > *:not(.screen-gradient) { transform: scale(0.65); transform-origin: top left; } :is(.barbershop-app, .skinshop-app, .tattooshop-app) > .cart-panel { transform-origin: top right; } :is(.barbershop-app, .skinshop-app, .tattooshop-app) > .shortcuts { transform: translateX(-50%) scale(0.65); transform-origin: center bottom; } :is(.barbershop-app, .skinshop-app, .tattooshop-app) > .palette-panel { transform: scale(0.65); transform-origin: top left !important; margin-left: -190px; animation: none; } } @media (max-width: 1100px) and (max-height: 1080px) and (min-width: 1025px) { :is(.barbershop-app, .skinshop-app, .tattooshop-app) > *:not(.screen-gradient) { transform: scale(0.65); transform-origin: top left; margin-top: 100px; } :is(.barbershop-app, .skinshop-app, .tattooshop-app) > .cart-panel { transform-origin: top right; } :is(.barbershop-app, .skinshop-app, .tattooshop-app) > .shortcuts { transform: translateX(-50%) scale(0.65); transform-origin: center bottom; } }