.surface, .card { position: relative; overflow: hidden; border: 2px dotted var(--line); border-radius: 16px; background: #000; }
.dots { position: absolute; inset: 0; z-index: 0; background-image: radial-gradient(#191919 1.5px, transparent 1.5px); background-size: 15px 15px; mask-image: linear-gradient(to bottom, #000 70%, transparent); pointer-events: none; }
.hero { min-height: 206px; margin-bottom: 25px; }
.hero::after { position: absolute; z-index: 1; right: -90px; bottom: -120px; width: 310px; height: 310px; border-radius: 50%; background: var(--hot); filter: blur(110px) grayscale(.8); opacity: .14; content: ""; }
.hero-copy { position: relative; z-index: 4; width: 64%; padding: 25px 0 23px 19px; }
.hero-copy > i, .heading i { color: var(--muted); font-size: 10px; font-style: normal; line-height: 1.5; letter-spacing: .08em; text-transform: uppercase; }
.hero h1, .heading h1 { margin: 7px 0 10px; color: #fff; font-size: 38px; font-weight: 600; line-height: .98; letter-spacing: -.045em; }
.hero h1 em, .heading h1 em { color: var(--brand); font-style: normal; }
.hero-copy p { max-width: 230px; margin: 0; color: var(--sub); font-size: 12px; line-height: 1.45; }
.hero > img { position: absolute; z-index: 3; right: -24px; bottom: -34px; width: 58%; max-height: 207px; object-fit: contain; filter: grayscale(1) sepia(.82) saturate(.38) hue-rotate(345deg) brightness(1.12) contrast(1.08); opacity: .58; mask-image: linear-gradient(to bottom, #000 72%, transparent); pointer-events: none; }
.hero > img.steam-art { right: -7px; bottom: -18px; width: 52%; filter: grayscale(1) sepia(.9) saturate(.3) hue-rotate(345deg) brightness(1.2) contrast(1.1); opacity: .56; }
.steam-hero .hero-copy { width: 54%; }
.steam-hero h1 { font-size: 34px; }
.online { display: flex; align-items: center; gap: 7px; margin-top: 17px; color: var(--sub); font-size: 10px; }
.online b { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); animation: breathe 2s infinite; }
.heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 15px; margin: 0 2px 13px; }
.heading.first { margin-top: 3px; margin-bottom: 17px; }
.heading h2 { margin: 3px 0 0; font-size: 22px; }
.heading h1 { margin: 6px 0 0; font-size: 34px; }
.heading > b { display: grid; place-items: center; min-width: 34px; height: 24px; padding: 0 8px; border-radius: 999px; color: #000; background: var(--brand); font-size: 10px; }
.stars-hero, .premium { min-height: 219px; }
.stars-hero .hero-copy { width: 76%; padding-top: 91px; }
.premium .hero-copy { width: 74%; padding-top: 98px; }
.star-gem, .gem { position: absolute; z-index: 3; right: 23px; top: 29px; display: grid; place-items: center; width: 100px; height: 100px; border: 3px dotted var(--line-strong); color: var(--brand); background: #080704; transform: rotate(8deg); }
.star-gem { border-radius: 50%; box-shadow: 0 0 42px #d9c5a51a; }
.gem { border-radius: 24px; }
.star-gem::before { content: ""; position: absolute; inset: 13px; border: 1px dotted var(--brand); border-radius: 50%; opacity: .42; }
.star-gem svg, .gem svg { position: relative; width: 51px; height: 51px; }
.trust-strip { display: flex; justify-content: space-between; margin: -10px 2px 13px; color: var(--muted); font-size: 10px; }
.trust-strip b { color: var(--brand); font-weight: 500; }
.card { padding: 18px; }
.form label { display: block; margin-bottom: 14px; }
.form label > span { display: block; margin: 0 0 7px 2px; color: var(--sub); font-size: 11px; }
.recipient-card { display: grid; grid-template-columns: 42px 1fr 34px; align-items: center; gap: 10px; min-height: 58px; margin: -4px 0 14px; padding: 8px; border: 1px dotted var(--brand); border-radius: 12px; background: var(--brand-soft); }
.recipient-card.loading { grid-template-columns: 1fr; color: var(--muted); font-size: 11px; }
.recipient-avatar { display: grid; place-items: center; width: 42px; height: 42px; overflow: hidden; border: 1px dotted var(--line-strong); border-radius: 50%; color: #000; background: var(--brand); font-weight: 700; }
.recipient-avatar img { width: 100%; height: 100%; object-fit: cover; }
.recipient-copy strong, .recipient-copy small { display: block; }
.recipient-copy strong { font-size: 13px; }
.recipient-copy small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.recipient-clear { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; color: var(--muted); background: transparent; }
.recipient-clear svg { width: 17px; }
.presets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 3px 0 16px; }
.presets button { min-height: 36px; padding: 0 4px; border: 1px dotted var(--line-strong); border-radius: 999px; color: var(--sub); background: #000; font-size: 11px; }
.presets button.active { color: #000; border-color: var(--brand); background: var(--brand); }
.total { display: flex; align-items: center; justify-content: space-between; padding: 15px 2px; border-top: 1px dotted var(--line); color: var(--muted); font-size: 12px; }
.total > b { color: #fff; font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-bottom: 11px; }
.plan { min-height: 94px; padding: 13px 8px; border: 2px dotted var(--line); border-radius: 14px; color: #fff; background: #000; text-align: left; }
.plan.active { color: #000; border-color: var(--brand); background: var(--brand); transform: translateY(-2px); }
.plan span, .plan strong { display: block; }
.plan span { font-size: 11px; }
.plan strong { margin-top: 17px; font-size: 15px; }
.segments { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-bottom: 12px; padding: 5px; border: 2px dotted var(--line); border-radius: 16px; background: #000; }
.segments button { min-height: 42px; border: 1px dotted transparent; border-radius: 999px; color: var(--sub); background: transparent; font-size: 12px; }
.segments button.active { color: #000; border-color: var(--brand); background: var(--brand); }
.hero.ai { min-height: 185px; }
.ai h2 { margin: 7px 0 9px; font-size: 28px; line-height: 1; letter-spacing: -.035em; }
.products, .orders-list, .reviews-list { display: grid; gap: 8px; }
.product { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; width: 100%; min-height: 72px; padding: 13px 15px; border: 2px dotted var(--line); border-radius: 14px; color: #fff; background: #000; text-align: left; }
.product strong, .product small { display: block; }
.product small { margin-top: 5px; color: var(--muted); font-size: 10px; }
.product-price { color: var(--brand); font-size: 15px; font-weight: 600; }
.watch { grid-column: 1 / -1; justify-self: start; min-height: 30px; padding: 0 10px; color: var(--muted); border: 1px dotted var(--line); border-radius: 999px; background: transparent; font-size: 9px; }
.note { display: grid; grid-template-columns: 26px 1fr; gap: 10px; margin: 3px 0 18px; padding: 13px; border: 1px dotted var(--line-strong); border-radius: 12px; background: #000; }
.note > b { display: grid; place-items: center; width: 24px; height: 24px; border: 1px dotted var(--brand); border-radius: 50%; color: var(--brand); font-size: 11px; }
.note p { margin: 1px 0 0; color: var(--sub); font-size: 11px; line-height: 1.45; }
.active-order { position: relative; margin-bottom: 14px; padding: 14px; border: 1px dotted var(--brand); border-radius: 14px; background: linear-gradient(135deg, var(--brand-soft), #000 62%); }
.active-order-head { display: flex; justify-content: space-between; gap: 10px; }
.active-order-head small { color: var(--muted); font-size: 9px; text-transform: uppercase; }
.active-order-head strong { display: block; margin-top: 4px; font-size: 13px; }
.active-order-head b { color: var(--brand); font-size: 11px; }
.deadline { display: block; margin-top: 5px; color: var(--hot); font-size: 10px; font-variant-numeric: tabular-nums; }
.progress { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 15px; }
.progress::before { position: absolute; top: 5px; right: 12%; left: 12%; height: 1px; background: var(--line-strong); content: ""; }
.progress span { position: relative; padding-top: 17px; color: var(--muted); font-size: 8px; text-align: center; }
.progress span::before { position: absolute; z-index: 1; top: 1px; left: calc(50% - 4px); width: 8px; height: 8px; border-radius: 50%; background: #333; content: ""; }
.progress span.done { color: var(--brand); }
.progress span.done::before { background: var(--brand); box-shadow: 0 0 0 3px #cfc1b31b; }
.order { padding: 16px; border: 2px dotted var(--line); border-radius: 14px; background: #000; }
.order-head, .order-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.order-head strong { font-size: 13px; }
.order-head span { color: var(--muted); font-size: 10px; }
.order-body { margin: 12px 0; padding: 11px 0; border-block: 1px dotted var(--line); color: var(--sub); font-size: 12px; }
.order-foot strong { color: var(--brand); font-size: 14px; }
.status { padding: 5px 8px; border: 1px dotted var(--line-strong); border-radius: 999px; color: var(--sub); font-size: 9px; text-transform: uppercase; }
.status.completed { color: #000; border-color: var(--brand); background: var(--brand); }
.order-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.order-actions button { flex: 1; min-width: 110px; }
.timeline { display: grid; gap: 5px; margin-top: 10px; }
.timeline span { color: var(--muted); font-size: 9px; }
.timeline span:last-child { color: var(--brand); }
.review { padding: 14px; border: 1px dotted var(--line); border-radius: 13px; background: #000; }
.review-stars { color: var(--brand); letter-spacing: 2px; }
.review p { margin: 8px 0 5px; color: var(--sub); font-size: 11px; line-height: 1.45; }
.review small { color: var(--muted); font-size: 9px; }
.category-reviews { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 46px; margin-top: 12px; padding: 0 15px; color: var(--brand); border: 1px dotted var(--line-strong); border-radius: 13px; background: #000; font-size: 11px; }
.category-reviews span { color: var(--muted); font-size: 9px; }
.reviews-head { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 12px; margin-bottom: 16px; }
.reviews-head i { color: var(--muted); font-size: 9px; font-style: normal; text-transform: uppercase; }
.reviews-head h1 { margin: 3px 0 0; font-size: 28px; }
.review-categories { grid-template-columns: repeat(4, 1fr); }
.review-categories button { padding-inline: 4px; font-size: 9px; }
.rating-filter { display: flex; gap: 5px; margin: 0 0 13px; overflow-x: auto; scrollbar-width: none; }
.rating-filter button { flex: 0 0 auto; min-height: 34px; padding: 0 12px; color: var(--muted); border: 1px dotted var(--line-strong); border-radius: 999px; background: #000; font-size: 10px; }
.rating-filter button.active { color: #000; border-color: var(--brand); background: var(--brand); }
.rating-picker { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; margin: 15px 0; }
.rating-picker button { min-height: 48px; padding: 0; color: var(--muted); border: 1px dotted var(--line-strong); border-radius: 12px; background: #000; font-size: 25px; }
.rating-picker button.active { color: var(--brand); border-color: var(--brand); background: var(--brand-soft); }
.empty { padding: 38px 22px; border: 2px dotted var(--line); border-radius: 16px; text-align: center; }
.empty svg { width: 34px; height: 34px; color: var(--brand); }
.empty h3 { margin: 12px 0 6px; }
.empty p { color: var(--sub); font-size: 13px; line-height: 1.5; }
.profile-balance { margin: 17px 0; padding: 19px; border: 2px dotted var(--line); border-radius: 14px; }
.profile-balance span { color: var(--muted); font-size: 11px; }
.profile-balance b { display: block; margin-top: 8px; color: var(--brand); font-size: 34px; }
.profile-balance small { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; }
.promo-box { margin: 13px 0; padding: 12px; border: 1px dotted var(--brand); border-radius: 12px; }
.promo-box label { display: block; margin-bottom: 7px; color: var(--muted); font-size: 10px; }
.promo-line { display: grid; grid-template-columns: 1fr auto; gap: 7px; }
@keyframes breathe { 50% { opacity: .35; } }
@media (max-width: 370px) { .hero-copy { padding-left: 15px; } .hero h1, .heading h1 { font-size: 33px; } .recipient-card { grid-template-columns: 38px 1fr 30px; } }

/* --- документы и футер --- */
.legal-footer { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; margin: 26px 2px 4px; padding-top: 16px; border-top: 1px dotted var(--line); text-align: center; }
.legal-footer button { padding: 4px 0; border: 0; color: var(--muted); background: none; font-size: 11px; text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 3px; }
.legal-footer button:active { color: var(--brand); }
.legal-footer small { flex-basis: 100%; margin-top: 4px; color: #ffffff4d; font-size: 10px; }
.docs-screen .doc-switch { margin-bottom: 12px; }
.doc-switch button { min-height: 36px; border: 1px dotted transparent; border-radius: 11px; color: var(--sub); background: transparent; font-size: 11px; }
.doc-switch button.active { color: #000; border-color: var(--brand); background: var(--brand); }
.doc-body { padding: 18px 16px 22px; color: var(--body); font-size: 13px; line-height: 1.62; }
.doc-body h2 { margin: 22px 0 8px; color: #fff; font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.doc-body h2:first-child { margin-top: 0; }
.doc-body p { margin: 0 0 10px; }
.doc-body ul { margin: 0 0 10px; padding-left: 18px; }
.doc-body li { margin-bottom: 4px; }
.doc-body a { color: var(--brand); }
.doc-body .doc-loading { color: var(--muted); }
.docs-screen .reviews-head h1 { font-size: 22px; line-height: 1.1; }
.docs-screen .reviews-head { align-items: center; }
body[data-screen="docs"] #active-order { display: none; }
