:root{--tg-theme-bg-color: #1a1a2e;--tg-theme-text-color: #eaeaea;--tg-theme-hint-color: #8e8e93;--tg-theme-link-color: #6c9eff;--tg-theme-button-color: #6c9eff;--tg-theme-button-text-color: #ffffff;--tg-theme-secondary-bg-color: #252542;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;line-height:1.5;color:var(--tg-theme-text-color);background:var(--tg-theme-bg-color)}*{box-sizing:border-box;margin:0;padding:0}body{min-height:100vh;background:var(--tg-theme-bg-color)}.app{min-height:100vh;max-width:480px;margin:0 auto}.header{padding:16px;border-bottom:1px solid rgba(255,255,255,.08)}.header-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.header h1{font-size:1.25rem;margin-bottom:0;flex:1;min-width:0}.user-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;overflow:hidden;background:var(--tg-theme-secondary-bg-color);border:2px solid rgba(255,255,255,.12)}.user-avatar__img{width:100%;height:100%;object-fit:cover;display:block}.user-avatar__fallback{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:1rem;font-weight:600;color:var(--tg-theme-button-color);background:#ffffff0f}.nav{display:flex;gap:8px}.nav-link{padding:8px 14px;border-radius:20px;text-decoration:none;color:var(--tg-theme-hint-color);font-size:.875rem;background:var(--tg-theme-secondary-bg-color)}.nav-link.active{color:var(--tg-theme-button-text-color);background:var(--tg-theme-button-color)}.main{padding:16px}.page h2{font-size:1.375rem;margin-bottom:8px}.subtitle,.hint,.muted{color:var(--tg-theme-hint-color);font-size:.875rem}.subtitle{margin-bottom:16px}.center{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:60vh;text-align:center}.cards{display:flex;flex-direction:column;gap:12px}.card{display:flex;align-items:center;gap:14px;padding:16px;border-radius:14px;background:var(--tg-theme-secondary-bg-color);text-decoration:none;color:inherit;transition:transform .15s}.card:active{transform:scale(.98)}.card-disabled{opacity:.55;pointer-events:none}.card-icon{font-size:2rem}.card-body h2{font-size:1rem;margin-bottom:4px}.card-body p{font-size:.8125rem;color:var(--tg-theme-hint-color)}.badge{display:inline-block;margin-top:6px;padding:2px 8px;border-radius:8px;font-size:.75rem;background:#ffffff1a}.back-link{display:inline-block;margin-bottom:12px;color:var(--tg-theme-link-color);text-decoration:none;font-size:.875rem}.form{display:flex;flex-direction:column;gap:16px;margin-top:20px}.field{display:flex;flex-direction:column;gap:6px}.field span{font-size:.8125rem;color:var(--tg-theme-hint-color)}.field input{padding:12px 14px;border:1px solid rgba(255,255,255,.12);border-radius:10px;background:var(--tg-theme-secondary-bg-color);color:var(--tg-theme-text-color);font-size:1rem}.field input:focus{outline:2px solid var(--tg-theme-button-color);border-color:transparent}.presets{display:flex;flex-wrap:wrap;gap:8px}.preset{padding:8px 12px;border:1px solid rgba(255,255,255,.12);border-radius:20px;background:transparent;color:var(--tg-theme-text-color);font-size:.8125rem;cursor:pointer}.preset.active{background:var(--tg-theme-button-color);border-color:var(--tg-theme-button-color);color:var(--tg-theme-button-text-color)}.voucher-category{margin-bottom:16px}.voucher-category h3{margin:0 0 10px;font-size:.9375rem;font-weight:600}.preset strong{display:block;margin-top:4px;font-size:.75rem}.voucher-codes{display:flex;flex-direction:column;gap:8px;margin-top:10px}.price-box{padding:14px;border-radius:12px;background:var(--tg-theme-secondary-bg-color)}.price-row{display:flex;justify-content:space-between;padding:4px 0}.price-row.total{margin-top:8px;padding-top:10px;border-top:1px solid rgba(255,255,255,.08);font-size:1.125rem}.btn{display:inline-flex;align-items:center;justify-content:center;padding:12px 20px;border:none;border-radius:12px;font-size:1rem;font-weight:600;cursor:pointer;text-decoration:none}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-primary{background:var(--tg-theme-button-color);color:var(--tg-theme-button-text-color)}.btn-secondary{background:var(--tg-theme-secondary-bg-color);color:var(--tg-theme-text-color)}.btn-block{width:100%}.error-text{color:#ff6b6b;font-size:.875rem}.loader{width:36px;height:36px;border:3px solid rgba(255,255,255,.15);border-top-color:var(--tg-theme-button-color);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.page-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.orders-list{display:flex;flex-direction:column;gap:12px}.order-card{padding:14px;border-radius:12px;background:var(--tg-theme-secondary-bg-color)}.order-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.status{font-size:.75rem;padding:3px 8px;border-radius:8px;background:#ffffff14}.status-Success{background:#34c75933;color:#34c759}.status-Pending{background:#ffcc0026;color:#fc0}.status-Fail,.status-Refunded{background:#ff3b3026;color:#ff3b30}.order-meta{display:flex;justify-content:space-between;font-size:.875rem;margin-bottom:6px}.order-detail{font-size:.8125rem;color:var(--tg-theme-hint-color);margin-bottom:10px}.empty{text-align:center;padding:40px 0;display:flex;flex-direction:column;gap:16px;align-items:center}.result-icon{width:64px;height:64px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:2rem;font-weight:700}.result-icon.success{background:#34c75933;color:#34c759}.result-icon.fail{background:#ff3b3033;color:#ff3b30}
