:root {
    --bg: #090a0d;
    --panel: #111318;
    --panel-2: #171a20;
    --panel-3: #20242c;
    --line: rgba(255,255,255,.10);
    --line-strong: rgba(255,255,255,.18);
    --text: #f5f7fa;
    --muted: #9aa1ad;
    --faint: #68707d;
    --accent: #ff5b2e;
    --accent-strong: #ff3d17;
    --lime: #b9f04a;
    --success: #62d98b;
    --warning: #ffbd54;
    --danger: #ff626c;
    --radius-lg: 24px;
    --radius-md: 18px;
    --shadow: 0 18px 60px rgba(0,0,0,.36);
    font-family: Inter, "SF Pro Display", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { background: var(--bg); scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); min-height: 100vh; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
a { color: inherit; }
.app-shell { min-height: 100vh; padding-bottom: calc(94px + env(safe-area-inset-bottom)); overflow-x: hidden; }

.header {
    position: sticky; top: 0; z-index: 90; height: 64px;
    display: flex; align-items: center; justify-content: space-between;
    padding: env(safe-area-inset-top) 16px 0;
    background: rgba(9,10,13,.92); border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.header-logo, .header-profile, .back-btn { border: 0; background: transparent; cursor: pointer; }
.header-logo { display: flex; align-items: center; gap: 10px; padding: 7px 0; text-align: left; }
.brand-x { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--accent); font-size: 19px; font-weight: 950; transform: skew(-7deg); }
.header-brand { display: grid; gap: 1px; }
.header-brand b { font-size: 12px; letter-spacing: .16em; }
.header-brand small { color: var(--muted); font-size: 10px; }
.header-profile { min-width: 44px; height: 38px; padding: 0 11px; border: 1px solid var(--line); border-radius: 12px; display: flex; align-items: center; gap: 7px; background: var(--panel); }
.header-profile span { font-size: 11px; color: var(--muted); }
.header-profile b { color: var(--accent); font-size: 18px; }
.back-btn { display: none; position: absolute; left: 10px; z-index: 2; width: 42px; height: 42px; border-radius: 13px; background: var(--panel-2); font-size: 28px; line-height: 1; }
.back-btn[style*="grid"] + .header-logo { margin-left: 48px; }

.page { display: none; min-height: 100vh; animation: pageIn .22s ease-out; }
.page.active { display: block; }
@keyframes pageIn { from { opacity: .25; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.page-container { width: min(620px, 100%); margin: 0 auto; padding: 20px 14px 36px; }

/* Компактная главная Mini App: это витрина магазина, а не полноэкранный лендинг. */
.home-center { width: min(620px, 100%); margin: 0 auto; padding: 14px 14px 34px; }
.home-cover { position: relative; aspect-ratio: 2.35 / 1; overflow: hidden; border: 1px solid var(--line); border-radius: 18px 18px 8px 8px; background: var(--panel); }
.home-cover img { position: absolute; left: 0; top: 50%; width: 100%; height: auto; transform: translateY(-50%); display: block; }
.home-main-card { margin-top: 8px; padding: 18px; border: 1px solid var(--line); border-radius: 8px 8px 18px 18px; background: var(--panel); }
.home-main-card h1 { max-width: 480px; margin: 14px 0 9px; font-size: clamp(25px, 7vw, 34px); line-height: 1.02; letter-spacing: -.045em; }
.home-main-card > p { max-width: 520px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.home-actions { display: grid; grid-template-columns: 1.25fr .9fr; gap: 8px; margin-top: 16px; }
.home-actions .primary-button, .home-actions .secondary-button { min-height: 46px; border-radius: 12px; }
.home-order-stack { display: grid; gap: 8px; }
.home-order-stack .home-order-card ~ .home-order-card { margin-top: 0; }
.home-order-card { width: 100%; margin-top: 10px; padding: 14px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 11px; border: 1px solid rgba(94,173,235,.26); border-radius: 15px; background: rgba(94,173,235,.07); color: var(--text); text-align: left; cursor: pointer; }
.home-order-card > span:nth-child(2) { min-width: 0; display: grid; gap: 3px; }
.home-order-card b { font-size: 13px; }
.home-order-card small { color: var(--muted); font-size: 10px; line-height: 1.35; }
.home-order-card strong { color: #82c8ff; font-size: 25px; font-weight: 400; }
.home-order-live { display: inline-flex; align-items: center; gap: 5px; color: #82c8ff; font-size: 8px; font-weight: 900; letter-spacing: .08em; }
.home-order-live i { width: 7px; height: 7px; border-radius: 50%; background: #82c8ff; box-shadow: 0 0 0 4px rgba(130,200,255,.10); }
.home-order-card.action { border-color: rgba(98,217,139,.28); background: rgba(98,217,139,.07); }
.home-order-card.action .home-order-live,
.home-order-card.action strong { color: var(--success); }
.home-order-card.action .home-order-live i { background: var(--success); box-shadow: 0 0 0 4px rgba(98,217,139,.10); }
.automation-card { margin-top: 10px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.automation-card > div { display: grid; grid-template-columns: 30px 1fr; align-items: center; gap: 11px; padding: 13px 14px; border-bottom: 1px solid var(--line); }
.automation-card > div:last-child { border-bottom: 0; }
.automation-card > div > span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; background: var(--panel-3); color: var(--accent); font-size: 11px; font-weight: 900; }
.automation-card p { margin: 0; display: grid; gap: 2px; }
.automation-card b { font-size: 12px; }
.automation-card small { color: var(--muted); font-size: 10px; line-height: 1.35; }
.home-center > .safety-callout { margin-top: 10px; }
.home-reviews { width: 100%; margin-top: 24px; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.legal-links { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.home-legal-links { margin-top: 12px; }
.legal-links a { min-width: 0; min-height: 39px; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.025); color: var(--muted); font-size: 9px; line-height: 1.25; font-weight: 750; text-align: center; text-decoration: none; }
.legal-links a:active { border-color: var(--line-strong); color: var(--text); transform: scale(.985); }
.legal-links a span { color: var(--accent); font-size: 13px; }
.auth-legal-links { width: 100%; margin-top: 10px; }
.checkout-legal { margin: 9px 4px 0; color: var(--faint); font-size: 9px; line-height: 1.45; text-align: center; }
.checkout-legal a { color: #9acff5; text-decoration: underline; text-underline-offset: 2px; }
.home-support-button { width: 100%; min-height: 48px; margin-top: 8px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 9px; padding: 9px 13px; border: 1px solid rgba(94,173,235,.25); border-radius: 12px; background: rgba(94,173,235,.08); color: var(--text); cursor: pointer; text-align: left; }
.home-support-button > span { color: #82c8ff; font-size: 17px; }
.home-support-button b { font-size: 12px; }
.home-support-button small { color: #82c8ff; font-size: 10px; font-weight: 800; }

.compact-intro { margin-bottom: 14px; }
.compact-intro h1 { font-size: 29px; }
.compact-intro > p:last-child { margin-bottom: 0; }
.price-mode-tabs { position: sticky; top: 8px; z-index: 55; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 0 0 11px; padding: 4px; border: 1px solid var(--line); border-radius: 14px; background: rgba(17,19,24,.94); backdrop-filter: blur(14px); }
.price-mode-tabs button { min-height: 39px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font-size: 12px; font-weight: 850; cursor: pointer; }
.price-mode-tabs button.active { background: var(--text); color: var(--bg); }
.free-tasks-section { padding-top: 8px; }

.shop-hero { position: relative; height: clamp(430px, 66vh, 610px); overflow: hidden; background: #111; }
.shop-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 52% center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,6,9,.08) 18%, rgba(5,6,9,.38) 52%, #090a0d 100%); }
.hero-content { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 20px 34px; max-width: 720px; margin: auto; }
.live-pill { display: inline-flex; align-items: center; gap: 7px; background: rgba(9,10,13,.78); border: 1px solid rgba(185,240,74,.42); color: #ddffa0; padding: 7px 10px; border-radius: 999px; font-size: 10px; letter-spacing: .1em; font-weight: 800; backdrop-filter: blur(8px); }
.live-pill i { width: 7px; height: 7px; background: var(--lime); border-radius: 50%; box-shadow: 0 0 0 5px rgba(185,240,74,.13); }
.overline, .eyebrow { margin: 0 0 8px; color: var(--accent); font-size: 10px; line-height: 1.25; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.hero-content .overline { margin-top: 18px; color: #fff; opacity: .76; }
.hero-content h1 { margin: 0; max-width: 580px; font-size: clamp(35px, 9.2vw, 62px); line-height: .96; letter-spacing: -.055em; text-wrap: balance; }
.hero-content > p:not(.overline) { max-width: 520px; margin: 14px 0 0; color: #d4d8de; font-size: 14px; line-height: 1.55; }
.hero-cta, .primary-button { width: 100%; border: 0; border-radius: 15px; background: var(--accent); color: #fff; min-height: 52px; padding: 0 18px; font-weight: 850; cursor: pointer; box-shadow: 0 10px 30px rgba(255,91,46,.20); }
.hero-cta { width: auto; min-width: 190px; margin-top: 20px; display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; }
.hero-cta:active, .primary-button:active { transform: scale(.985); }
.primary-button:disabled { opacity: .48; cursor: wait; box-shadow: none; }

.trust-grid { display: grid; grid-template-columns: repeat(3,1fr); width: min(760px,calc(100% - 32px)); margin: -4px auto 0; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; background: var(--panel); }
.trust-grid > div { min-width: 0; padding: 15px 10px; display: grid; gap: 3px; border-right: 1px solid var(--line); }
.trust-grid > div:last-child { border: 0; }
.trust-grid b { color: var(--accent); font-size: 10px; letter-spacing: .12em; }
.trust-grid span { font-size: 12px; font-weight: 800; }
.trust-grid small { color: var(--faint); font-size: 9px; line-height: 1.25; }

.catalog-section, .process-section, .reviews-section { width: min(760px,100%); margin: 0 auto; padding: 44px 16px 0; }
.section-title-row { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-title-row.compact { margin-top: 30px; }
h1,h2,h3,p { overflow-wrap: anywhere; }
.section-title-row h2, .process-section h2, .page-intro h1 { margin: 0; font-size: clamp(25px,7vw,36px); line-height: 1.05; letter-spacing: -.035em; }
.section-number, .review-label { color: var(--faint); font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.review-label { color: var(--success); }
.loading-line { color: var(--muted); padding: 12px 0; font-size: 13px; }

.category-tabs-container { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; padding: 3px 0 12px; }
.cat-tab { min-width: 0; padding: 9px 7px; border-radius: 11px; border: 1px solid var(--line); background: var(--panel); color: var(--muted); font-size: 10px; line-height: 1.2; font-weight: 800; cursor: pointer; overflow-wrap: anywhere; }
.cat-tab.active { background: var(--text); color: #090a0d; border-color: var(--text); }
.category-tabs-container .cat-tab { min-height: 42px; }

.grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.card { position: relative; min-width: 0; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 12px 34px rgba(0,0,0,.16); }
.card > img, .card-img-placeholder { width: 100%; height: auto; aspect-ratio: 1.35/1; object-fit: cover; background: var(--panel-3); display: grid; place-items: center; font-size: 30px; }
.card-info { min-width: 0; flex: 1; padding: 11px; display: flex; flex-direction: column; justify-content: space-between; gap: 11px; }
.card-title { margin: 5px 0 4px; font-size: 14px; line-height: 1.15; font-weight: 850; letter-spacing: -.02em; }
.card-description { color: var(--muted); font-size: 10px; line-height: 1.35; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.card-package-values { margin-top: 8px; color: #f5d791; font-size: 10px; line-height: 1.35; font-weight: 700; }
.product-badge { display: inline-flex; width: max-content; padding: 4px 7px; border-radius: 7px; background: rgba(255,91,46,.13); color: #ff9373; font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.product-badge.free { color: #d7ff86; background: rgba(185,240,74,.12); }
.product-badge.action { color: #9ed5ff; background: rgba(74,160,240,.13); }
.card-price { margin-top: 7px; font-size: 17px; font-weight: 900; letter-spacing: -.035em; }
.card-old-price { float: right; color: var(--faint); font-size: 10px; text-decoration: line-through; }
.btn-add { width: 100%; border: 0; border-radius: 11px; min-height: 39px; padding: 0 10px; background: var(--accent); color: white; font-size: 11px; font-weight: 850; cursor: pointer; }
.btn-add:disabled { cursor:not-allowed; background:#30343d; color:#858c98; box-shadow:none; }
.card-actions { display:grid; gap:7px; }
.btn-details { width:100%; min-height:37px; padding:0 10px; border:1px solid var(--line-strong); border-radius:11px; background:var(--panel-2); color:#dce1e8; font-size:10px; font-weight:850; cursor:pointer; }
.btn-details:active { transform:scale(.985); border-color:rgba(255,255,255,.3); }
.card.test-product-disabled { border-color:rgba(197,168,255,.22); }
.card.test-product-disabled > img, .card.test-product-disabled > .card-img-placeholder { filter:saturate(.45); opacity:.7; }
.test-product-note { display:grid; gap:3px; margin-top:9px; padding:8px 9px; border:1px solid rgba(197,168,255,.22); border-radius:10px; background:rgba(122,69,229,.08); }
.test-product-note b { color:#d9c8ff; font-size:9px; }
.test-product-note span { color:var(--muted); font-size:8px; line-height:1.4; }

.process-section { padding-top: 54px; }
.process-list { list-style: none; margin: 22px 0 0; padding: 0; border-top: 1px solid var(--line); }
.process-list li { display: flex; gap: 15px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.process-list li > b { flex: 0 0 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--panel-2); color: var(--accent); }
.process-list div { display: grid; gap: 4px; }
.process-list strong { font-size: 14px; }
.process-list span { color: var(--muted); font-size: 12px; line-height: 1.4; }
.safety-callout { display: flex; gap: 13px; margin-top: 18px; padding: 16px; border: 1px solid rgba(255,189,84,.30); background: rgba(255,189,84,.08); border-radius: var(--radius-md); }
.safety-callout > span { flex: 0 0 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--warning); color: #17100a; font-weight: 950; }
.safety-callout p { margin: 0; color: #d8d1c5; font-size: 12px; line-height: 1.5; }

.reviews-section { padding-bottom: 22px; }
.review-carousel-controls { display:flex; gap:6px; }
.review-carousel-controls button { width:36px; height:36px; display:grid; place-items:center; border:1px solid var(--line); border-radius:11px; background:var(--panel-2); color:var(--text); font-size:16px; cursor:pointer; }
.review-carousel-controls button:active { transform:scale(.96); border-color:var(--line-strong); }
.reviews-list { display: grid; grid-auto-flow: column; grid-auto-columns: min(86vw,390px); align-items:start; gap: 12px; overflow-x: auto; overscroll-behavior-x:contain; scrollbar-width: none; scroll-snap-type: x mandatory; scroll-padding-inline:1px; padding-bottom: 4px; }
.reviews-list::-webkit-scrollbar { display: none; }
.review-card { min-width:0; scroll-snap-align: start; scroll-snap-stop:always; border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius-lg); overflow: hidden; }
.review-card.no-media .review-body { min-height:0; padding-block:18px; }
.review-media { position:relative; width:100%; aspect-ratio:16/10; display:grid; place-items:center; overflow:hidden; padding:0; border:0; border-bottom:1px solid var(--line); background:#07080b; cursor:zoom-in; }
.review-media img { width:100%; height:100%; object-fit:contain; display:block; }
.review-media > span { position:absolute; right:9px; bottom:9px; padding:6px 8px; border:1px solid rgba(255,255,255,.18); border-radius:8px; background:rgba(9,10,13,.78); color:#eef1f5; font-size:8px; font-weight:850; backdrop-filter:blur(6px); }
.review-media.failed { aspect-ratio:auto; min-height:72px; cursor:default; }
.review-media.failed img { display:none; }
.review-media.failed > span { position:static; border:0; background:transparent; color:var(--faint); font-size:10px; backdrop-filter:none; }
.review-body { padding: 16px; }
.review-body p { margin:0 0 15px; color: #d7dbe1; font-size: 13px; line-height: 1.55; }
.review-author { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.review-author-name { color:var(--text); font-size:13px; }
.review-author-link { width:max-content; max-width:100%; display:inline-flex; align-items:center; gap:7px; color:#85c9ff; font-size:13px; font-weight:850; text-decoration:none; }
.review-author-link span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; border-bottom:1px solid rgba(133,201,255,.45); }
.review-author-link i { width:21px; height:21px; flex:0 0 auto; display:grid; place-items:center; border-radius:7px; background:rgba(133,201,255,.1); font-style:normal; font-size:11px; }
.privacy-note { color: var(--faint); font-size: 10px; line-height: 1.45; }

.page-intro { margin-bottom: 24px; }
.page-intro > p:last-child { color: var(--muted); font-size: 13px; line-height: 1.55; }
.profile-box, .history-card, .task-card, .order-hero-card, .balance-card { border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius-lg); padding: 17px; margin-bottom: 12px; }
.history-card { cursor: pointer; transition: border-color .15s, transform .15s; }
.history-card:active { transform: scale(.99); border-color: var(--line-strong); }
.history-status { display: inline-flex; width: max-content; align-items: center; padding: 6px 9px; border-radius: 8px; font-size: 10px; font-weight: 850; }
.stat-pending { color: var(--warning); background: rgba(255,189,84,.10); }
.stat-paid, .stat-completed { color: var(--success); background: rgba(98,217,139,.10); }
.stat-delivering { color: #82c8ff; background: rgba(94,173,235,.11); }
.stat-rejected, .stat-failed { color: var(--danger); background: rgba(255,98,108,.10); }
.test-order-badge { margin-left: 7px; color: #c5a8ff; font-size: 9px; }
.empty-state, .muted-empty { padding: 32px 18px; border: 1px dashed var(--line-strong); border-radius: var(--radius-md); color: var(--faint); text-align: center; font-size: 13px; }
.skeleton-card { height: 130px; border-radius: var(--radius-lg); background: var(--panel); position: relative; overflow: hidden; }
.skeleton-card:after { content:""; position:absolute; inset:0; background: linear-gradient(100deg,transparent,rgba(255,255,255,.05),transparent); animation: shimmer 1.5s infinite; }
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

.profile-hero-card { position: relative; display: flex; align-items: center; gap: 13px; padding: 19px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--panel); overflow: hidden; }
.profile-avatar { width: 50px; height: 50px; flex: 0 0 50px; display: grid; place-items: center; border-radius: 16px; background: var(--accent); font-size: 20px; font-weight: 900; overflow: hidden; }
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-identity { min-width: 0; }
.profile-identity h2 { margin: 0; font-size: 21px; }
.profile-identity p { margin: 3px 0 0; color: var(--muted); font-size: 11px; }
.profile-level-mark { margin-left: auto; color: var(--accent); }
.balance-card { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; background: var(--text); color: var(--bg); }
.game-balance { padding: 10px; border-right: 1px solid rgba(0,0,0,.12); }
.game-balance:last-child { border: 0; }
.game-balance span { display: block; font-size: 10px; color: #616670; }
.game-balance strong { display: block; margin-top: 4px; font-size: 20px; letter-spacing: -.035em; }
.profile-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin: 12px 0; }
.profile-stats div { display: grid; gap: 3px; padding: 13px 8px; border: 1px solid var(--line); border-radius: 15px; text-align: center; background: var(--panel); }
.profile-stats strong { font-size: 17px; }
.profile-stats span { color: var(--faint); font-size: 9px; }
.referral-title { display: flex; justify-content: space-between; gap: 12px; }
.referral-title h3 { margin: 0; }
.referral-rewards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 13px 0; }
.referral-rewards div { padding: 11px; background: var(--panel-2); border-radius: 13px; }
.referral-rewards small { display: block; color: var(--faint); font-size: 9px; }
.referral-rewards b { display: block; margin-top: 4px; color: #f3d28e; font-size: 12px; }
.referral-link-row { display: flex; gap: 7px; }
.referral-link-row input { min-width: 0; flex: 1; }
.referral-link-row button, .btn-copy, .secondary-button, .admin-btn-secondary { border: 1px solid var(--line-strong); background: var(--panel-2); color: var(--text); border-radius: 12px; min-height: 42px; padding: 0 13px; font-weight: 750; cursor: pointer; }
.secondary-button { display: grid; place-items: center; text-decoration: none; }
.referral-progress { display: flex; justify-content: space-between; color: var(--muted); font-size: 10px; margin-top: 10px; }
.transaction-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.transaction-row:last-child { border: 0; }
.transaction-row div { display: grid; gap: 3px; }
.transaction-row b { font-size: 11px; }
.transaction-row small { color: var(--faint); font-size: 9px; }
.transaction-values { text-align: right; font-size: 10px; }
.positive { color: var(--success); } .negative { color: var(--danger); }

.reward-claim { margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.reward-claim-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.reward-claim small { color: var(--faint); font-size: 9px; line-height: 1.4; display: block; margin: 8px 0; }

.task-card h3 { margin: 3px 0 7px; }
.task-card p { color: var(--muted); font-size: 12px; line-height: 1.45; }
.task-step, .action-step-card { padding: 12px; margin-top: 8px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel-2); }
.task-step-body { display: grid; gap: 4px; }
.task-step-body small { color: var(--muted); font-size: 10px; }
.task-step-body small span { display: block; color: var(--warning); margin-top: 4px; }
.task-step button { width:100%; min-height:38px; margin-top:10px; border:0; border-radius:10px; background:var(--accent); color:#fff; font-size:11px; font-weight:850; cursor:pointer; }
.task-step button:disabled { background:var(--panel-3); color:var(--success); }
.task-step a { color:#85c9ff; text-decoration:none; }
.action-order-card { overflow:hidden; padding:18px; border-color:rgba(74,160,240,.2); background:linear-gradient(150deg,rgba(74,160,240,.075),var(--panel) 42%); }
.action-order-card.action-order-completed { border-color:rgba(98,217,139,.28); background:linear-gradient(150deg,rgba(98,217,139,.09),var(--panel) 45%); }
.action-order-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; }
.action-order-heading h2 { margin:5px 0 0; max-width:300px; font-size:21px; line-height:1.16; letter-spacing:-.025em; }
.action-order-mark { flex:0 0 42px; width:42px; height:42px; display:grid; place-items:center; border:1px solid rgba(74,160,240,.26); border-radius:14px; background:rgba(74,160,240,.11); color:#a7d9ff; font-size:20px; font-weight:900; }
.action-order-completed .action-order-mark { border-color:rgba(98,217,139,.28); background:rgba(98,217,139,.12); color:var(--success); }
.action-order-card > p { margin:12px 0 15px; color:var(--muted); font-size:11px; line-height:1.5; }
.channel-state { color: var(--warning); font-size: 9px; font-weight: 800; }
.action-step-card.completed .channel-state { color: var(--success); }
.action-step-head { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; }
.action-step-head b { min-width:0; font-size:11px; line-height:1.35; }
.channel-link { min-height: 42px; margin-top: 11px; padding: 0 12px; display: flex; align-items: center; justify-content: space-between; border: 1px solid rgba(74,160,240,.24); border-radius: 11px; background: rgba(74,160,240,.08); color: #9ed5ff; font-size: 11px; font-weight: 850; text-decoration: none; }
.channel-link span { font-size: 17px; font-weight: 400; }
.channel-missing { margin-top: 9px; color: var(--danger); font-size: 10px; }
.channel-invite-task { display:grid; gap:10px; margin-top:12px; padding:13px; border:1px solid rgba(74,160,240,.22); border-radius:16px; background:linear-gradient(145deg,rgba(74,160,240,.09),rgba(9,14,22,.42) 55%); }
.channel-invite-summary { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.channel-invite-summary > div { min-width:0; }
.channel-invite-summary b, .channel-invite-summary small { display:block; }
.channel-invite-summary b { color:#eef8ff; font-size:12px; line-height:1.3; }
.channel-invite-summary small { margin-top:5px; color:var(--muted); font-size:9px; line-height:1.45; }
.channel-invite-summary > strong { flex:0 0 auto; padding:6px 9px; border:1px solid rgba(74,160,240,.25); border-radius:10px; background:rgba(74,160,240,.11); color:#a9dcff; font-size:11px; line-height:1; white-space:nowrap; }
.channel-invite-guide { padding:10px 11px; border:1px solid rgba(255,190,92,.18); border-radius:12px; background:rgba(255,190,92,.06); }
.channel-invite-guide > b { display:block; color:#f4d9a6; font-size:10px; line-height:1.3; }
.channel-invite-guide ol { margin:7px 0 0; padding-left:17px; color:var(--muted); font-size:9px; line-height:1.45; }
.channel-invite-guide li + li { margin-top:5px; }
.channel-invite-guide li::marker { color:#f0be70; font-weight:900; }
.channel-invite-guide li b { color:#f4e8d1; }
.channel-invite-batch { display:grid; gap:8px; padding:11px; border:1px solid rgba(74,160,240,.28); border-radius:13px; background:linear-gradient(125deg,rgba(48,126,201,.2),rgba(74,160,240,.08)); }
.channel-invite-batch > div:first-child b, .channel-invite-batch > div:first-child small { display:block; }
.channel-invite-batch > div:first-child b { color:#dff2ff; font-size:10px; line-height:1.3; }
.channel-invite-batch > div:first-child small { margin-top:3px; color:var(--muted); font-size:8px; line-height:1.4; }
.channel-invite-batch-actions { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:7px; }
.channel-invite-batch-actions button { min-width:0; min-height:39px; padding:0 8px; border:1px solid rgba(74,160,240,.28); border-radius:10px; background:rgba(74,160,240,.13); color:#d9f1ff; font-size:9px; font-weight:900; cursor:pointer; }
.channel-invite-batch-actions button:first-child { background:linear-gradient(120deg,rgba(48,126,201,.43),rgba(74,160,240,.2)); }
.channel-invite-batch-actions button span { margin-right:4px; font-size:11px; }
.channel-invite-batch-actions button:active { transform:scale(.98); }
.channel-invite-batch-actions button:disabled { opacity:.55; cursor:default; }
.channel-invite-list { display:grid; gap:8px; }
.channel-invite-row { padding:11px; border:1px solid rgba(255,255,255,.075); border-radius:13px; background:rgba(255,255,255,.025); }
.channel-invite-row.completed { border-color:rgba(98,217,139,.22); background:rgba(98,217,139,.055); }
.channel-invite-row.stage-members_left, .channel-invite-row.stage-rejected_only, .channel-invite-row.stage-personal_link_inactive { border-color:rgba(236,103,103,.23); background:rgba(236,103,103,.045); }
.channel-invite-row-head { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; }
.channel-invite-channel { min-width:0; display:flex; align-items:center; gap:9px; }
.channel-invite-channel-icon { flex:0 0 28px; width:28px; height:28px; display:grid; place-items:center; border-radius:9px; background:rgba(74,160,240,.13); color:#9ed5ff; font-size:12px; font-weight:900; }
.channel-invite-row.completed .channel-invite-channel-icon { background:rgba(98,217,139,.13); color:var(--success); }
.channel-invite-channel div { min-width:0; }
.channel-invite-channel b, .channel-invite-channel small { display:block; }
.channel-invite-channel b { overflow:hidden; color:#f3f8fc; font-size:11px; line-height:1.25; text-overflow:ellipsis; white-space:nowrap; }
.channel-invite-channel small { margin-top:3px; color:var(--faint); font-size:8px; line-height:1.35; }
.channel-invite-row-head > strong { flex:0 0 auto; color:#cceaff; font-size:11px; font-variant-numeric:tabular-nums; }
.channel-invite-row.completed .channel-invite-row-head > strong { color:var(--success); }
.channel-invite-row-state { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:5px 8px; margin-top:8px; font-size:8px; line-height:1.35; }
.channel-invite-row-state > span { color:var(--faint); }
.channel-invite-row-state.link-ready > span { color:#8fcaf5; }
.channel-invite-warning { color:#ef9d9d; font-size:8px; font-weight:800; }
.channel-invite-progress { height:5px; margin-top:9px; overflow:hidden; border-radius:999px; background:rgba(255,255,255,.075); }
.channel-invite-progress span { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,#3f92e4,#71caff); transition:width .28s ease; }
.channel-invite-row.completed .channel-invite-progress span { background:linear-gradient(90deg,#36a96a,#70df9a); }
.channel-invite-box { margin-top:9px; padding-top:8px; border-top:1px solid rgba(255,255,255,.055); }
.channel-invite-link-label { display:flex; align-items:baseline; justify-content:space-between; gap:8px; margin-bottom:7px; }
.channel-invite-link-label b { color:#cceaff; font-size:8px; line-height:1.3; }
.channel-invite-link-label small { min-width:0; overflow:hidden; color:var(--faint); font-size:8px; text-overflow:ellipsis; white-space:nowrap; }
.channel-invite-actions { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:7px; }
.channel-invite-actions button { min-width:0; min-height:36px; padding:0 8px; border:1px solid rgba(74,160,240,.22); border-radius:10px; background:rgba(74,160,240,.085); color:#a9dcff; font-size:9px; font-weight:850; cursor:pointer; }
.channel-invite-actions button span { margin-right:4px; font-size:11px; }
.channel-invite-actions button:active { transform:scale(.98); }
.channel-invite-actions button:disabled { opacity:.52; cursor:default; }
.channel-invite-main-action { width:100%; min-height:43px; padding:0 13px; display:flex; align-items:center; justify-content:space-between; gap:10px; border:1px solid rgba(74,160,240,.32); border-radius:12px; background:linear-gradient(120deg,rgba(48,126,201,.32),rgba(74,160,240,.17)); color:#e5f5ff; font-size:10px; font-weight:900; cursor:pointer; }
.channel-invite-main-action span { font-size:16px; font-weight:400; }
.channel-invite-main-action:active { transform:scale(.99); }
.channel-invite-main-action:disabled { opacity:.55; cursor:default; }
.channel-invite-verify { width:100%; min-height:45px; padding:0 13px; border:1px solid rgba(98,217,139,.32); border-radius:12px; background:linear-gradient(120deg,rgba(45,159,91,.34),rgba(98,217,139,.16)); color:#e9fff1; font-size:10px; font-weight:900; cursor:pointer; }
.channel-invite-verify:active { transform:scale(.99); }
.channel-invite-verify:disabled { opacity:.55; cursor:default; }
.channel-invite-task.compact { margin-top:10px; padding:11px; }
.channel-invite-task.compact .channel-invite-summary small { font-size:8px; }
.channel-invite-task.compact .channel-invite-guide { padding:9px; }
.channel-invite-task.compact .channel-invite-guide ol { font-size:8px; }
.action-order-card > .primary-button { margin-top: 12px; }
.free-account-limit { display:grid; gap:3px; margin-top:9px; padding:8px 9px; border:1px solid rgba(255,190,92,.18); border-radius:10px; background:rgba(255,190,92,.055); }
.free-account-limit b { color:#f2d59e; font-size:9px; }
.free-account-limit span { color:var(--faint); font-size:8px; line-height:1.35; }
.btn-add.claimed { border:1px solid rgba(98,217,139,.28); background:rgba(98,217,139,.12); color:var(--success); }
.action-limit-warning { display:grid; gap:3px; margin:0 0 12px; padding:10px 11px; border:1px solid rgba(255,190,92,.2); border-radius:12px; background:rgba(255,190,92,.065); }
.action-limit-warning b { color:#f4d9a6; font-size:10px; }
.action-limit-warning span { color:var(--muted); font-size:9px; line-height:1.4; }
.action-help { display: block; margin-top: 9px; color: var(--faint); font-size: 9px; line-height: 1.4; }
.action-stock-note { display:flex; align-items:center; gap:11px; padding:13px; border:1px solid rgba(255,190,92,.22); border-radius:14px; background:rgba(255,190,92,.075); }
.action-stock-note b, .action-stock-note small { display:block; }
.action-stock-note b { color:#f5d8a2; font-size:11px; }
.action-stock-note small { margin-top:3px; color:var(--muted); font-size:9px; line-height:1.35; }
.action-stock-spinner { width:24px; height:24px; flex:0 0 24px; border:3px solid rgba(255,190,92,.2); border-top-color:var(--warning); border-radius:50%; animation:actionStockSpin .9s linear infinite; }
.action-credentials { display:grid; gap:10px; }
.action-credential-field { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:7px 10px; padding:14px; border:1px solid rgba(98,217,139,.22); border-radius:15px; background:rgba(6,20,13,.44); }
.action-credential-label { grid-column:1 / -1; display:flex; align-items:center; gap:7px; color:var(--success); }
.action-credential-label span { width:24px; height:24px; display:grid; place-items:center; border-radius:8px; background:rgba(98,217,139,.12); font-size:12px; }
.action-credential-label small { font-size:9px; font-weight:900; letter-spacing:.06em; text-transform:uppercase; }
.action-credential-field strong { min-width:0; align-self:center; overflow-wrap:anywhere; color:#f4fff7; font-size:15px; line-height:1.35; user-select:text; }
.action-copy-button { align-self:center; min-height:36px; padding:0 12px; border:1px solid rgba(98,217,139,.28); border-radius:10px; background:rgba(98,217,139,.12); color:var(--success); font-size:9px; font-weight:900; cursor:pointer; }
.action-copy-button:active { transform:scale(.97); }
.action-copy-button:disabled { opacity:.45; cursor:default; }
@keyframes actionStockSpin { to { transform:rotate(360deg); } }

.order-hero-card { overflow: hidden; padding: 14px 15px; }
.order-head { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.order-head h1 { margin: 4px 0 0; font-size: 18px; line-height: 1.25; }
.order-summary { color: var(--muted); font-size: 10px; margin: 7px 0 0; }
.order-benefits { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; margin-top:12px; }
.order-benefits > span { min-width:0; padding:9px 10px; border:1px solid var(--line); border-radius:11px; background:rgba(255,255,255,.025); }
.order-benefits small, .order-access-item small { display:block; margin-bottom:4px; color:var(--faint); font-size:8px; font-weight:800; letter-spacing:.04em; text-transform:uppercase; }
.order-benefits b { display:block; overflow-wrap:anywhere; color:var(--text); font-size:11px; }
.order-discount-summary { display:grid; gap:5px; margin-top:9px; padding:10px 11px; border:1px solid rgba(98,217,139,.20); border-radius:11px; background:rgba(98,217,139,.055); }
.order-discount-summary > span { display:flex; align-items:baseline; justify-content:space-between; gap:12px; }
.order-discount-summary small { color:var(--faint); font-size:8px; font-weight:800; text-transform:uppercase; }
.order-discount-summary s { color:var(--muted); font-size:10px; }
.order-discount-summary b { color:var(--success); font-size:10px; }
.order-discount-summary .is-total { padding-top:4px; border-top:1px solid rgba(98,217,139,.15); }
.order-discount-summary .is-total small { color:var(--text); }
.order-discount-summary strong { color:#effff4; font-size:14px; }
.order-discount-summary.is-resource-bonus { gap:8px; }
.order-promo-resource { display:grid; gap:5px; padding-top:7px; border-top:1px solid rgba(98,217,139,.13); }
.order-promo-resource > span { display:flex; align-items:baseline; justify-content:space-between; gap:12px; }
.order-promo-resource .is-total { margin-top:1px; }
.order-access { display:grid; gap:7px; margin-top:8px; padding-top:8px; border-top:1px solid var(--line); }
.order-access-item { min-width:0; }
.order-access-item code { display:block; overflow-wrap:anywhere; padding:8px 10px; border:1px solid rgba(98,217,139,.18); border-radius:9px; background:rgba(98,217,139,.06); color:var(--success); font-size:11px; line-height:1.35; user-select:text; }
.live-stage-card { overflow: hidden; }
.live-stage-card > .eyebrow { display:block; margin-bottom:9px; }
.live-status-window { position: relative; overflow: hidden; padding: 15px; border: 1px solid rgba(255,91,46,.24); border-radius: 16px; background: linear-gradient(145deg, rgba(255,91,46,.11), rgba(22,25,31,.92)); }
.live-status-window.done { border-color: rgba(98,217,139,.3); background: linear-gradient(145deg, rgba(98,217,139,.11), rgba(22,25,31,.92)); }
.live-status-window.failed { border-color: rgba(239,83,80,.34); background: linear-gradient(145deg, rgba(239,83,80,.12), rgba(22,25,31,.92)); }
.live-status-glow { position: absolute; width: 110px; height: 110px; right: -48px; top: -55px; border-radius: 50%; background: rgba(255,91,46,.22); filter: blur(24px); pointer-events: none; }
.live-status-window.done .live-status-glow { background: rgba(98,217,139,.2); }
.live-status-window.failed .live-status-glow { background: rgba(239,83,80,.22); }
.live-status-head { position: relative; display: grid; grid-template-columns: 38px minmax(0,1fr); align-items: center; gap: 10px; }
.live-status-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: var(--accent); color: white; font-size: 17px; font-weight: 900; box-shadow: 0 0 0 6px rgba(255,91,46,.1); }
.live-status-window.active .live-status-icon { animation: liveStagePulse 1.7s ease-in-out infinite; }
.live-status-window.done .live-status-icon { background: var(--success); color: #07150b; box-shadow: 0 0 0 6px rgba(98,217,139,.1); }
.live-status-window.failed .live-status-icon { background: var(--danger); box-shadow: 0 0 0 6px rgba(239,83,80,.1); }
.live-status-head b { display: block; overflow: hidden; color: var(--text); font-size: 13px; line-height: 1.3; text-overflow: ellipsis; }
.live-status-kicker { display: block; margin-bottom: 3px; color: var(--accent-soft); font-size: 8px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.live-status-window.done .live-status-kicker { color: var(--success); }
.live-status-window.failed .live-status-kicker { color: var(--danger); }
.live-status-window > p { position: relative; margin: 13px 0 11px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.live-progress-meta { position:relative; display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin:11px 1px 7px; }
.live-progress-meta strong { color:var(--text); font-size:20px; line-height:1; letter-spacing:-.04em; }
.live-progress-meta span { color:var(--accent-soft); font-size:9px; font-weight:800; text-align:right; }
.live-status-window.done .live-progress-meta span { color:var(--success); }
.live-status-window.failed .live-progress-meta span { color:var(--danger); }
.live-status-progress { height: 11px; overflow: hidden; border:1px solid rgba(255,255,255,.055); border-radius: 999px; background: rgba(255,255,255,.075); box-shadow:inset 0 1px 4px rgba(0,0,0,.34); }
.live-status-progress span { position:relative; display: block; min-width:0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #ff4f29, #ff9a61); box-shadow:0 0 15px rgba(255,91,46,.42); transition: width .55s cubic-bezier(.22,.72,.25,1); }
.live-status-window.active .live-status-progress span::after { content:""; position:absolute; inset:0; background:linear-gradient(105deg, transparent 20%, rgba(255,255,255,.38) 46%, transparent 72%); transform:translateX(-100%); animation:liveProgressShine 2.2s ease-in-out infinite; }
.live-status-window.done .live-status-progress span { background: linear-gradient(90deg, #45bf77, var(--success)); }
.live-status-window.failed .live-status-progress span { background: var(--danger); }
.live-status-window > small { display: block; margin-top: 8px; color: var(--faint); font-size: 8px; }
@keyframes liveStagePulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.07); } }
@keyframes liveProgressShine { 0%,40% { transform:translateX(-100%); } 75%,100% { transform:translateX(100%); } }
.delivery-box { padding:15px; border:1px solid rgba(98,217,139,.25); border-radius:var(--radius-md); background:rgba(98,217,139,.07); margin-bottom:12px; }
.result-shot { width:100%; border-radius:12px; border:1px solid var(--line); display:block; }
.live-result-shot { position:relative; margin:13px 0 0; }
.live-result-shot figcaption { margin-top:6px; color:var(--faint); font-size:8px; text-align:center; }
.review-form { display:grid; gap:10px; }
.review-public-note { margin:0; padding:11px 12px; border:1px solid rgba(98,217,139,.22); border-radius:12px; background:rgba(98,217,139,.07); color:var(--muted); font-size:10px; line-height:1.45; }
.review-bonus-note { margin:0 0 12px; padding:12px; border:1px solid rgba(255,154,97,.24); border-radius:13px; background:linear-gradient(135deg,rgba(255,91,46,.09),rgba(255,193,125,.045)); color:var(--muted); font-size:10px; line-height:1.5; }
.review-bonus-note b { color:var(--accent-soft); }
.review-attach-button { min-height:48px; width:100%; border:1px dashed rgba(255,154,97,.42); border-radius:13px; background:rgba(255,91,46,.07); color:var(--accent-soft); font-size:11px; font-weight:850; cursor:pointer; }
.review-public-media-choice { display:grid; grid-template-columns:auto minmax(0,1fr); align-items:start; gap:9px; padding:10px 11px; border:1px solid var(--line); border-radius:11px; background:rgba(255,255,255,.018); color:var(--muted); font-size:10px; line-height:1.45; cursor:pointer; }
.review-public-media-choice input { width:17px; height:17px; margin:0; accent-color:var(--accent); }
.review-screenshot-preview { width:100%; max-height:260px; object-fit:contain; border:1px solid var(--line); border-radius:13px; background:#090a0d; }
.credentials-card { border-color:rgba(255,91,46,.32); background:linear-gradient(150deg,rgba(255,91,46,.09),var(--panel) 46%); }
.credentials-card-head { display:grid; grid-template-columns:42px minmax(0,1fr); align-items:center; gap:10px; margin-bottom:12px; }
.credentials-card-head > span { width:42px; height:42px; display:grid; place-items:center; border-radius:13px; background:rgba(255,91,46,.14); font-size:20px; }
.credentials-card-head small { display:block; margin-bottom:2px; color:var(--accent-soft); font-size:8px; font-weight:900; letter-spacing:.1em; }
.credentials-card-head h3 { margin:0; color:var(--text); font-size:16px; }
.credentials-card .form-input { margin-bottom:8px; background:rgba(7,8,11,.64); }
.credentials-submit { display:flex; align-items:center; justify-content:center; gap:12px; margin-top:4px; }
.credentials-submit b { font-size:18px; line-height:1; }
.credentials-security { display:block; margin-top:8px; color:var(--faint); font-size:8px; text-align:center; }
.checkout-bonus-card { margin-bottom:14px; padding:13px; border:1px solid rgba(255,154,97,.26); border-radius:15px; background:linear-gradient(140deg,rgba(255,91,46,.08),rgba(255,193,125,.035)); transition:.2s ease; }
.checkout-bonus-card.selected { border-color:rgba(98,217,139,.48); background:linear-gradient(140deg,rgba(98,217,139,.1),rgba(255,193,125,.04)); box-shadow:0 0 0 3px rgba(98,217,139,.055); }
.checkout-bonus-head { display:grid; grid-template-columns:48px minmax(0,1fr); align-items:center; gap:10px; }
.checkout-bonus-head > span { width:48px; height:42px; display:grid; place-items:center; border-radius:12px; background:var(--accent); color:#fff; font-size:14px; font-weight:950; }
.checkout-bonus-card.selected .checkout-bonus-head > span { background:var(--success); color:#07150b; }
.checkout-bonus-head b, .checkout-bonus-head small { display:block; }
.checkout-bonus-head b { color:var(--text); font-size:11px; }
.checkout-bonus-head small { margin-top:3px; color:var(--faint); font-size:8px; }
.checkout-bonus-card p { margin:10px 0; color:var(--muted); font-size:10px; }
.bonus-apply-button { width:100%; min-height:42px; border:1px solid rgba(255,154,97,.35); border-radius:11px; background:rgba(255,91,46,.12); color:var(--accent-soft); font-size:10px; font-weight:900; cursor:pointer; }
.checkout-bonus-card.selected .bonus-apply-button { border-color:rgba(98,217,139,.28); background:rgba(98,217,139,.11); color:var(--success); }

@media (max-width: 370px) {
    .order-benefits { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

.form-group { margin-bottom: 15px; }
.form-label { margin-bottom: 7px; color: #dfe2e7; font-size: 11px; font-weight: 800; }
.form-input, .referral-link-row input, textarea { width: 100%; min-height: 48px; border: 1px solid var(--line-strong); border-radius: 13px; background: var(--panel); color: var(--text); padding: 0 13px; outline: 0; }
textarea.form-input { min-height: 100px; padding-top: 12px; resize: vertical; }
.form-input:focus, textarea:focus { border-color: var(--accent); }
.form-radio { min-height: 48px; display: flex; align-items: center; gap: 9px; padding: 10px 12px; margin-bottom: 7px; border: 1px solid var(--line); border-radius: 13px; background: var(--panel); font-size: 12px; cursor: pointer; }
.form-radio.selected { border-color: var(--accent); background: rgba(255,91,46,.07); }
.form-radio.disabled { opacity:.4; cursor:not-allowed; }
.form-radio small { margin-left:auto; color:var(--faint); }
.payment-info-box, .test-mode-card { padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); margin-bottom: 14px; }
.payment-info-box p, .test-mode-card p, .test-mode-card small { color: var(--muted); font-size: 11px; line-height: 1.45; }
.copy-row { display:flex; justify-content:space-between; gap:12px; padding:8px 0; border-bottom:1px solid var(--line); color:var(--muted); font-size:11px; }
.copy-row:last-child { border:0; }
.copy-val { color:var(--text); font-weight:750; }
.screenshot-upload { min-height:120px; display:grid; place-items:center; border:1px dashed var(--line-strong); border-radius:14px; background:var(--panel); color:var(--muted); font-size:12px; overflow:hidden; }
.screenshot-preview { width:100%; max-height:230px; object-fit:contain; }
.test-values-grid { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.test-check-row { display:flex; align-items:flex-start; gap:9px; padding:10px 0; }
.test-check-row span { display:grid; gap:3px; font-size:11px; }
.test-check-row small, .form-help { color:var(--faint); font-size:9px; }

.checkout-modal { display:none; flex-direction:column; position:fixed; z-index:150; inset:auto 0 0; max-height:92vh; overflow:auto; background:#0d0f13; border-top:1px solid var(--line-strong); border-radius:26px 26px 0 0; box-shadow:0 -30px 80px rgba(0,0,0,.55); padding-bottom:env(safe-area-inset-bottom); }
.checkout-modal:before { content:""; position:fixed; inset:0; z-index:-1; background:rgba(0,0,0,.64); backdrop-filter:blur(4px); }
.shop-overlay-open { overflow:hidden; }
.product-detail-modal { display:none; position:fixed; z-index:225; inset:0; align-items:flex-end; justify-content:center; padding-top:max(12px,env(safe-area-inset-top)); background:rgba(0,0,0,.76); backdrop-filter:blur(8px); }
.product-detail-sheet { width:min(640px,100%); max-height:94dvh; display:grid; grid-template-rows:auto minmax(0,1fr) auto; overflow:hidden; border:1px solid var(--line-strong); border-bottom:0; border-radius:25px 25px 0 0; background:#0d0f13; box-shadow:0 -28px 80px rgba(0,0,0,.64); }
.product-detail-header { min-height:58px; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:9px 13px; border-bottom:1px solid var(--line); background:rgba(17,19,24,.97); }
.product-detail-back,.product-detail-close { min-height:39px; border:1px solid var(--line); border-radius:12px; background:var(--panel-2); color:var(--text); cursor:pointer; }
.product-detail-back { display:inline-flex; align-items:center; gap:8px; padding:0 13px; font-size:11px; font-weight:850; }
.product-detail-close { width:39px; padding:0; font-size:24px; line-height:1; }
.product-detail-content { overflow:auto; overscroll-behavior:contain; }
.product-detail-image,.product-detail-image-placeholder { width:100%; aspect-ratio:1.8/1; display:grid; place-items:center; border-bottom:1px solid var(--line); background:#08090c; object-fit:cover; font-size:48px; }
.product-detail-main { padding:17px; }
.product-detail-main > h2 { margin:8px 0 7px; color:var(--text); font-size:clamp(24px,7vw,32px); line-height:1.05; letter-spacing:-.04em; }
.product-detail-description { margin:0; color:var(--muted); font-size:12px; line-height:1.55; white-space:pre-line; }
.product-detail-price-row { display:flex; align-items:baseline; gap:9px; margin:14px 0 10px; }
.product-detail-price-row strong { font-size:23px; letter-spacing:-.04em; }
.product-detail-price-row del { color:var(--faint); font-size:11px; }
.product-detail-delivery { display:flex; align-items:center; gap:8px; margin:0; padding:10px 11px; border:1px solid rgba(98,217,139,.2); border-radius:11px; background:rgba(98,217,139,.065); color:#b6dec4; font-size:10px; font-weight:750; line-height:1.4; }
.product-detail-section { margin-top:16px; padding-top:15px; border-top:1px solid var(--line); }
.product-detail-section h3 { margin:0 0 10px; color:var(--text); font-size:14px; }
.product-detail-section-head { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.product-detail-section-head > span { min-width:28px; padding:4px 7px; border-radius:999px; background:var(--panel-3); color:var(--muted); font-size:9px; font-weight:850; text-align:center; }
.product-detail-benefits { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; }
.product-detail-benefits > div { min-width:0; display:grid; grid-template-columns:28px minmax(0,1fr); grid-template-rows:auto auto; column-gap:8px; padding:10px; border:1px solid var(--line); border-radius:12px; background:var(--panel); }
.product-detail-benefits > div > span { grid-row:1/3; align-self:center; font-size:19px; }
.product-detail-benefits small { color:var(--faint); font-size:8px; font-weight:800; text-transform:uppercase; letter-spacing:.06em; }
.product-detail-benefits b { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#f4dda6; font-size:11px; }
.product-detail-cars { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; }
.product-detail-cars > div { min-width:0; display:flex; align-items:center; gap:8px; padding:9px 10px; border:1px solid var(--line); border-radius:10px; background:var(--panel); }
.product-detail-cars span { flex:0 0 auto; color:var(--accent); font:850 8px ui-monospace,Consolas,monospace; }
.product-detail-cars b { min-width:0; overflow-wrap:anywhere; color:#d9dde4; font-size:10px; line-height:1.35; }
.product-detail-footer { padding:12px 16px calc(12px + env(safe-area-inset-bottom)); border-top:1px solid var(--line); background:rgba(13,15,19,.98); }
.product-detail-footer .primary-button { min-height:49px; }
.review-lightbox { display:none; position:fixed; z-index:260; inset:0; grid-template-rows:auto minmax(0,1fr) auto; padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom); background:rgba(3,4,6,.985); }
.review-lightbox-header { min-height:66px; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:10px 14px; border-bottom:1px solid var(--line); }
.review-lightbox-header .overline { margin-bottom:2px; }
.review-lightbox-header h2 { max-width:74vw; overflow:hidden; margin:0; color:var(--text); font-size:18px; line-height:1.2; text-overflow:ellipsis; white-space:nowrap; }
.review-lightbox-header button { width:40px; height:40px; flex:0 0 auto; border:1px solid var(--line); border-radius:12px; background:var(--panel-2); color:var(--text); font-size:25px; cursor:pointer; }
.review-lightbox-stage { position:relative; min-height:0; display:flex; align-items:center; justify-content:center; overflow:hidden; overscroll-behavior:contain; }
.review-lightbox-image-button { width:100%; height:100%; flex:0 0 100%; display:grid; place-items:center; padding:14px 12px; border:0; background:transparent; cursor:zoom-in; touch-action:pan-x pan-y; transition:width .18s,height .18s; }
.review-lightbox-image-button img { max-width:100%; max-height:100%; display:block; object-fit:contain; box-shadow:0 18px 70px rgba(0,0,0,.5); }
.review-lightbox-media-status { place-self:center; color:var(--muted); font-size:12px; font-weight:750; }
.review-lightbox-stage.zoomed { display:block; overflow:auto; }
.review-lightbox-stage.zoomed .review-lightbox-image-button { min-width:100%; min-height:100%; display:block; flex:none; padding:0; position:relative; cursor:zoom-out; transition:none; }
.review-lightbox-stage.zoomed .review-lightbox-image-button img { position:absolute; max-width:none; max-height:none; object-fit:fill; }
.review-lightbox-stage.zoomed .review-lightbox-arrow { display:none; }
.review-lightbox-arrow { position:absolute; z-index:2; top:50%; width:38px; height:54px; display:grid; place-items:center; padding:0; border:1px solid rgba(255,255,255,.17); border-radius:12px; background:rgba(17,19,24,.78); color:var(--text); font-size:30px; line-height:1; transform:translateY(-50%); backdrop-filter:blur(6px); cursor:pointer; }
.review-lightbox-arrow.previous { left:8px; }
.review-lightbox-arrow.next { right:8px; }
.review-lightbox-footer { min-height:78px; display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:end; gap:12px; padding:12px 15px; border-top:1px solid var(--line); background:#0d0f13; }
.review-lightbox-footer p { margin:0 0 8px; color:#d7dbe1; font-size:12px; line-height:1.45; }
.review-lightbox-footer .review-author { justify-content:flex-start; }
.review-lightbox-footer > span { align-self:center; color:var(--faint); font-size:10px; font-weight:850; white-space:nowrap; }
#review-lightbox-copy { max-height:min(25dvh,220px); overflow:auto; overscroll-behavior:contain; padding-right:4px; }
.confirm-modal { display:none; position:fixed; z-index:210; inset:0; padding:20px; align-items:center; justify-content:center; background:rgba(0,0,0,.78); backdrop-filter:blur(8px); }
.legal-modal { display:none; position:fixed; z-index:220; inset:0; align-items:flex-end; justify-content:center; padding-top:max(12px,env(safe-area-inset-top)); background:rgba(0,0,0,.72); backdrop-filter:blur(7px); }
.legal-modal-sheet { width:min(680px,100%); height:min(94dvh,900px); display:grid; grid-template-rows:auto 1fr auto; overflow:hidden; border:1px solid var(--line-strong); border-bottom:0; border-radius:24px 24px 0 0; background:#0d0f13; box-shadow:0 -28px 80px rgba(0,0,0,.6); }
.legal-modal-header { min-height:68px; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:13px 15px; border-bottom:1px solid var(--line); background:rgba(17,19,24,.97); }
.legal-modal-header .overline { margin-bottom:3px; }
.legal-modal-header h2 { margin:0; font-size:19px; letter-spacing:-.02em; }
.legal-modal-header button { width:38px; height:38px; flex:0 0 auto; border:1px solid var(--line); border-radius:12px; background:var(--panel-2); color:var(--text); font-size:25px; line-height:1; cursor:pointer; }
.legal-modal-content { overflow:auto; overscroll-behavior:contain; padding:14px 14px 24px; }
.legal-modal-content .legal-card { margin-bottom:9px; padding:15px; border:1px solid var(--line); border-radius:14px; background:var(--panel); }
.legal-modal-content .legal-card h2 { margin:0 0 10px; color:#fff; font-size:15px; line-height:1.3; }
.legal-modal-content .legal-card p,.legal-modal-content .legal-card li { color:var(--muted); font-size:11px; line-height:1.55; }
.legal-modal-content .legal-card p { margin:8px 0; }
.legal-modal-content .legal-card ul { margin:8px 0; padding-left:19px; }
.legal-modal-content .legal-card a { color:#82c8ff; }
.legal-modal-support { min-height:48px; margin:10px 14px calc(10px + env(safe-area-inset-bottom)); border:0; border-radius:12px; background:#2b83c6; color:#fff; font-size:11px; font-weight:850; cursor:pointer; }
.confirm-card { width:min(420px,100%); padding:24px 19px 19px; border:1px solid var(--line-strong); border-radius:24px; background:#111318; box-shadow:var(--shadow); text-align:center; }
.confirm-card h2 { margin:7px 0 9px; font-size:25px; letter-spacing:-.035em; }
.confirm-card > p:not(.overline) { margin:0 0 18px; color:var(--muted); font-size:12px; line-height:1.55; }
.confirm-icon { width:48px; height:48px; display:grid; place-items:center; margin:0 auto 14px; border-radius:16px; background:var(--warning); color:#1b1205; font-size:24px; font-weight:950; }
.order-back { display:inline-flex; align-items:center; gap:7px; margin-bottom:12px; border:0; background:transparent; color:var(--muted); padding:4px 0; font-size:11px; font-weight:800; cursor:pointer; }
.sheet-handle { width:38px; height:4px; margin:8px auto 2px; border-radius:999px; background:var(--line-strong); }
.cart-header { display:flex; align-items:center; justify-content:space-between; gap:15px; padding:14px 17px; border-bottom:1px solid var(--line); }
.cart-header h2 { margin:0; font-size:23px; }
.close-cart { width:39px; height:39px; border:1px solid var(--line); border-radius:12px; background:var(--panel); font-size:23px; cursor:pointer; }
.checkout-form { padding:16px 17px 4px; }
.cart-footer { position:sticky; bottom:0; padding:14px 17px 17px; border-top:1px solid var(--line); background:#0d0f13; }
.cart-total { display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin-bottom:11px; font-weight:850; }
.cart-total strong { white-space:nowrap; }
.checkout-security { display:block; margin-top:8px; text-align:center; color:var(--faint); font-size:9px; }
.video-payment-success { display:grid; grid-template-columns:42px minmax(0,1fr); align-items:center; gap:11px; margin-bottom:12px; padding:13px; border:1px solid rgba(98,217,139,.28); border-radius:14px; background:rgba(98,217,139,.07); }
.video-payment-success > span { width:42px; height:42px; display:grid; place-items:center; border-radius:13px; background:rgba(98,217,139,.15); color:var(--success); font-size:20px; font-weight:950; }
.video-payment-success b,.video-payment-success small { display:block; }
.video-payment-success b { color:#f2fff7; font-size:13px; }
.video-payment-success small { margin-top:3px; color:#a8c9b5; font-size:10px; line-height:1.4; }
.video-ready-note { margin:10px 0 0; padding:10px 12px; border-radius:12px; background:var(--panel); color:var(--muted); font-size:10px; line-height:1.5; }
.video-credentials-group { display:grid; gap:8px; }
.promo-code-modal { z-index:185; }
.promo-code-form { display:grid; padding:18px 17px 8px; }
.promo-code-mark { width:56px; height:56px; display:grid; place-items:center; margin:2px auto 13px; border-radius:18px; background:rgba(223,90,100,.14); color:#f17b84; font-size:26px; font-weight:950; transform:rotate(-5deg); }
.promo-code-form > p { margin:0 0 15px; color:var(--muted); font-size:12px; line-height:1.5; text-align:center; }
.promo-code-input { margin-bottom:9px; text-align:center; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.promo-code-form .primary-button { margin-top:2px; }
.promo-code-form > small { margin-top:10px; color:var(--faint); font-size:9px; line-height:1.45; text-align:center; }
.checkout-discount-card { display:grid; gap:10px; margin-bottom:14px; padding:13px; border:1px solid rgba(130,200,255,.22); border-radius:15px; background:linear-gradient(145deg,rgba(71,142,198,.09),rgba(17,19,24,.65)); }
.checkout-discount-card.applied { border-color:rgba(98,217,139,.38); background:linear-gradient(145deg,rgba(98,217,139,.09),rgba(17,19,24,.72)); box-shadow:0 0 0 3px rgba(98,217,139,.04); }
.checkout-discount-head { display:grid; grid-template-columns:39px minmax(0,1fr); align-items:center; gap:10px; }
.checkout-discount-head > span { width:39px; height:39px; display:grid; place-items:center; border-radius:12px; background:rgba(130,200,255,.14); color:#9ed5ff; font-size:17px; font-weight:950; transform:rotate(-4deg); }
.checkout-discount-card.applied .checkout-discount-head > span { background:rgba(98,217,139,.15); color:var(--success); }
.checkout-discount-head b,.checkout-discount-head small { display:block; }
.checkout-discount-head b { color:var(--text); font-size:11px; }
.checkout-discount-head small { margin-top:3px; color:var(--faint); font-size:8px; line-height:1.4; }
.checkout-discount-input-row { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:7px; }
.checkout-discount-input-row .form-input { min-height:43px; text-transform:uppercase; font-size:11px; font-weight:850; letter-spacing:.055em; }
.checkout-discount-input-row .form-input[readonly] { border-color:rgba(98,217,139,.24); color:#d9ffe5; }
.discount-apply-button { min-width:101px; min-height:43px; border:1px solid rgba(130,200,255,.22); border-radius:11px; background:rgba(130,200,255,.12); color:#b9e2ff; padding:0 11px; font-size:9px; font-weight:900; cursor:pointer; }
.discount-apply-button:disabled { opacity:.72; cursor:default; }
.checkout-discount-card.applied .discount-apply-button { border-color:rgba(98,217,139,.24); background:rgba(98,217,139,.12); color:var(--success); }
.checkout-discount-status { min-height:14px; color:var(--faint); font-size:9px; line-height:1.45; }
.checkout-discount-status.is-error { color:#ff9ba4; }
.checkout-discount-status.is-success { color:#91e3ad; }
.discount-clear-button { justify-self:start; border:0; background:transparent; color:var(--muted); padding:0; font-size:9px; font-weight:800; text-decoration:underline; cursor:pointer; }
.checkout-price-summary { width:100%; display:grid; gap:5px; }
.checkout-price-summary > span { display:flex; align-items:baseline; justify-content:space-between; gap:12px; }
.checkout-price-summary small { color:var(--faint); font-size:9px; font-weight:750; }
.checkout-price-summary s { color:var(--muted); font-size:11px; font-weight:700; }
.checkout-price-discount b { color:var(--success); font-size:11px; }
.checkout-price-final { padding-top:5px; border-top:1px solid var(--line); }
.checkout-price-final small { color:var(--text); font-size:11px; font-weight:900; }
.checkout-price-final strong { color:#fff; font-size:16px; }
.checkout-price-summary.is-currency-bonus { gap:8px; }
.checkout-resource-summary { display:grid; gap:5px; padding-top:7px; border-top:1px solid var(--line); }
.checkout-resource-summary > span { display:flex; align-items:baseline; justify-content:space-between; gap:12px; }
.checkout-resource-summary .checkout-price-final { margin-top:1px; }
.service-modes-card { padding:0; overflow:hidden; }
.service-modes-card > summary { min-height:60px; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:15px 17px; cursor:pointer; list-style:none; }
.service-modes-card > summary::-webkit-details-marker { display:none; }
.service-modes-card > summary span { color:#d8dce2; font-size:12px; font-weight:850; }
.service-modes-card > summary small { color:var(--faint); font-size:9px; }
.service-modes-card[open] > summary { border-bottom:1px solid var(--line); }
.service-modes-content { display:grid; gap:8px; padding:12px; }
.service-mode-button { width:100%; min-height:64px; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:11px 12px; border:1px solid var(--line); border-radius:13px; background:var(--panel-2); color:var(--text); text-align:left; cursor:pointer; }
.service-mode-button span { min-width:0; }
.service-mode-button b,.service-mode-button small { display:block; }
.service-mode-button b { font-size:11px; }
.service-mode-button small { margin-top:3px; color:var(--muted); font-size:9px; line-height:1.4; }
.service-mode-button strong { flex:0 0 auto; padding:5px 7px; border-radius:8px; background:var(--panel-3); color:var(--faint); font-size:9px; }
.service-mode-button.video.active { border-color:rgba(98,217,139,.38); background:rgba(98,217,139,.08); }
.service-mode-button.video.active strong { background:rgba(98,217,139,.16); color:var(--success); }
.service-mode-button.test.active { border-color:rgba(197,168,255,.38); background:rgba(122,69,229,.10); }
.service-mode-button.test.active strong { background:rgba(122,69,229,.22); color:#dbc6ff; }
.service-mode-warning { margin:2px 2px 0; color:var(--faint); font-size:9px; line-height:1.5; }
.bottom-nav { position:fixed; z-index:100; left:8px; right:8px; bottom:calc(7px + env(safe-area-inset-bottom)); height:74px; display:grid; grid-template-columns:repeat(4,1fr); padding:6px; border:1px solid rgba(255,255,255,.22); border-radius:21px; background:rgba(17,19,24,.97); backdrop-filter:blur(20px); box-shadow:0 16px 48px rgba(0,0,0,.5); }
.nav-item { border:0; border-radius:14px; background:transparent; color:var(--faint); display:grid; place-items:center; align-content:center; gap:2px; cursor:pointer; }
.nav-item > span { font-size:20px; line-height:1; }
.nav-item small { font-size:10px; font-weight:850; }
.nav-item.active { background:var(--text); color:var(--bg); }
.toast { position:fixed; z-index:250; left:50%; top:calc(75px + env(safe-area-inset-top)); transform:translate(-50%,-12px); width:max-content; max-width:calc(100% - 32px); padding:11px 14px; border:1px solid var(--line-strong); border-radius:12px; background:#1d2026; color:white; box-shadow:var(--shadow); opacity:0; pointer-events:none; transition:.2s; font-size:12px; font-weight:750; text-align:center; }
.toast.show { opacity:1; transform:translate(-50%,0); }
.auth-page { min-height:100vh; padding:80px 18px; }
.auth-card { max-width:480px; margin:auto; padding:30px 22px; border:1px solid var(--line); border-radius:28px; background:var(--panel); text-align:center; }
.auth-mark { width:62px; height:62px; display:grid; place-items:center; margin:0 auto 18px; border-radius:20px; background:var(--accent); font-weight:950; font-size:22px; transform:skew(-6deg); }
.auth-card h1 { font-size:29px; line-height:1.05; letter-spacing:-.04em; }
.auth-card p:not(.overline) { color:var(--muted); font-size:13px; line-height:1.5; }
.auth-card small { display:block; margin-top:14px; color:var(--faint); font-size:10px; }

@media (min-width: 620px) {
    .shop-hero { border-radius:0 0 30px 30px; width:min(940px,calc(100% - 20px)); margin:0 auto; }
    .checkout-modal { left:50%; right:auto; width:520px; transform:translateX(-50%); }
    .product-detail-modal { align-items:center; padding:20px; }
    .product-detail-sheet { max-height:min(900px,calc(100dvh - 40px)); border-bottom:1px solid var(--line-strong); border-radius:25px; }
}

@media (max-width: 370px) {
    .trust-grid small { display:none; }
    .card-info { padding:9px; }
    .cat-tab { font-size:9px; padding-inline:4px; }
    .hero-content h1 { font-size:34px; }
    .home-actions { grid-template-columns: 1fr; }
    .home-order-card { grid-template-columns: 1fr auto; }
    .home-order-live { grid-column: 1 / -1; }
    .product-detail-cars { grid-template-columns:1fr; }
    .review-carousel-controls button { width:34px; height:34px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *:before, *:after { animation-duration:.01ms !important; animation-iteration-count:1 !important; scroll-behavior:auto !important; transition-duration:.01ms !important; }
}

/* Административная панель остаётся самостоятельным плотным интерфейсом. */
.admin-body { max-width: 1320px; margin: 0 auto; padding-bottom: 40px; background: var(--bg); }
.admin-body .header { padding-inline: 16px; font-weight: 850; }
.admin-tabs { position: sticky; top: 64px; z-index: 70; display: flex; gap: 7px; overflow-x: auto; padding: 10px 12px; background: rgba(9,10,13,.96); border-bottom: 1px solid var(--line); scrollbar-width: none; }
.admin-tabs::-webkit-scrollbar { display:none; }
.admin-tab { flex: 0 0 auto; padding: 9px 11px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); color: var(--muted); font-size: 11px; font-weight: 750; cursor: pointer; }
.admin-tab.active { background: var(--accent); border-color: var(--accent); color: white; }
.admin-section { padding: 14px 12px 40px; }
.admin-card { padding: 15px; margin-bottom: 10px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.admin-card-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.admin-label { display: block; margin: 11px 0 5px; color: var(--muted); font-size: 10px; font-weight: 800; }
.admin-input, .admin-select { width: 100%; min-height: 43px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--panel-2); color: var(--text); padding: 8px 10px; outline: 0; }
textarea.admin-input { min-height: 84px; resize: vertical; }
.admin-input:focus, .admin-select:focus { border-color: var(--accent); }
.admin-btn, .admin-btn-success, .admin-btn-danger, .admin-btn-secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 39px; border: 0; border-radius: 10px; padding: 7px 12px; background: var(--accent); color: white; font-size: 11px; font-weight: 800; cursor: pointer; }
.admin-btn-success { background: #2c9f58; }
.admin-btn-danger { background: #b83d48; }
.admin-btn-secondary { background: var(--panel-3); border: 1px solid var(--line); }
.admin-divider { height: 1px; margin: 18px 0; background: var(--line); }
.legal-editor { min-height: 280px !important; margin-top: 5px; font: 12px/1.55 ui-monospace, SFMono-Regular, Consolas, monospace; }
.legal-editor-actions { display: flex; flex-wrap: wrap; gap: 7px; margin: 7px 0 16px; }
.legal-editor-actions a { text-decoration: none; }
.admin-live-bar { margin-bottom: 10px; }
.admin-live { display: inline-flex; align-items: center; gap: 7px; color: #82c8ff; font-size: 10px; font-weight: 800; }
.admin-live i { width: 7px; height: 7px; border-radius: 50%; background: #82c8ff; box-shadow: 0 0 0 4px rgba(130,200,255,.10); }
.admin-flow-hint { display: inline-flex; align-items: center; min-height: 34px; padding: 6px 9px; border-radius: 9px; background: rgba(255,189,84,.09); color: var(--warning); font-size: 10px; font-weight: 750; }
.admin-flow-hint.running { background: rgba(94,173,235,.10); color: #82c8ff; }
.badge-active, .badge-free, .badge-inactive, .badge-used { display: inline-flex; padding: 4px 7px; border-radius: 7px; font-size: 9px; font-weight: 850; }
.badge-active, .badge-free { color: var(--success); background: rgba(98,217,139,.10); }
.badge-inactive, .badge-used { color: var(--faint); background: var(--panel-3); }
.modal-overlay { display: none; position: fixed; z-index: 300; inset: 0; padding: 18px; background: rgba(0,0,0,.72); overflow-y: auto; }
.modal-overlay.active { display: flex; align-items: flex-start; justify-content: center; }
.modal-box { width: min(760px,100%); margin: auto; padding: 19px; border: 1px solid var(--line-strong); border-radius: 20px; background: #111318; box-shadow: var(--shadow); }
.modal-title { margin: 0 0 13px; font-size: 22px; }
.admin-toast { top:auto; bottom:calc(24px + env(safe-area-inset-bottom)); z-index:500; }
.admin-page-head { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; margin:2px 0 16px; }
.admin-page-head h2 { margin:3px 0 5px; font-size:27px; line-height:1; letter-spacing:-.035em; }
.admin-page-head p { max-width:690px; margin:0; color:var(--muted); font-size:12px; line-height:1.5; }
.admin-eyebrow { color:#ed6b76; font-size:9px; font-weight:950; letter-spacing:.14em; }
.admin-stat-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:9px; margin-bottom:11px; }
.admin-stat { min-height:82px; display:flex; flex-direction:column; justify-content:center; padding:13px 15px; border:1px solid var(--line); border-radius:15px; background:linear-gradient(145deg,var(--panel),#15171c); }
.admin-stat span { color:var(--faint); font-size:9px; font-weight:850; text-transform:uppercase; letter-spacing:.07em; }
.admin-stat b { margin-top:5px; color:var(--text); font-size:21px; letter-spacing:-.035em; }
.admin-stat small { margin-top:2px; color:var(--muted); font-size:9px; }
.admin-toolbar { display:grid; grid-template-columns:minmax(260px,1fr) minmax(150px,210px) minmax(170px,220px); gap:8px; margin-bottom:9px; padding:9px; border:1px solid var(--line); border-radius:14px; background:var(--panel); }
.admin-search { min-height:43px; display:flex; align-items:center; gap:8px; padding:0 11px; border:1px solid var(--line-strong); border-radius:10px; background:var(--panel-2); }
.admin-search span { color:var(--faint); font-size:21px; }
.admin-search input { min-width:0; width:100%; border:0; outline:0; background:transparent; color:var(--text); font:inherit; }
.admin-result-meta { margin:10px 2px 7px; color:var(--faint); font-size:10px; }
.admin-empty-wide { grid-column:1/-1; padding:55px 16px; border:1px dashed var(--line-strong); border-radius:16px; }
.admin-empty-wide small { display:block; margin-top:5px; color:var(--faint); }
.admin-user-list { display:grid; gap:7px; }
.admin-user-row { width:100%; display:grid; grid-template-columns:44px minmax(170px,1.4fr) 76px 105px minmax(130px,.8fr) minmax(115px,.8fr) 16px; align-items:center; gap:11px; padding:10px 12px; border:1px solid var(--line); border-radius:14px; background:var(--panel); color:var(--text); text-align:left; cursor:pointer; transition:border-color .16s,transform .16s,background .16s; }
.admin-user-row:hover { border-color:rgba(223,90,100,.5); background:#1b1d22; transform:translateY(-1px); }
.admin-user-avatar { width:40px; height:40px; display:grid; place-items:center; flex:0 0 auto; border-radius:13px; background:linear-gradient(145deg,#e15b68,#83333c); color:white; font-size:12px; font-weight:950; box-shadow:inset 0 0 0 1px rgba(255,255,255,.14); }
.admin-user-avatar.large { width:58px; height:58px; border-radius:18px; font-size:17px; }
.admin-user-main,.admin-user-metric,.admin-user-wallet { min-width:0; display:flex; flex-direction:column; }
.admin-user-main b { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:12px; }
.admin-user-main small,.admin-user-metric small,.admin-user-wallet small { margin-bottom:2px; color:var(--faint); font-size:8px; font-weight:800; text-transform:uppercase; letter-spacing:.05em; }
.admin-user-main small { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; text-transform:none; letter-spacing:0; }
.admin-user-metric b,.admin-user-wallet b { font-size:11px; }
.admin-activity { display:inline-flex; align-items:center; gap:6px; color:var(--faint); font-size:9px; font-weight:800; }
.admin-activity i { width:7px; height:7px; flex:0 0 auto; border-radius:50%; background:#60656f; }
.admin-activity.online { color:#76da99; }.admin-activity.online i { background:#59cf82; box-shadow:0 0 0 4px rgba(89,207,130,.1); }
.admin-activity.recent { color:#82c8ff; }.admin-activity.recent i { background:#63b6f4; }
.admin-row-arrow { color:var(--faint); font-size:22px; }
.admin-pagination { display:flex; align-items:center; justify-content:center; gap:14px; margin-top:15px; color:var(--muted); font-size:10px; }
.admin-pagination button:disabled { opacity:.35; cursor:default; }
.user-detail-head { display:flex; align-items:flex-start; gap:13px; position:relative; padding-right:34px; }
.user-detail-head h3 { margin:2px 0; font-size:23px; }.user-detail-head p { margin:0 0 5px; color:var(--muted); font-size:11px; }
.modal-close { width:34px; height:34px; position:absolute; top:-5px; right:-4px; border:1px solid var(--line); border-radius:10px; background:var(--panel-3); color:var(--text); font-size:21px; cursor:pointer; }
.user-detail-actions,.modal-action-row { display:flex; flex-wrap:wrap; gap:7px; margin:13px 0; }
.user-detail-actions a { text-decoration:none; }
.detail-stats { margin-top:10px; grid-template-columns:repeat(5,minmax(0,1fr)); }
.user-detail-grid { display:grid; grid-template-columns:1fr 1fr; gap:9px; }
.admin-subpanel { margin-top:9px; padding:13px; border:1px solid var(--line); border-radius:15px; background:var(--panel); }
.admin-subpanel-title { display:flex; justify-content:space-between; gap:10px; margin-bottom:9px; }
.admin-subpanel-title b { font-size:11px; }.admin-subpanel-title small { color:var(--faint); font-size:8px; }
.admin-subpanel .admin-input { margin-bottom:7px; }
.balance-adjust-grid { display:grid; grid-template-columns:1fr 1fr; gap:7px; }
.user-detail-list { display:grid; gap:5px; }
.user-detail-order,.user-transaction { display:flex; justify-content:space-between; align-items:center; gap:10px; padding:9px 10px; border-radius:10px; background:var(--panel-2); }
.user-detail-order > div,.user-transaction > span { min-width:0; display:flex; flex-direction:column; gap:2px; }
.user-detail-order > div:last-child { align-items:flex-end; }
.user-detail-order b,.user-transaction b { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:9px; }
.user-detail-order small,.user-transaction small { color:var(--faint); font-size:8px; }
.user-transaction strong { font-size:9px; white-space:nowrap; }.user-transaction strong.positive { color:var(--success); }.user-transaction strong.negative { color:#f37982; }
.admin-muted-box,.admin-modal-hint { padding:10px; border-radius:10px; background:var(--panel-2); color:var(--faint); font-size:10px; }
.modal-bottom-close { width:100%; margin-top:10px; }
.modal-title-row { position:relative; padding-right:36px; }.modal-title-row .modal-title { margin-top:2px; }

/* Trainer package editor in the admin product modal. */
.admin-field-hint { margin:5px 0 11px; color:var(--muted); font-size:.78rem; line-height:1.4; }
.ready-product-heading { display:flex; flex-direction:column; gap:4px; margin:13px 0 10px; padding:11px 12px; border:1px solid rgba(91,214,166,.28); border-radius:12px; background:linear-gradient(135deg,rgba(91,214,166,.10),rgba(124,58,237,.07)); }
.ready-product-heading b { color:var(--text); font-size:.9rem; }
.ready-product-heading span { color:var(--muted); font-size:.76rem; line-height:1.4; }
.ready-stock-editor { margin:12px 0; padding:11px; border:1px solid var(--line); border-radius:12px; background:rgba(46,139,246,.055); }
.ready-stock-editor .ready-product-heading { margin-top:0; }
.ready-stock-stats { display:flex; flex-wrap:wrap; gap:6px; margin:0 0 10px; }
.ready-stock-stats span { padding:6px 8px; border:1px solid var(--line); border-radius:999px; color:var(--muted); background:var(--panel-2); font-size:.72rem; }
.ready-stock-stats b { color:var(--text); }
.ready-stock-source { display:grid; gap:4px; margin:8px 0 10px; padding:9px 10px; border:1px dashed rgba(91,214,166,.28); border-radius:10px; background:rgba(91,214,166,.045); }
.ready-stock-source span { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--muted); font-size:.74rem; }
.ready-stock-source b { color:var(--text); }
.ready-production-settings { margin-bottom:14px; border-color:rgba(91,214,166,.32); box-shadow:0 12px 32px rgba(0,0,0,.12); }
.trainer-product-amounts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.trainer-product-amounts label { color:var(--muted); font-size:.78rem; }
.trainer-product-package { margin-top:10px; padding:11px; border:1px solid var(--line); border-radius:12px; background:rgba(124,58,237,.06); }
.trainer-product-map { display:flex; gap:8px; align-items:center; margin:10px 0; padding:9px; border:1px solid var(--line); border-radius:10px; cursor:pointer; }
.trainer-product-cars-head { display:flex; align-items:center; justify-content:space-between; gap:10px; margin:8px 0 6px; }
.trainer-product-cars-head span { color:var(--muted); font-size:.76rem; }
.trainer-product-car-actions { display:flex; gap:7px; margin:7px 0; }
.trainer-product-car-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:5px; max-height:300px; overflow:auto; padding:5px; border:1px solid var(--line); border-radius:10px; background:var(--panel-2); }
.trainer-product-car { display:flex; gap:7px; align-items:center; min-width:0; padding:7px 8px; border:1px solid transparent; border-radius:8px; color:var(--text); font-size:.8rem; cursor:pointer; }
.trainer-product-car:hover { border-color:var(--line-strong); background:var(--panel-3); }
.trainer-product-car span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.hidden { display:none !important; }
@media (max-width:560px) {
    .trainer-product-amounts,.trainer-product-car-list { grid-template-columns:1fr; }
}

.account-toolbar { grid-template-columns:minmax(250px,1fr) minmax(145px,190px) minmax(145px,210px); }
.account-bulk-bar { position:sticky; top:122px; z-index:64; display:flex; align-items:center; flex-wrap:wrap; gap:7px; margin:10px 0; padding:9px 10px; border:1px solid rgba(223,90,100,.6); border-radius:13px; background:rgba(31,24,28,.97); box-shadow:0 10px 30px rgba(0,0,0,.28); }
.account-bulk-bar b { margin-right:auto; font-size:11px; }.account-bulk-close { width:32px;height:32px;border:0;border-radius:9px;background:var(--panel-3);color:white;font-size:18px;cursor:pointer; }
.account-pool-group { margin-top:14px; padding:11px; border:1px solid var(--line); border-radius:18px; background:rgba(21,23,28,.72); }
.account-pool-head { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:10px; }
.account-pool-head > div { display:flex; align-items:center; gap:9px; min-width:0; }.account-pool-head h3 { margin:0; font-size:14px; }.account-pool-head p { margin:2px 0 0; color:var(--faint); font-size:9px; }.account-pool-head > span { color:var(--muted); font-size:9px; white-space:nowrap; }
.account-pool-icon { width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:#242730;color:#f0c66b;font-size:11px;font-weight:950; }
.account-card-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.account-manager-card { position:relative; min-width:0; padding:13px; border:1px solid var(--line); border-radius:15px; background:var(--panel); user-select:none; -webkit-user-select:none; cursor:pointer; transition:border-color .16s,transform .16s,box-shadow .16s; touch-action:pan-y; }
.account-manager-card:hover { transform:translateY(-1px); border-color:var(--line-strong); }.account-manager-card.selected { border-color:#ed6b76; box-shadow:0 0 0 2px rgba(237,107,118,.15); }.account-manager-card.used { opacity:.78; }
.account-manager-card.quarantine { border-color:rgba(242,201,76,.42); background:linear-gradient(145deg,var(--panel),rgba(242,201,76,.045)); }
.account-select-toggle { position:absolute; top:10px; left:10px; z-index:2; width:23px;height:23px;border:1px solid var(--line-strong);border-radius:8px;background:#17191e;color:white;font-size:12px;font-weight:950;cursor:pointer; }.account-manager-card.selected .account-select-toggle { background:#df5a64;border-color:#df5a64; }
.account-card-top { display:flex; justify-content:flex-end; align-items:center; gap:8px; margin-bottom:11px; }.account-id { margin-right:auto; padding-left:29px; color:var(--faint); font:800 9px ui-monospace,monospace; }
.account-login small,.account-password small { display:block; margin-bottom:3px; color:var(--faint); font-size:8px; text-transform:uppercase; font-weight:850; }.account-login b { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:11px; }
.account-password { display:grid; grid-template-columns:1fr auto; align-items:end; gap:5px; margin-top:9px; }.account-password small { grid-column:1/-1;margin:0; }.account-password code { color:#c9ccd3;font-size:10px; }.account-password button,.account-card-foot button { border:0;background:transparent;color:#82c8ff;font-size:9px;font-weight:800;cursor:pointer; }
.account-tags { display:flex; flex-wrap:wrap; gap:4px; margin-top:11px; }.account-tags span { padding:4px 6px;border-radius:7px;background:var(--panel-3);color:var(--muted);font-size:8px;font-weight:800; }.account-tags .pool-tag { background:rgba(242,201,76,.1);color:#e9c86f; }
.account-composition { display:grid; gap:3px; margin-top:8px; }.account-composition span { overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#afb3bd;font-size:8px; }
.account-issued { margin-top:8px;padding:6px 7px;border-radius:8px;background:rgba(130,200,255,.07);color:#82c8ff;font-size:8px; }
.account-card-foot { display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:11px;padding-top:8px;border-top:1px solid var(--line); }.account-card-foot span { color:var(--faint);font-size:8px; }
.account-editor-summary { margin-top:11px;padding:11px;border:1px solid var(--line);border-radius:11px;background:var(--panel-2); }.account-editor-summary b { font-size:10px; }.account-editor-summary ul { margin:7px 0;padding-left:18px;color:var(--muted);font-size:9px;line-height:1.5; }.account-editor-summary small { color:var(--faint);font-size:8px; }

@media (max-width:900px) {
    .admin-user-row { grid-template-columns:42px minmax(150px,1fr) 65px minmax(120px,.7fr) 16px; }
    .admin-user-row .admin-user-metric:nth-child(4),.admin-user-wallet { display:none; }
    .account-card-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:650px) {
    .admin-page-head { align-items:center; }.admin-page-head h2 { font-size:22px; }.admin-page-head p { font-size:10px; }
    .admin-stat-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.admin-stat { min-height:70px; }.admin-stat b { font-size:18px; }
    .admin-toolbar,.account-toolbar { grid-template-columns:1fr; }
    .admin-user-row { grid-template-columns:40px minmax(0,1fr) auto 14px; gap:8px; }
    .admin-user-row .admin-user-metric { display:none; }.admin-user-wallet { display:flex;align-items:flex-end; }.admin-user-wallet b { font-size:9px; }
    .user-detail-grid { grid-template-columns:1fr; }.detail-stats { grid-template-columns:repeat(2,1fr); }
    .account-card-grid { grid-template-columns:1fr; }.account-pool-head { align-items:flex-start; }.account-pool-head > span { white-space:normal;text-align:right; }
    .account-bulk-bar { top:116px; }.account-bulk-bar .admin-btn-secondary,.account-bulk-bar .admin-btn-danger { min-height:34px;padding:6px 8px;font-size:9px; }
}
.pool-form-container { display: grid; gap: 8px; }
.pool-hint { color: var(--faint); font-size: 10px; line-height: 1.45; }
.admin-pool-controls { display:grid; grid-template-columns:minmax(220px,1fr) auto; align-items:center; gap:8px 12px; margin-top:10px; padding:9px 10px; border:1px solid rgba(242,201,76,.2); border-radius:10px; background:rgba(242,201,76,.045); }
.admin-pool-controls label { display:grid; grid-template-columns:auto minmax(120px,1fr); align-items:center; gap:10px; color:#d7d9df; font-size:.78rem; }
.admin-pool-controls input[type="range"] { width:100%; accent-color:#f2c94c; }
.admin-pool-controls span { color:#8f96a3; font-size:.72rem; }
@media (max-width:620px) { .admin-pool-controls { grid-template-columns:1fr; } }
.action-wizard { border-color:rgba(74,160,240,.32); }
.action-wizard-head { display:flex; align-items:center; gap:10px; margin:14px 0 7px; }
.action-wizard-head:first-child { margin-top:0; }
.action-wizard-head > span { display:grid; place-items:center; flex:0 0 28px; height:28px; border-radius:9px; background:#2d78b7; color:#fff; font-weight:900; }
.action-wizard-head b, .action-wizard-head small { display:block; }
.action-wizard-head b { color:#d7ebff; font-size:.84rem; }
.action-wizard-head small { margin-top:2px; color:#8f96a3; font-size:.72rem; line-height:1.35; }
.action-advanced summary, .action-task-details summary { cursor:pointer; color:#9ed5ff; font-weight:800; }
.action-advanced p { color:#8f96a3; font-size:.76rem; line-height:1.45; }
.action-task-details { margin-top:10px; }
.action-step-row { display:flex; justify-content:space-between; align-items:center; gap:8px; margin-top:7px; padding:9px; border-radius:9px; background:#12151b; }
.action-step-row span { color:#8f96a3; font-size:.72rem; }

/* Единый мастер бесплатных предложений. Технические task/pool/reward SKU
   остаются в backend и не попадают в основной путь администратора. */
.free-offer-page-head { align-items:center; }
.free-offer-create { min-height:44px; white-space:nowrap; }
.free-offer-stats { grid-template-columns:repeat(2,minmax(0,210px)); }
.free-offer-warning { border-color:rgba(242,201,76,.35); background:rgba(242,201,76,.055); }
.free-offer-warning p { margin:6px 0 10px; color:var(--muted); font-size:11px; }
.free-offer-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin-bottom:11px; }
.free-offer-card { min-width:0; margin:0; }
.free-offer-card.is-paused { opacity:.76; }
.free-offer-card-top { display:grid; grid-template-columns:74px minmax(0,1fr); gap:12px; align-items:start; }
.free-offer-thumb { width:74px; height:64px; display:grid; place-items:center; overflow:hidden; border:1px solid var(--line); border-radius:12px; background:var(--panel-2); font-size:25px; }
.free-offer-thumb img { width:100%; height:100%; object-fit:cover; }
.free-offer-card-title { min-width:0; }
.free-offer-card-title h3 { margin:7px 0 3px; overflow:hidden; text-overflow:ellipsis; color:var(--text); font-size:14px; line-height:1.25; }
.free-offer-card-title p { margin:0; display:-webkit-box; overflow:hidden; color:var(--muted); font-size:10px; line-height:1.4; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
.free-offer-badges { display:flex; flex-wrap:wrap; gap:5px; }
.free-offer-info-grid { display:grid; gap:6px; margin:12px 0; }
.free-offer-info-grid > div { min-width:0; padding:9px 10px; border-radius:10px; background:var(--panel-2); }
.free-offer-info-grid small,.free-offer-info-grid b { display:block; }
.free-offer-info-grid small { margin-bottom:3px; color:var(--faint); font-size:8px; font-weight:850; text-transform:uppercase; letter-spacing:.05em; }
.free-offer-info-grid b { overflow:hidden; color:#c9ccd3; font-size:10px; line-height:1.45; }
.free-offer-card-actions { display:grid; grid-template-columns:1fr 1fr; gap:6px; }
.free-offer-card-details { margin-top:10px; padding-top:9px; border-top:1px solid var(--line); }
.free-offer-card-details summary { color:var(--muted); font-size:10px; }
.free-offer-step-actions { display:flex; gap:5px; }
.free-offer-health { margin-top:5px; font-size:9px; }
.free-offer-advanced { margin-top:11px; }

.free-offer-modal-title { margin-bottom:10px; }
.free-offer-progress { position:sticky; top:-19px; z-index:5; display:grid; grid-template-columns:repeat(3,1fr); gap:5px; margin:0 -8px 12px; padding:8px; border-bottom:1px solid var(--line); background:rgba(17,19,24,.96); backdrop-filter:blur(12px); }
.free-offer-progress span { padding:7px 4px; border-radius:8px; background:var(--panel-2); color:var(--muted); font-size:9px; font-weight:850; text-align:center; }
.free-offer-editor-section { margin:10px 0; padding:14px; border:1px solid var(--line); border-radius:15px; background:var(--panel); }
.free-offer-editor-section h4 { display:flex; align-items:center; gap:8px; margin:0 0 9px; font-size:13px; }
.free-offer-editor-section h4 > span { width:27px; height:27px; display:grid; place-items:center; border-radius:9px; background:rgba(223,90,100,.13); color:#ed6b76; font-size:10px; }
.free-offer-image-preview { min-height:70px; display:grid; place-items:center; margin-top:7px; overflow:hidden; border:1px dashed var(--line-strong); border-radius:11px; color:var(--faint); font-size:10px; }
.free-offer-image-preview img { display:block; max-width:100%; max-height:180px; object-fit:contain; }
.free-offer-mode { display:grid; grid-template-columns:1fr 1fr; gap:7px; }
.free-offer-mode label { cursor:pointer; }
.free-offer-mode input { position:absolute; opacity:0; pointer-events:none; }
.free-offer-mode span { min-height:47px; display:flex; align-items:center; justify-content:center; padding:8px; border:1px solid var(--line-strong); border-radius:11px; background:var(--panel-2); color:var(--muted); font-size:11px; font-weight:850; text-align:center; }
.free-offer-mode input:checked + span { border-color:#ed6b76; background:rgba(223,90,100,.12); color:white; box-shadow:0 0 0 1px rgba(223,90,100,.15); }
.free-offer-channel-list { display:grid; gap:7px; }
.free-offer-channel-row { display:grid; grid-template-columns:minmax(0,1fr) 130px 36px; align-items:end; gap:7px; padding:9px; border:1px solid var(--line); border-radius:12px; background:var(--panel-2); }
.free-offer-channel-row label { min-width:0; color:var(--muted); font-size:9px; font-weight:800; }
.free-offer-channel-row label span { display:block; margin:0 0 4px 2px; }
.free-offer-channel-row .admin-input { margin:0; }
.free-channel-remove { width:36px; min-height:43px; padding:0; font-size:18px; }
.free-add-channel { width:100%; margin-top:7px; }
.free-offer-more { margin-top:9px; padding:10px; border:1px solid var(--line); border-radius:11px; background:var(--panel-2); }
.free-offer-more summary { cursor:pointer; color:#9ed5ff; font-size:10px; font-weight:850; }
.free-offer-car-count { display:block; margin-top:6px; color:var(--muted); font-size:9px; }
.free-offer-stock-box { display:grid; grid-template-columns:minmax(0,1fr) 180px; align-items:end; gap:8px; margin-top:11px; padding:11px; border:1px solid rgba(91,214,166,.24); border-radius:12px; background:rgba(91,214,166,.045); }
.free-offer-stock-box > div { align-self:center; }
.free-offer-stock-box b,.free-offer-stock-box small { display:block; }
.free-offer-stock-box b { font-size:11px; }
.free-offer-stock-box small { margin-top:3px; color:var(--muted); font-size:9px; line-height:1.4; }
.free-offer-stock-box > label { color:var(--muted); font-size:9px; font-weight:800; }
.free-offer-stock-box .trainer-product-map { grid-column:1/-1; margin:0; }
.free-offer-savebar { position:sticky; bottom:-19px; z-index:6; display:flex; justify-content:flex-end; gap:7px; margin:14px -8px -8px; padding:10px 8px; border-top:1px solid var(--line); background:rgba(17,19,24,.96); backdrop-filter:blur(12px); }
.free-offer-savebar .admin-btn { min-width:170px; }

@media (max-width:760px) {
    .free-offer-grid { grid-template-columns:1fr; }
    .free-offer-card-actions { grid-template-columns:1fr 1fr; }
}
@media (max-width:560px) {
    .free-offer-page-head { align-items:stretch; flex-direction:column; }
    .free-offer-create { width:100%; }
    .free-offer-stats { grid-template-columns:1fr 1fr; }
    .free-offer-progress { top:-12px; }
    .free-offer-channel-row { grid-template-columns:minmax(0,1fr) 36px; }
    .free-offer-channel-row .free-invite-count { grid-column:1/2; }
    .free-offer-channel-row .free-channel-remove { grid-column:2; grid-row:1/3; align-self:stretch; height:auto; }
    .free-offer-stock-box { grid-template-columns:1fr; }
    .free-offer-stock-box .trainer-product-map { grid-column:auto; }
    .free-offer-savebar { bottom:-12px; }
    .free-offer-savebar > button { flex:1; min-width:0; }
    .admin-body .modal-overlay { padding:0; }
    .admin-body .modal-box { width:100%; min-height:100dvh; margin:0; padding:12px; border:0; border-radius:0; }
}
