.ts-modal{padding:22px;box-sizing:border-box;background:#071a18b8;backdrop-filter:blur(5px)}.ts-window.modal-content{width:1180px!important;max-width:96vw!important;max-height:92dvh!important;padding:0!important;overflow:hidden!important;border:1px solid #b19a68!important;border-radius:16px!important;background:#eee1c2!important;color:#42351f!important;box-shadow:0 24px 90px #0009!important;display:flex;flex-direction:column;font:14px/1.5 Arial,sans-serif}.ts-window *{box-sizing:border-box}.ts-header{position:relative;display:flex;align-items:center;gap:20px;padding:20px 60px 18px 24px;background:radial-gradient(at 0 0,#3d6252,transparent 70%),#142f2b;color:#efe3c4;border-bottom:3px solid #a28b57}.ts-header>img{width:70px;height:90px;object-fit:contain;filter:drop-shadow(0 3px 6px #0008)}.ts-header small{font-size:9px;letter-spacing:.22em;color:#c4b488}.ts-header h2{font:28px Georgia!important;color:#f8e7bb!important;margin:5px 0!important}.ts-header p{margin:3px 0;color:#bccebd;font-size:12px}#ts-balances{display:flex;gap:10px;margin-left:auto}#ts-balances>span{display:block;padding:10px 15px;border:1px solid #bca66b55;border-radius:9px;background:#071e1d66;font-size:11px;color:#c6b990}#ts-balances b{display:block;color:#f7e2a6;font-size:16px;white-space:nowrap}.ts-window button,.ts-window input,.ts-window select{font:inherit;box-shadow:none!important}.ts-window button{cursor:pointer;border:1px solid #a8895355;background:#ded0ab;color:#534023;border-radius:6px;padding:10px 12px}.ts-window button:disabled{opacity:.5;cursor:not-allowed}.ts-window button:focus-visible,.ts-window input:focus-visible,.ts-window select:focus-visible{outline:3px solid #367e70;outline-offset:2px}.ts-window .ts-close{position:absolute;right:14px;top:12px;width:38px;height:38px;padding:0;background:#102c26;color:#f2d9a0;border-color:#b49a5966;font-size:26px}.ts-tabs{display:flex;gap:8px;padding:12px 22px 0;background:#dfcea5;border-bottom:1px solid #b59b67}.ts-tabs button{border-radius:8px 8px 0 0;padding:12px 22px;background:#c4ab79;border-bottom:0}.ts-tabs button[aria-pressed=true]{background:#f1e6cc;color:#3d5037;box-shadow:inset 0 3px #886a39!important}.ts-body{display:grid;grid-template-columns:175px minmax(240px,1fr) 290px;min-height:0;flex:1;overflow:hidden;background:radial-gradient(at top,#fff9e833,transparent),#eee1c2}.ts-categories{padding:24px 12px;border-right:1px solid #bba37455;background:#d2be9133;overflow:auto}.ts-categories>small{display:block;font-size:9px;letter-spacing:.12em;color:#816943;margin-bottom:16px}.ts-categories button{width:100%;border:0;background:none;text-align:left;margin-bottom:5px;font-size:12px;display:flex;justify-content:space-between}.ts-categories button[aria-pressed=true]{background:#b8975933;color:#352818;font-weight:bold}.ts-categories p{font-size:12px;color:#7a623d}.ts-catalog{padding:18px;overflow:auto;scrollbar-color:#a28a56 #e8d8b5;min-height:250px}.ts-search{display:flex;gap:10px;margin-bottom:18px;position:sticky;top:-18px;z-index:2;padding:8px 0;background:#eee1c2}.ts-search input,.ts-search select,.ts-quantity input{min-width:0;width:100%;background:#fff8e6!important;color:#4d4029!important;border:1px solid #bca777!important;border-radius:7px;padding:10px}.ts-search select{width:145px;font-size:12px}#ts-products{display:grid;grid-template-columns:repeat(auto-fill,minmax(135px,1fr));gap:12px}.ts-window .ts-product{display:flex;flex-direction:column;align-items:center;gap:6px;min-height:195px;padding:12px 8px;background:linear-gradient(150deg,#fff9e5,#e2cfa4);border:1px solid #ba9d65;border-radius:10px;transition:transform .18s,border-color .18s}.ts-product:hover{transform:translateY(-2px)}.ts-window .ts-product[aria-pressed=true]{background:#e1e5c9;border:2px solid #587359;padding:11px 7px}.ts-product-art{height:72px;display:grid;place-items:center}.ts-product-art img{width:64px!important;height:64px!important;object-fit:contain;filter:drop-shadow(0 5px 5px #75572d33)}.ts-product>small{font-size:9px;color:#8d774b}.ts-product>b{font:15px Georgia;color:#46341e!important}.ts-product>span:not(.ts-product-art){font-size:12px;font-weight:bold;color:#805c20}.ts-product>em{font-size:10px;font-style:normal;color:#8e7d5c;margin-top:auto}#ts-detail{padding:20px;background:linear-gradient(160deg,#e2d0a4,#f1e5c7);border-left:1px solid #b59a64;overflow:auto;scrollbar-color:#a28a56 #e8d8b5}.ts-detail-art{height:125px;display:grid;place-items:center;background:radial-gradient(ellipse,#fff7d9,transparent 67%)}.ts-detail-art img{height:110px!important;width:110px!important;object-fit:contain;filter:drop-shadow(0 6px 8px #69481e44)}#ts-detail>small{display:block;text-align:center;letter-spacing:.15em;font-size:9px;color:#8b734a}#ts-detail h3{font:23px Georgia!important;color:#46331d!important;text-align:center;margin:10px 0!important}.ts-description{font-size:13px;line-height:1.7;color:#6c5838!important}.ts-owned,.ts-note{color:#85714c;font-size:11px}.ts-quantity{display:flex;gap:5px;align-items:center;margin-top:18px}.ts-quantity>span{margin-right:auto;font-size:12px}.ts-quantity input{width:48px;padding:8px 2px;text-align:center;appearance:textfield}.ts-quantity input::-webkit-inner-spin-button{appearance:none}.ts-quantity button{width:35px;padding:8px 0}.ts-total{margin:15px 0;display:flex;justify-content:space-between;gap:5px;border-top:1px dashed #ac8b52;padding-top:14px}.ts-total strong{color:#674714}.ts-window .ts-buy{width:100%;background:linear-gradient(#3e715d,#214d40);color:#fff1c5;border-color:#1e473a;font-weight:bold;padding:12px}.ts-currency{display:flex;gap:5px}.ts-currency button{flex:1;font-size:11px}.ts-currency button[aria-pressed=true]{background:#637956;color:#fff8d9}.ts-move-stats{display:flex;gap:6px;font-size:10px}.ts-move-stats span{flex:1;padding:7px;background:#bba46b33;border-radius:5px}.ts-move-stats b{display:block;font-size:15px}.ts-compatible{display:flex;gap:7px;flex-wrap:wrap}.ts-compatible>span{display:flex;align-items:center;font-size:10px;gap:4px}.ts-compatible img{width:38px;height:38px;object-fit:contain}.ts-compatible p{font-size:12px}.ts-empty{grid-column:1/-1;margin:auto;text-align:center;padding:28px 8px;color:#8b7752}.ts-empty img{width:70px;height:70px;object-fit:contain;opacity:.65}.ts-footer{display:flex;justify-content:space-between;gap:10px;align-items:center;background:#dcc89e;border-top:1px solid #b79a64;padding:10px 20px;font-size:12px}.ts-footer button{white-space:nowrap}.ts-detail-back{display:none}.ts-window h4{color:#6c5531!important;font-size:12px}
@media(max-width:800px){.ts-body{grid-template-columns:1fr 250px}.ts-categories{grid-column:1/-1;display:flex;gap:4px;padding:8px 12px;overflow:auto;border-bottom:1px solid #bba37455}.ts-categories>small,.ts-categories>p{display:none}.ts-categories button{width:auto;white-space:nowrap;margin:0}.ts-categories button>span{display:none}.ts-header{padding:12px 45px 12px 15px;gap:10px}.ts-header>img{width:44px;height:65px}.ts-header h2{font-size:22px!important}#ts-balances{gap:5px}#ts-balances>span{padding:6px;font-size:9px}#ts-balances b{font-size:12px}}
@media(max-width:600px){.ts-modal{padding:0;align-items:flex-end!important}.ts-window.modal-content{max-width:100vw!important;width:100vw!important;max-height:calc(100dvh - 12px)!important;height:calc(100dvh - 12px);border-radius:20px 20px 0 0!important}.ts-header{flex-wrap:wrap;padding:12px 42px 10px 14px;gap:8px}.ts-header>img{height:52px;width:36px}.ts-header h2{font-size:21px!important}.ts-header p{font-size:10px}.ts-header small{font-size:8px}#ts-balances{margin:0 0 0 44px;width:100%}#ts-balances>span{flex:1;display:flex;justify-content:space-between;gap:8px;align-items:center}.ts-tabs{padding:8px 8px 0;gap:4px}.ts-tabs button{flex:1;padding:12px 6px;font-size:12px;min-height:44px}.ts-body{display:flex;flex-direction:column;position:relative}.ts-categories{flex-shrink:0}.ts-catalog{padding:10px;flex:1;min-height:0}.ts-search{top:-10px;margin-bottom:10px}.ts-search input,.ts-search select{height:44px}.ts-search select{width:130px}.ts-window .ts-product{min-height:190px}#ts-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#ts-detail{display:none;position:absolute;inset:0;z-index:4;border:0;padding:12px 20px 25px;border-radius:20px 20px 0 0}.ts-detail-open #ts-detail{display:block;animation:ts-sheet-in .25s ease-out}.ts-detail-back{display:block;min-height:44px}.ts-quantity button,.ts-quantity input{min-width:44px;min-height:44px}.ts-buy{min-height:48px}.ts-footer{padding:8px 10px calc(8px + env(safe-area-inset-bottom));font-size:11px;min-height:60px}.ts-footer button{min-height:44px;font-size:11px}.ts-detail-art{height:130px}}
@keyframes ts-sheet-in{from{transform:translateY(30px);opacity:.4}to{transform:none;opacity:1}}@media(prefers-reduced-motion:reduce){.ts-product,.ts-detail-open #ts-detail{animation:none!important;transition:none!important;transform:none!important}}

.ts-packs{margin-top:20px;border-top:1px solid #bba374;padding-top:12px}.ts-packs p{font-size:11px}.ts-packs>div{display:grid;gap:8px}.ts-packs>button{width:100%}@media(max-width:800px){.ts-categories:has(.ts-packs){flex-wrap:wrap}.ts-packs{width:100%;margin:0;padding:6px}.ts-packs>div{grid-template-columns:repeat(3,1fr)}}
