
/* assets/css/base.css */
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");
:root { --bg: #0f1116; --bg2: #141822; --card: #181c25; --card2: #1d2230; --line: #2a3141; --text: #f3f4f7; --muted: #b8bec9; --muted2: #8d95a3; --brand: #5865f2; --brand2: #7c84ff; --brand3: #8890ff; --green: #3ba55d; --yellow: #f0b232; --pink: #d85df4; --shadow: 0 24px 54px rgba(0,0,0,.28); --radius: 22px; --radius-sm: 16px; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--text); background: radial-gradient(circle at 0% 0%, rgba(88,101,242,.22), transparent 25%),
        radial-gradient(circle at 100% 6%, rgba(124,132,255,.16), transparent 20%),
        linear-gradient(180deg, #0d0f14 0%, #10131a 32%, #0f1116 100%); overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button,input { font: inherit; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.topbar { position: sticky; top: 0; z-index: 60; backdrop-filter: blur(14px); background: rgba(10,12,17,.84); border-bottom: 1px solid rgba(255,255,255,.06); }
.nav { height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; text-decoration: none; }
.brand-mark { display: flex; align-items: center; justify-content: flex-start; flex: 0 0 auto; background: none; border: 0; box-shadow: none; overflow: visible; }
.brand-logo-img { display: block; width: auto; height: 52px; object-fit: contain; filter: drop-shadow(0 10px 24px rgba(88,101,242,.24)); }
.brand-mark { line-height: 0; }
.brand-logo-img { max-width: min(300px, 52vw); }
.brand small { display: block; color: var(--muted2); text-transform: uppercase; letter-spacing: 1.05px; font-size: 10px; margin-top: 0; white-space: nowrap; }
.navlinks { display: flex; gap: 10px; font-size: 15px; font-weight: 800; }
.navlinks a { display: inline-flex; align-items: center; justify-content: center; padding: 10px 14px; border-radius: 12px; color: #d7dcef; background: rgba(255,255,255,.02); border: 1px solid transparent; transition: .18s ease; }
.navlinks a:hover { color: #fff; transform: translateY(-1px); background: rgba(88,101,242,.12); border-color: rgba(124,132,255,.22); box-shadow: 0 10px 18px rgba(88,101,242,.10); }
.nav-actions { display: flex; gap: 10px; }
.btn { border: 0; border-radius: 12px; padding: 12px 16px; font-weight: 800; cursor: pointer; transition: .18s ease; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { color: #fff; background: linear-gradient(135deg,var(--brand),var(--brand2)); box-shadow: 0 14px 26px rgba(88,101,242,.23); }
.btn.secondary { color: #fff; border: 1px solid rgba(255,255,255,.10); background: rgba(255,255,255,.03); }
.btn.full { width: 100%; }
.supplier-note { margin-top: 32px; padding: 22px 24px; border-radius: 24px; background: linear-gradient(180deg, rgba(88,101,242,.12), rgba(88,101,242,.06)); border: 1px solid rgba(124,132,255,.18); color: #d8defd; box-shadow: 0 18px 32px rgba(10,15,28,.22); position: relative; overflow: hidden; }
.supplier-note::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: linear-gradient(180deg, rgba(124,132,255,.95), rgba(88,101,242,.25)); }
.supplier-topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.supplier-pill,
    .supplier-link-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 999px; font-size: 12px; font-weight: 800; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.05); color: #eef1ff; }
.supplier-link-chip { background: rgba(88,101,242,.14); border-color: rgba(124,132,255,.24); color: #fff; }
.supplier-title { margin: 0 0 8px; font-size: 24px; line-height: 1.15; letter-spacing: -.6px; color: #fff; }
.supplier-note p { margin: 0; color: #c4cce2; font-size: 15px; line-height: 1.65; max-width: 920px; }
.section { padding: 32px 0; }
.section-head { margin-bottom: 22px; display: flex; align-items: end; justify-content: space-between; gap: 18px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.06); }
.section-intro { display: inline-flex; align-items: center; gap: 10px; padding: 13px 18px; border-radius: 999px; margin-bottom: 14px; font-size: 16px; font-weight: 900; color: #f5f6ff; background: linear-gradient(90deg, rgba(88,101,242,.24), rgba(124,132,255,.12)); border: 1px solid rgba(124,132,255,.38); box-shadow: 0 12px 22px rgba(88,101,242,.11); letter-spacing: .6px; text-transform: uppercase; }
h2.section-title { margin: 0; font-size: 44px; line-height: 1; letter-spacing: -1.6px; font-weight: 800; }
.partners-badge,
    .reviews-heading-badge { font-size: 20px; padding: 15px 22px; border-radius: 18px; letter-spacing: .2px; text-transform: none; box-shadow: 0 16px 30px rgba(88,101,242,.16); }
.partners-badge { margin-bottom: 16px; }
.partners-emphasis { margin: 0; max-width: 940px; font-size: 18px; line-height: 1.55; font-weight: 600; color: #f4f6ff; letter-spacing: -.15px; }
.reviews-heading-badge { margin-bottom: 18px; font-weight: 900; }
.supplier-pill { font-size: 15px; padding: 11px 16px; }
.supplier-link-chip { text-decoration: none; cursor: pointer; transition: .18s ease; }
.supplier-link-chip:hover { transform: translateY(-1px); box-shadow: 0 10px 20px rgba(88,101,242,.18); background: rgba(88,101,242,.20); }




/* assets/css/sections.css */
.hero { padding: 44px 0 26px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 18px; align-items: stretch; }
.hero-box, .preview-box, .feature-strip, .giveaway-box, .telegram-box, .review { position: relative; background: linear-gradient(180deg, rgba(20,24,34,.97), rgba(16,19,27,.98)); border: 1px solid rgba(255,255,255,.07); border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; }
.hero-box::before, .preview-box::before, .feature-strip::before, .giveaway-box::before, .telegram-box::before, .review::before { content: ""; position: absolute; inset: 0 auto auto 0; width: 100%; height: 1px; background: linear-gradient(90deg, transparent, rgba(124,132,255,.40), transparent); }
.hero-box { padding: 34px 30px 28px; min-height: 450px; isolation: isolate; }
.hero-title { margin: 0 0 16px; font-size: clamp(46px, 6vw, 82px); line-height: .92; letter-spacing: -2.8px; font-weight: 800; max-width: 700px; position: relative; z-index: 2; }
.hero-title .line { display: block; }
.hero-title .line.main { margin-bottom: 4px; }
.hero-title .line.sub { font-size: .88em; letter-spacing: -2.2px; opacity: .98; }
.hero-title .accent { background: linear-gradient(90deg,#f5f6ff 0%, #d8dbff 26%, #aab2ff 68%, #5865f2 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-text { margin: 0 0 22px; max-width: 540px; color: var(--muted); font-size: 19px; position: relative; z-index: 2; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; position: relative; z-index: 2; }
.hero-points { display: flex; gap: 12px; flex-wrap: wrap; max-width: 590px; position: relative; z-index: 2; }
.hero-pill { display: inline-flex; align-items: center; gap: 10px; padding: 12px 15px; border-radius: 999px; color: #dde1e8; font-size: 14px; font-weight: 700; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); }
.hero-pill strong { color: #fff; }
.hero-pill.highlight { background: linear-gradient(90deg, rgba(88,101,242,.16), rgba(124,132,255,.07)); border-color: rgba(124,132,255,.30); box-shadow: 0 0 18px rgba(88,101,242,.10); }
.hero-art { position: absolute; right: -34px; bottom: -28px; width: 300px; height: 260px; pointer-events: none; opacity: .86; z-index: 1; filter: drop-shadow(0 16px 24px rgba(88,101,242,.15)); }
.planet { position: absolute; right: 0; bottom: 0; width: 170px; height: 170px; border-radius: 50%; background: radial-gradient(circle at 34% 30%, rgba(255,255,255,.35) 0 6%, transparent 7%),
        radial-gradient(circle at 72% 66%, rgba(255,255,255,.10) 0 10%, transparent 11%),
        linear-gradient(145deg, #7580ff 0%, #5865f2 42%, #6e5df0 100%); box-shadow: inset -24px -24px 50px rgba(26,30,47,.24), 0 0 70px rgba(88,101,242,.16); }
.ring { position: absolute; right: -10px; bottom: 56px; width: 228px; height: 72px; border-radius: 50%; border: 17px solid rgba(183,189,255,.34); border-left-color: rgba(255,255,255,.12); border-right-color: rgba(123,132,255,.58); transform: rotate(-18deg); }
.bot { position: absolute; right: 138px; bottom: 112px; width: 68px; height: 68px; border-radius: 22px; background: linear-gradient(145deg,#2f3752,#1f2435); border: 1px solid rgba(255,255,255,.11); transform: rotate(-8deg); box-shadow: 0 16px 24px rgba(0,0,0,.22); }
.bot::before, .bot::after { content: ""; position: absolute; width: 26px; height: 10px; top: 27px; border-radius: 5px; background: linear-gradient(90deg,#8593ff,#5865f2); box-shadow: 0 0 14px rgba(88,101,242,.20); }
.bot::before { left: -23px; }
.bot::after { right: -23px; }
.bot-face { position: absolute; left: 18px; top: 19px; width: 32px; height: 23px; border-radius: 12px; background: #10141d; }
.bot-face::before, .bot-face::after { content: ""; position: absolute; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: #d4d8ff; box-shadow: 0 0 8px rgba(212,216,255,.36); }
.bot-face::before { left: 7px; }
.bot-face::after { right: 7px; }
.hero-star { position: absolute; color: #95a0ff; font-weight: 900; pointer-events: none; text-shadow: 0 0 18px rgba(124,132,255,.32); opacity: .72; z-index: 1; }
.hero-star.a { right: 28px; top: 34px; font-size: 18px; }
.hero-star.b { right: 122px; top: 92px; font-size: 12px; }
.hero-star.c { left: 34px; bottom: 26px; font-size: 14px; opacity: .36; }
.preview-box { padding: 18px; }
.subpanel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.subpanel-title { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; letter-spacing: -.4px; }
.subpanel-title .icon-badge { width: 34px; height: 46px; display: grid; place-items: center; border-radius: 12px; color: #fff; background: linear-gradient(135deg, rgba(88,101,242,.90), rgba(124,132,255,.95)); box-shadow: 0 12px 18px rgba(88,101,242,.16); font-size: 16px; flex: 0 0 auto; }
.status-chip { padding: 9px 12px; border-radius: 999px; background: rgba(59,165,93,.15); border: 1px solid rgba(59,165,93,.28); color: #8ee8ae; font-size: 13px; font-weight: 800; }
.preview-grid { display: grid; grid-template-columns: 1fr 1.04fr; gap: 14px; }
.mini-card { background: rgba(13,16,23,.50); border: 1px solid rgba(255,255,255,.06); border-radius: 18px; padding: 16px; }
.mini-card h3 { margin: 0 0 8px; font-size: 20px; }
.muted { color: var(--muted); }
.order-list { display: grid; gap: 10px; margin-top: 14px; }
.order-row { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.order-row b { text-align: right; }
.progress { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.06); }
.progress-step { text-align: center; font-size: 12px; color: var(--muted); }
.dot { width: 30px; height: 30px; display: grid; place-items: center; margin: 0 auto 7px; border-radius: 50%; background: linear-gradient(135deg,var(--brand),var(--brand2)); color: #fff; font-weight: 800; box-shadow: 0 10px 18px rgba(88,101,242,.18); }
.chat-box { display: grid; gap: 10px; }
.chat-head { display: flex; justify-content: space-between; align-items: center; font-size: 15px; font-weight: 700; }
.online { color: #8ee8ae; font-size: 12px; font-weight: 800; }
.bubble { padding: 12px 13px; border-radius: 14px; background: #131720; border: 1px solid rgba(255,255,255,.05); font-size: 14px; line-height: 1.45; }
.bubble.you { background: rgba(88,101,242,.12); border-color: rgba(88,101,242,.18); }
.chat-input { margin-top: 4px; padding: 11px 12px; border-radius: 12px; border: 1px solid rgba(255,255,255,.08); color: #8e96a5; background: #131720; display: flex; justify-content: space-between; font-size: 14px; }
.feature-strip { padding: 22px; margin-top: 18px; }
.feature-head { margin-bottom: 18px; }
.feature-head .section-intro { margin-bottom: 10px; }
.feature-head .section-title { margin: 0; font-size: 32px; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
.feature-item { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 18px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); min-height: 100%; }
.feature-item .feature-icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(88,101,242,.16); border: 1px solid rgba(88,101,242,.24); flex: 0 0 auto; font-size: 20px; }
.feature-item h4 { margin: 0 0 6px; font-size: 17px; font-weight: 800; }
.feature-item p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.hero-brand-kicker { position: relative; z-index: 2; display: inline-flex; align-items: center; margin-bottom: 16px; padding: 0; background: transparent; border: 0; }
.hero-brand-kicker img { display: block; width: auto; height: 34px; object-fit: contain; filter: drop-shadow(0 12px 24px rgba(88,101,242,.24)); }
.hero-brand-kicker img { max-width: min(360px, 72vw); }
.hero-security-note { position: relative; z-index: 2; display: flex; gap: 11px; align-items: flex-start; max-width: 610px; margin: -4px 0 20px; padding: 13px 15px; border-radius: 16px; background: linear-gradient(90deg, rgba(88,101,242,.11), rgba(255,255,255,.025)); border: 1px solid rgba(124,132,255,.18); color: #cfd6e9; font-size: 13px; line-height: 1.5; }
.hero-security-note b { color: #f3f5ff; }
.hero-security-icon { width: 30px; height: 30px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 10px; background: rgba(88,101,242,.14); border: 1px solid rgba(124,132,255,.20); }
.feature-grid { grid-template-columns: repeat(6, minmax(0,1fr)); gap: 14px; }
.feature-item { grid-column: span 2; }
.feature-item:nth-child(4),
    .feature-item:nth-child(5) { grid-column: span 3; }
.feature-item p { font-size: 13.5px; line-height: 1.48; }
@media (max-width: 980px) {
  .feature-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .feature-item,
      .feature-item:nth-child(4),
      .feature-item:nth-child(5) { grid-column: span 1; }
}
@media (max-width: 700px) {
  .feature-grid { grid-template-columns: 1fr; }
  .hero-brand-kicker img { height: 38px; }
  .brand-logo-img { max-width: min(230px, 70vw); height: auto; max-height: 42px; }
  .hero-security-note { font-size: 12.5px; }
}
.plans-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.plan { background: linear-gradient(180deg, rgba(20,24,34,.98), rgba(15,18,26,.98)); border: 1px solid rgba(255,255,255,.07); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; min-height: 420px; }
.plan-top { padding: 16px 18px 0; }
.plan-accent { height: 12px; border-radius: 999px; margin-bottom: 16px; background: linear-gradient(90deg, rgba(124,132,255,.95), rgba(88,101,242,.95)); box-shadow: 0 8px 18px rgba(88,101,242,.16); }
.plan.accent-violet .plan-accent { background: linear-gradient(90deg, #9b7cff, #5865f2); }
.plan.accent-pink .plan-accent { background: linear-gradient(90deg, #c46cff, #8c66ff); }
.plan.accent-blue .plan-accent { background: linear-gradient(90deg, #6d96ff, #5e74ff); }
.plan.accent-green .plan-accent { background: linear-gradient(90deg, #4fc878, #5179ff); }
.plan.accent-slate .plan-accent { background: linear-gradient(90deg, #7f89b6, #626b91); box-shadow: 0 8px 18px rgba(106,114,156,.16); }
.plan.unavailable { border-color: rgba(155,164,199,.18); background: linear-gradient(180deg, rgba(18,22,31,.98), rgba(14,17,25,.98)); }
.plan.unavailable .plan-tag { background: rgba(240,178,50,.10); color: #ffe1a5; border-color: rgba(240,178,50,.22); }
.plan.unavailable .price strong { font-size: 29px; letter-spacing: -.6px; line-height: 1.08; color: #e9edff; }
.btn.unavailable { color: #b4bbcf; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.08); box-shadow: none; cursor: not-allowed; pointer-events: none; }
.plan-body { padding: 0 18px 20px; display: flex; flex-direction: column; height: 100%; }
.plan-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.plan-tag { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border-radius: 999px; font-size: 12px; font-weight: 800; background: rgba(255,255,255,.07); color: #e5e7ef; border: 1px solid rgba(255,255,255,.08); }
.plan-icon { width: 40px; height: 40px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); color: #dfe3ff; font-size: 18px; flex: 0 0 auto; }
.plan h3 { margin: 0 0 10px; font-size: 21px; line-height: 1.15; font-weight: 800; letter-spacing: -.5px; }
.price { margin: 0 0 16px; line-height: 1.02; }
.price strong { display: block; font-size: 48px; letter-spacing: -1.6px; font-weight: 800; }
.old { display: inline-block; margin-top: 6px; color: var(--muted2); font-size: 14px; text-decoration: line-through; font-weight: 700; }
.plan-points { display: grid; gap: 10px; margin: 0 0 18px; }
.point { display: flex; align-items: flex-start; gap: 10px; padding: 11px 12px; border-radius: 14px; background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.05); color: #d7dbe3; font-size: 14px; line-height: 1.4; }
.point .bullet { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; margin-top: 1px; background: rgba(88,101,242,.16); border: 1px solid rgba(88,101,242,.25); color: #dfe3ff; font-size: 11px; flex: 0 0 auto; }
.plan .btn { margin-top: auto; }
.subsection-badge { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; margin-bottom: 12px; font-size: 13px; font-weight: 900; letter-spacing: .5px; text-transform: uppercase; color: #eef0ff; background: linear-gradient(90deg, rgba(88,101,242,.20), rgba(124,132,255,.10)); border: 1px solid rgba(124,132,255,.30); box-shadow: 0 10px 18px rgba(88,101,242,.08); }
.step { position: relative; padding: 16px; border-radius: 18px; min-height: 170px; background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.05); overflow: hidden; }
.step::after { content: ""; position: absolute; right: -16px; bottom: -16px; width: 76px; height: 76px; border-radius: 50%; background: rgba(88,101,242,.08); }
.step h4 { position: relative; z-index: 2; margin: 0 0 8px; font-size: 18px; font-weight: 800; }
.step p { position: relative; z-index: 2; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.giveaway-box { padding: 24px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 12px; align-items: center; }
.giveaway-visual { display: flex; justify-content: center; align-items: end; min-height: 280px; position: relative; }
.giveaway-visual img { width: min(100%, 380px); height: auto; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(88,101,242,.18)); }
.giveaway-sticker { position: relative; z-index: 2; }
.giveaway-visual::before { content: ""; position: absolute; inset: auto 30px 10px 30px; height: 60px; border-radius: 50%; background: radial-gradient(circle, rgba(88,101,242,.22), transparent 70%); filter: blur(18px); }
.giveaway-note { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); color: #e4e7f0; font-size: 12px; font-weight: 800; margin-bottom: 14px; }
.giveaway-note .dot-sm { width: 8px; height: 8px; border-radius: 50%; background: #f0b232; box-shadow: 0 0 10px rgba(240,178,50,.28); }
.giveaway-title { margin: 0 0 10px; font-size: 34px; line-height: 1.02; letter-spacing: -1px; font-weight: 800; }
.giveaway-text { margin: 0 0 18px; color: var(--muted); font-size: 15px; line-height: 1.55; max-width: 520px; }
.giveaway-mini { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.mini-pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); color: #dde2ea; }
.telegram-box { padding: 22px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.telegram-sticker { width: min(100%, 255px); height: auto; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(88,101,242,.16)); margin-left: 0; }
.telegram-box h3 { margin: 0 0 6px; font-size: 26px; letter-spacing: -.8px; font-weight: 800; }
.telegram-box { padding: 24px; }
.telegram-qr { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 12px; display: block; background: #fff; }
.telegram-sticker { width: min(100%, 250px); }
.partners-layout { display: grid; gap: 22px; }
.partner-group + .partner-group { margin-top: 2px; }
.partner-group-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.partner-group-head h3 { margin: 0; font-size: 28px; line-height: 1; letter-spacing: -1px; font-weight: 800; }
.partner-group-head p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.review { padding: 18px; }
.review-top { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-bottom: 8px; }
.review small { color: var(--muted); }
.verified { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 999px; color: #8ee8ae; background: rgba(59,165,93,.15); border: 1px solid rgba(59,165,93,.22); font-size: 11px; font-weight: 800; }
.stars { color: #ffd66b; letter-spacing: 1.2px; }
.review p { margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.plans-grid { align-items: start; }
.plan { min-height: 0; height: auto; align-self: start; }
.plan-body { height: auto; min-height: 0; padding: 0 18px 20px; }
.plan-meta { min-height: 42px; }
.price { min-height: 68px; margin-bottom: 15px; }
.plan-points { display: grid; grid-auto-rows: auto; gap: 9px; margin: 0; flex: none; }
.point { min-height: 0; height: auto; padding: 12px 13px; border-radius: 15px; align-items: flex-start; }
.plan-body > .btn { margin-top: 16px; }
.plan.unavailable { min-height: 0; }
.plan.unavailable .plan-points { margin-bottom: 0; }
.plan.unavailable .point { min-height: 0; }
@media (max-width: 700px) {
  .plan-body { padding: 0 16px 18px; }
  .price { min-height: 0; }
}
.plans-grid { align-items: stretch !important; }
.plan { height: 100% !important; min-height: 0 !important; align-self: stretch !important; }
.plan-body { display: flex !important; flex-direction: column !important; flex: 1 1 auto !important; height: 100% !important; min-height: 0 !important; }
.plan-meta { min-height: 42px; margin-bottom: 14px; }
.plan h3 { min-height: 50px; margin-bottom: 12px; }
.price { min-height: 74px; margin: 0 0 16px !important; }
.plan-points { gap: 10px !important; margin: 0 0 auto !important; }
.point { min-height: 60px; padding: 12px 13px !important; }
.plan-requirement { margin-top: 16px !important; }
.plan .btn,
.frame-plan .btn,
.plan.unavailable .btn { margin-top: 16px !important; }
.plan.unavailable .plan-points { margin: 0 0 auto !important; }
.plan.unavailable .point { min-height: 0; }
@media (max-width: 980px) {
  .plans-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 700px) {
  .plans-grid { grid-template-columns: 1fr; }
  .plan h3 { min-height: 0; }
  .price { min-height: 0; }
  .point { min-height: 0; }
}
.plan h3 { min-height: 0 !important; margin-bottom: 6px !important; }
.price { min-height: 58px !important; margin: 0 0 12px !important; }
.price strong { line-height: .98; }
.old { margin-top: 4px; }
@media (max-width:700px) {
  .price { min-height: 0 !important; }
}




/* assets/css/carousels.css */
.partner-carousel-wrap { margin-top: 16px; }
.partner-carousel { position: relative; overflow: hidden; border-radius: 24px; }
.partner-track { display: flex; gap: 16px; will-change: transform; transition: transform .55s cubic-bezier(.22, .61, .36, 1); }
.partner-nav { display: flex; align-items: center; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.partner-arrow { width: 42px; height: 42px; border-radius: 14px; border: 1px solid rgba(255,255,255,.10); background: rgba(255,255,255,.03); color: #fff; font-size: 18px; font-weight: 800; cursor: pointer; transition: .18s ease; }
.partner-arrow:hover { background: rgba(88,101,242,.12); border-color: rgba(124,132,255,.20); transform: translateY(-1px); }
.partner-dots { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.reviews-head-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 0; align-items: start; }
.reviews-accent-card { margin-top: 18px; display: flex; align-items: stretch; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 22px 24px; border-radius: 26px; background: linear-gradient(135deg, rgba(88,101,242,.18), rgba(129,113,255,.10) 55%, rgba(88,101,242,.05)); border: 1px solid rgba(124,132,255,.22); box-shadow: 0 20px 36px rgba(10,15,28,.24); position: relative; overflow: hidden; }
.reviews-accent-card::before { content: ""; position: absolute; inset: auto -40px -40px auto; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(126,135,255,.28), transparent 68%); pointer-events: none; }
.reviews-highlight { position: relative; z-index: 1; padding: 20px 22px 18px; min-width: 220px; border-radius: 22px; background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04)); border: 1px solid rgba(255,255,255,.10); box-shadow: 0 16px 26px rgba(0,0,0,.16); text-align: left; flex: 0 0 260px; }
.reviews-big-number { display: flex; align-items: flex-end; gap: 8px; font-weight: 900; line-height: .9; color: #fff; letter-spacing: -2px; margin-bottom: 8px; }
.reviews-big-number span { font-size: 64px; }
.reviews-big-number b { font-size: 24px; color: #cdd4ff; letter-spacing: -.6px; padding-bottom: 7px; }
.reviews-highlight small { display: block; color: #d7def5; font-size: 13px; line-height: 1.45; }
.reviews-carousel { position: relative; overflow: hidden; margin-top: 18px; border-radius: 24px; }
.reviews-track { display: flex; gap: 16px; will-change: transform; transition: transform .55s cubic-bezier(.22, .61, .36, 1); }
.review-card { flex: 0 0 calc((100% - 32px) / 3); min-height: 206px; }
.review-card .review { height: 100%; }
.review-date { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--muted2); font-size: 12px; font-weight: 700; }
.review-nav { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.review-arrow { width: 42px; height: 42px; border-radius: 14px; border: 1px solid rgba(255,255,255,.10); background: rgba(255,255,255,.03); color: #fff; font-size: 18px; font-weight: 800; cursor: pointer; transition: .18s ease; }
.review-arrow:hover { background: rgba(88,101,242,.12); border-color: rgba(124,132,255,.20); transform: translateY(-1px); }
.review-dots { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
@media (max-width: 980px) {
  .reviews-head-grid { grid-template-columns: 1fr; }
  .reviews-highlight { max-width: 100%; flex-basis: 100%; }
  .reviews-accent-card { padding: 18px; }
  .partners-emphasis { font-size: 16px; line-height: 1.6; }
  .partners-badge,
      .reviews-heading-badge { font-size: 17px; padding: 13px 18px; }
  .supplier-pill { font-size: 14px; }
}
footer { margin-top: 10px; padding: 28px 0 48px; border-top: 1px solid rgba(255,255,255,.06); color: var(--muted); font-size: 13px; }
.footer-grid { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-copy { color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.footer-link { display: inline-flex; align-items: center; justify-content: center; padding: 10px 14px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); color: #e0e4ef; font-size: 14px; font-weight: 800; transition: .18s ease; cursor: pointer; }
.footer-link:hover { transform: translateY(-1px); background: rgba(88,101,242,.12); border-color: rgba(124,132,255,.26); box-shadow: 0 10px 18px rgba(88,101,242,.10); color: #fff; }




/* assets/css/modals.css */
.modal { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; background: rgba(0,0,0,.72); backdrop-filter: blur(8px); padding: 18px; }
.modal.open { display: grid; }
.modal-box { width: min(560px, 100%); max-height: min(90vh, 920px); overflow: auto; background: #20242c; border: 1px solid rgba(255,255,255,.08); border-radius: 24px; box-shadow: 0 24px 64px rgba(0,0,0,.36); padding: 22px; scrollbar-width: thin; scrollbar-color: #5865f2 #121722; }
.modal-box::-webkit-scrollbar { width: 10px; height: 10px; }
.modal-box::-webkit-scrollbar-track { background: #111622; border-radius: 999px; }
.modal-box::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #6b79ff, #8b56ff); border-radius: 999px; border: 2px solid #111622; }
.modal-box::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #7a86ff, #9a67ff); }
#framesModal .modal-box { width: min(1100px, 96vw); max-height: min(90vh, 960px); background: linear-gradient(180deg, rgba(30,35,46,.98), rgba(25,29,38,.99)); border: 1px solid rgba(255,255,255,.09); padding: 26px; }
.frames-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.06); flex-wrap: wrap; }
.frames-count { font-size: 14px; color: #e8ebff; font-weight: 800; }
.frames-toolbar-right { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.frames-select,
    .frames-filter { background: #161b24; color: #e8ebff; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 10px 12px; font-weight: 700; font-size: 14px; }
.frames-catalog-note { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.45; max-width: 760px; }
.frame-option input:checked + .frame-card .frame-check { border-color: #8c96ff; background: radial-gradient(circle at 50% 50%, #fff 0 27%, #8c96ff 28% 100%); box-shadow: 0 0 0 5px rgba(88,101,242,.10); }
.frame-price { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); color: #e4e7f0; font-size: 12px; font-weight: 800; width: max-content; }
.modal-top { display: flex; justify-content: space-between; align-items: start; gap: 14px; }
.modal-top h3 { margin: 0 0 4px; font-size: 28px; letter-spacing: -1px; font-weight: 800; }
.close { background: transparent; border: 0; color: var(--muted); font-size: 28px; cursor: pointer; }
.pill { display: inline-flex; padding: 7px 10px; border-radius: 999px; background: rgba(88,101,242,.16); color: #e0e4ff; font-size: 12px; font-weight: 800; margin-bottom: 10px; }
.checks { display: grid; gap: 10px; }
.hint { margin-top: 14px; padding: 14px; border-radius: 14px; background: rgba(88,101,242,.08); border: 1px solid rgba(88,101,242,.18); color: #d5dafd; font-size: 14px; line-height: 1.45; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
.frame-option input:checked + .frame-card .frame-check { background: linear-gradient(135deg,var(--brand),var(--brand2)); border-color: transparent; box-shadow: 0 0 0 3px rgba(88,101,242,.14); }
@media (max-width:1100px) {
  .hero-grid, .preview-grid, .giveaway-box { grid-template-columns: 1fr; }
  .plans-grid, .feature-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .frames-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .review-card { flex-basis: calc((100% - 16px) / 2); }
  .navlinks { display: none; }
  .telegram-box { align-items: flex-start; }
  .hero-art { right: -24px; bottom: -20px; transform: scale(.92); }
}
@media (max-width:760px) {
  .plans-grid, .feature-grid { grid-template-columns: 1fr; }
  .frames-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .review-card { flex-basis: 100%; }
  .telegram-sticker { width: min(100%, 260px); margin-left: 0; }
  .brand-logo-img { height: 34px; width: auto; }
  .nav-actions .secondary { display: none; }
  .hero { padding-top: 26px; }
  .hero-box, .preview-box, .feature-strip, .giveaway-box, .telegram-box, .review { border-radius: 18px; }
  .hero-title { font-size: 54px; letter-spacing: -2px; }
  .hero-title .line.sub { font-size: .9em; letter-spacing: -1.8px; }
  .hero-text { font-size: 17px; }
  h2.section-title, .giveaway-title { font-size: 31px; }
  .section-intro, .subsection-badge { font-size: 14px; padding: 11px 15px; }
  .price strong { font-size: 42px; }
  .hero-art, .hero-star { display: none; }
  .hero-points { max-width: none; }
}




/* assets/css/storefront.css */
.topbar, main, footer { position: relative; z-index: 1; }
.page-decor { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.decor-side { position: fixed; top: 96px; bottom: 24px; width: 140px; opacity: .92; filter: drop-shadow(0 18px 34px rgba(88,101,242,.12)); }
.decor-side.left { left: 8px; }
.decor-side.right { right: 8px; }
.decor-planet, .decor-orb { position: absolute; border-radius: 50%; display: block; }
.decor-planet { background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.95), rgba(160,174,255,.95) 32%, rgba(88,101,242,.85) 65%, rgba(88,101,242,.15) 100%); box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 0 34px rgba(88,101,242,.22); }
.decor-planet.ring::after { content: ""; position: absolute; inset: 32% -22% auto -22%; height: 24%; border-radius: 999px; border: 2px solid rgba(196,204,255,.6); transform: rotate(-18deg); }
.decor-planet.big { width: 84px; height: 84px; top: 6%; left: 18px; }
.decor-side.right .decor-planet.big { top: 12%; right: 22px; left: auto; }
.decor-planet.small { width: 46px; height: 46px; top: 50%; left: 68px; }
.decor-planet.tiny { width: 36px; height: 36px; top: 58%; right: 26px; }
.decor-orb { background: radial-gradient(circle, rgba(129,113,255,.85), rgba(129,113,255,.05) 72%); }
.decor-orb.orb-a { width: 98px; height: 98px; left: -8px; bottom: 14%; }
.decor-orb.orb-b { width: 112px; height: 112px; right: -14px; bottom: 20%; }
.decor-star { position: absolute; color: #d8deff; font-size: 24px; text-shadow: 0 0 12px rgba(129,113,255,.5); }
.decor-side.left .star-a { top: 24%; left: 20px; }
.decor-side.left .star-b { bottom: 28%; left: 88px; font-size: 18px; }
.decor-side.right .star-c { top: 32%; right: 18px; }
.decor-side.right .star-d { bottom: 33%; right: 92px; font-size: 18px; }
.decor-bot { position: absolute; width: 64px; height: 46px; border-radius: 18px; background: linear-gradient(180deg, rgba(28,33,47,.92), rgba(17,20,29,.95)); border: 1px solid rgba(255,255,255,.08); }
.decor-bot::before, .decor-bot::after { content: ""; position: absolute; top: 18px; width: 8px; height: 8px; border-radius: 50%; background: #cfd5ff; box-shadow: 0 0 8px rgba(129,113,255,.6); }
.decor-bot::before { left: 20px; }
.decor-bot::after { right: 20px; }
.decor-side.left .bot-a { top: 72%; left: 28px; transform: rotate(-12deg); }
.decor-side.right .bot-b { top: 72%; right: 20px; transform: rotate(10deg); }
@media (max-width: 1240px) {
  .page-decor { display: none; }
}
.giveaway-box { position: relative; overflow: hidden; padding: 30px; gap: 18px; border-radius: 26px; background: linear-gradient(135deg, rgba(18,22,34,.98), rgba(31,36,58,.96)); border: 1px solid rgba(255,255,255,.08); box-shadow: 0 24px 40px rgba(7,12,22,.28); }
.giveaway-box::before { content: ""; position: absolute; inset: -20% auto auto -10%; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(88,101,242,.18), transparent 70%); }
.giveaway-box::after { content: "✦"; position: absolute; top: 28px; right: 28px; font-size: 28px; color: #d9deff; text-shadow: 0 0 18px rgba(129,113,255,.45); }
.giveaway-copy { position: relative; z-index: 2; }
.giveaway-note { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 999px; background: rgba(88,101,242,.12); border: 1px solid rgba(124,132,255,.18); color: #eff2ff; font-size: 12px; font-weight: 900; margin-bottom: 16px; }
.giveaway-title { font-size: 40px; line-height: 1.04; margin-bottom: 14px; max-width: 580px; }
.giveaway-text { font-size: 16px; line-height: 1.72; color: #d7def6; max-width: 590px; }
.giveaway-text b { color: #fff; }
.giveaway-mini { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.mini-pill { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.10); color: #eef1ff; }
.giveaway-visual { min-height: 320px; }
.giveaway-visual::after { content: "✦  ✦"; position: absolute; left: 34px; top: 24px; color: rgba(227,232,255,.9); letter-spacing: 14px; font-size: 22px; text-shadow: 0 0 16px rgba(88,101,242,.38); }
.telegram-sticker { width: min(100%, 235px); position: relative; z-index: 1; }
@media (max-width: 980px) {
  .giveaway-box { grid-template-columns: 1fr; padding: 22px; }
  .giveaway-title { font-size: 32px; }
  .giveaway-visual { min-height: 240px; }
}
.telegram-box.telegram-v23 { position: relative; display: grid; grid-template-columns: minmax(0,1.2fr) 390px; gap: 34px; align-items: stretch; padding: 34px; border-radius: 30px; background: radial-gradient(circle at 8% 0%, rgba(88,101,242,.15), transparent 30%),
        linear-gradient(135deg, rgba(16,20,31,.99), rgba(20,25,40,.98)); border: 1px solid rgba(255,255,255,.08); box-shadow: 0 26px 48px rgba(5,9,18,.30); overflow: hidden; }
.telegram-box.telegram-v23::after { content: ""; position: absolute; width: 300px; height: 300px; right: -130px; bottom: -150px; border-radius: 50%; background: radial-gradient(circle, rgba(99,110,255,.16), transparent 70%); pointer-events: none; }
.tg-v23-content { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 4px 0; }
.tg-v23-kicker { display: inline-flex; align-items: center; gap: 9px; width: max-content; padding: 9px 13px; margin-bottom: 18px; border-radius: 999px; background: rgba(88,101,242,.12); border: 1px solid rgba(124,132,255,.20); color: #dfe4ff; font-size: 12px; font-weight: 900; letter-spacing: .25px; }
.tg-v23-title-row { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.tg-v23-icon { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; flex: 0 0 auto; color: #fff; font-size: 23px; background: linear-gradient(135deg,#5865f2,#7b84ff); box-shadow: 0 12px 26px rgba(88,101,242,.25); }
.tg-v23-title { margin: 0; font-size: 32px; line-height: 1.12; letter-spacing: -1.1px; color: #fff; font-weight: 900; }
.tg-v23-description { margin: 0; max-width: 720px; color: #c9d1e5; font-size: 16px; line-height: 1.7; }
.tg-v23-features { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-top: 26px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.07); }
.tg-v23-feature { display: flex; gap: 11px; align-items: flex-start; min-width: 0; }
.tg-v23-feature-icon { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 11px; background: rgba(88,101,242,.11); border: 1px solid rgba(124,132,255,.16); font-size: 16px; }
.tg-v23-feature strong { display: block; margin-bottom: 4px; color: #f3f5ff; font-size: 14px; line-height: 1.3; }
.tg-v23-feature span { display: block; color: #aeb8ce; font-size: 12px; line-height: 1.45; }
.tg-v23-footer { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.tg-v23-status { display: inline-flex; align-items: center; gap: 8px; color: #bfc7dc; font-size: 13px; font-weight: 700; }
.tg-v23-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #f1b84b; box-shadow: 0 0 14px rgba(241,184,75,.35); }
.tg-v23-visual { position: relative; z-index: 2; min-height: 430px; border-radius: 26px; overflow: hidden; background: radial-gradient(circle at 50% 25%, rgba(124,132,255,.22), transparent 36%),
        linear-gradient(180deg, rgba(88,101,242,.09), rgba(255,255,255,.025)); border: 1px solid rgba(255,255,255,.08); }
.tg-v23-visual::before,
    .tg-v23-visual::after { content: "✦"; position: absolute; color: #dce1ff; text-shadow: 0 0 18px rgba(124,132,255,.48); z-index: 1; }
.tg-v23-visual::before { top: 24px; right: 26px; font-size: 24px; }
.tg-v23-visual::after { top: 76px; left: 28px; font-size: 15px; opacity: .65; }
.tg-v23-sticker { position: absolute; width: 285px; max-width: 78%; left: 50%; top: 42%; transform: translate(-50%,-50%); filter: drop-shadow(0 18px 28px rgba(0,0,0,.22)); z-index: 2; }
.tg-v23-qr { position: absolute; right: 18px; bottom: 18px; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 18px; background: rgba(14,18,28,.88); border: 1px solid rgba(255,255,255,.10); backdrop-filter: blur(12px); box-shadow: 0 14px 28px rgba(0,0,0,.22); }
.tg-v23-qr img { width: 82px; height: 82px; display: block; border-radius: 12px; background: #fff; padding: 6px; }
.tg-v23-qr-copy { width: 112px; }
.tg-v23-qr-copy strong { display: block; margin-bottom: 4px; color: #fff; font-size: 13px; line-height: 1.25; }
.tg-v23-qr-copy span { display: block; color: #aeb8ce; font-size: 11px; line-height: 1.4; }
@media (max-width: 980px) {
  .telegram-box.telegram-v23 { grid-template-columns: 1fr; padding: 22px; }
  .tg-v23-title { font-size: 27px; }
  .tg-v23-description { font-size: 15px; }
  .tg-v23-features { grid-template-columns: 1fr; gap: 16px; }
  .tg-v23-visual { min-height: 350px; }
  .tg-v23-sticker { width: 245px; }
}
@media (max-width: 620px) {
  .telegram-box.telegram-v23 { padding: 18px; border-radius: 22px; }
  .tg-v23-title-row { align-items: flex-start; }
  .tg-v23-title { font-size: 24px; }
  .tg-v23-icon { width: 44px; height: 44px; border-radius: 14px; }
  .tg-v23-visual { min-height: 330px; }
  .tg-v23-sticker { top: 39%; width: 220px; }
  .tg-v23-qr { left: 14px; right: 14px; bottom: 14px; justify-content: center; }
  .tg-v23-qr-copy { width: auto; }
}
.plan.unavailable { border-color: rgba(255,88,88,.16); background: linear-gradient(180deg, rgba(27,18,21,.98), rgba(18,13,16,.98)); }
.plan.unavailable .plan-tag { background: rgba(255,90,90,.10); color: #ff8585; border-color: rgba(255,90,90,.22); }
.plan.unavailable .price strong { color: #ff6f6f; font-size: 30px; letter-spacing: -.5px; line-height: 1.08; }
.plan.unavailable .point { background: rgba(255,255,255,.018); border-color: rgba(255,88,88,.10); }
.plan.unavailable .point .bullet { color: #ff7373; }
.plan.unavailable .point span:last-child { color: #d8dceb; }
.giveaway-note { padding: 12px 16px; font-size: 15px; gap: 10px; margin-bottom: 13px; }
.giveaway-subtitle { margin: 0 0 12px; font-size: 24px; line-height: 1.15; letter-spacing: -.6px; color: #f6f7ff; font-weight: 900; }
.tg-v23-kicker { font-size: 16px; padding: 11px 15px; margin-bottom: 20px; }
.donation-box { margin-top: 24px; padding: 28px; display: grid; grid-template-columns: 1.08fr .92fr; gap: 22px; align-items: center; position: relative; background: linear-gradient(180deg, rgba(20,24,34,.97), rgba(16,19,27,.98)); border: 1px solid rgba(255,255,255,.07); border-radius: 28px; box-shadow: var(--shadow); overflow: hidden; }
.donation-box::before { content: ""; position: absolute; inset: 0 auto auto 0; width: 100%; height: 1px; background: linear-gradient(90deg, transparent, rgba(124,132,255,.20), transparent); }
.donation-copy { position: relative; z-index: 2; }
.donation-badge { display: inline-flex; align-items: center; gap: 9px; padding: 12px 18px; border-radius: 999px; margin-bottom: 14px; font-size: 15px; font-weight: 900; color: #f7f8ff; background: linear-gradient(90deg, rgba(88,101,242,.24), rgba(124,132,255,.12)); border: 1px solid rgba(124,132,255,.34); box-shadow: 0 12px 24px rgba(88,101,242,.12); }
.donation-title { margin: 0 0 12px; font-size: 32px; line-height: 1.05; letter-spacing: -1px; font-weight: 900; }
.donation-text { margin: 0 0 17px; color: var(--muted); font-size: 15px; line-height: 1.65; max-width: 650px; }
.donation-form { display: grid; grid-template-columns: minmax(0,220px) auto auto; gap: 12px; align-items: center; margin-bottom: 12px; }
.donation-field { position: relative; }
.donation-field input { width: 100%; height: 54px; border-radius: 16px; border: 1px solid rgba(255,255,255,.09); background: rgba(255,255,255,.03); color: #fff; padding: 0 18px 0 42px; font-size: 18px; font-weight: 800; outline: none; }
.donation-field::before { content: "₽"; position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #bfc6db; font-weight: 800; font-size: 16px; pointer-events: none; }
.donation-visual { position: relative; min-height: 340px; display: flex; align-items: end; justify-content: center; }
.donation-visual::before { content: ""; position: absolute; inset: auto 10% 5% 10%; height: 76px; border-radius: 999px; background: radial-gradient(circle, rgba(88,101,242,.24), transparent 72%); filter: blur(18px); }
.donation-visual img { width: min(100%, 420px); height: auto; object-fit: contain; position: relative; z-index: 2; filter: drop-shadow(0 22px 30px rgba(88,101,242,.14)); }
.btn.cooldown[disabled] { opacity: .8; cursor: not-allowed; pointer-events: none; }
@media (max-width: 980px) {
  .donation-box { grid-template-columns: 1fr; }
  .donation-form { grid-template-columns: 1fr; }
  .donation-visual { min-height: 260px; }
  .tg-v23-kicker { font-size: 14px; }
}
.plan.unavailable { border-color: rgba(255,86,86,.26); background: linear-gradient(180deg, rgba(24,14,19,.98), rgba(17,10,14,.99)); box-shadow: 0 24px 40px rgba(0,0,0,.24), 0 0 0 1px rgba(255,86,86,.08) inset; }
.plan.unavailable .plan-top { padding: 12px 18px 0; }
.plan.unavailable .plan-accent { height: 12px; border-radius: 999px; background: linear-gradient(90deg, rgba(166,175,225,.55), rgba(138,149,217,.8)); box-shadow: 0 8px 20px rgba(122,134,214,.18); }
.plan.unavailable .plan-tag { background: rgba(255,86,86,.12); color: #ff8787; border-color: rgba(255,86,86,.22); }
.plan.unavailable .plan-icon { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.10); box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.plan.unavailable h3 { color: #f6f7ff; font-size: 23px; }
.plan.unavailable .price strong { color: #ff6969; font-size: 28px; line-height: 1.02; }
.plan.unavailable .plan-points { margin-top: 6px; }
.plan.unavailable .point { padding: 16px 16px; border-radius: 18px; background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01)); border: 1px solid rgba(255,86,86,.12); }
.plan.unavailable .point .bullet { color: #8c6bff; width: 20px; height: 20px; border-radius: 999px; display: inline-grid; place-items: center; background: rgba(115,93,255,.16); font-size: 13px; flex: 0 0 20px; }
.plan.unavailable .point span:last-child { color: #d7dbea; font-size: 14px; line-height: 1.45; }
.plan.unavailable .btn.unavailable { margin-top: auto; min-height: 50px; font-size: 17px; font-weight: 800; background: rgba(255,255,255,.035); border-color: rgba(255,255,255,.08); }
.donation-box { align-items: center; grid-template-columns: 1fr .86fr; }
.donation-badge { margin-bottom: 16px; }
.donation-title { font-size: 38px; line-height: 1.03; margin-bottom: 14px; max-width: 640px; }
.donation-text { font-size: 16px; line-height: 1.7; max-width: 660px; margin-bottom: 22px; }
.donation-form { margin-bottom: 0; grid-template-columns: minmax(0,220px) minmax(0,1fr) minmax(0,1fr); max-width: 720px; }
.donation-visual { min-height: 360px; }
.donation-visual img { width: min(100%, 470px); filter: drop-shadow(0 26px 34px rgba(88,101,242,.15)); }
@media (max-width: 980px) {
  .donation-box { grid-template-columns: 1fr; }
  .donation-title { font-size: 31px; }
  .donation-form { grid-template-columns: 1fr; max-width: none; }
  .donation-visual { min-height: 240px; }
  .plan.unavailable h3 { font-size: 21px; }
}
.donation-badge-large { margin-top: -6px; margin-bottom: 20px; padding: 15px 22px; font-size: 19px; line-height: 1.1; letter-spacing: -.25px; border-radius: 20px; box-shadow: 0 16px 30px rgba(88,101,242,.16); }
.donation-title { max-width: 680px; }
.donation-amount-control { display: grid; grid-template-columns: minmax(0,1fr) 42px; gap: 8px; align-items: stretch; min-width: 0; }
.donation-field { display: block; min-width: 0; }
.donation-field input { height: 56px; padding-right: 18px; appearance: textfield; -moz-appearance: textfield; }
.donation-field input::-webkit-outer-spin-button,
    .donation-field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.donation-field input::placeholder { color: #7f889e; font-weight: 700; opacity: 1; }
.donation-stepper { display: grid; grid-template-rows: 1fr 1fr; gap: 6px; }
.donation-step { min-width: 42px; border: 1px solid rgba(255,255,255,.09); border-radius: 11px; background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025)); color: #eef1ff; font-size: 18px; font-weight: 900; line-height: 1; cursor: pointer; transition: transform .15s ease, border-color .15s ease, background .15s ease; }
.donation-step:hover { border-color: rgba(124,132,255,.34); background: rgba(88,101,242,.11); }
.donation-step:active { transform: scale(.96); }
img,
    .brand-logo-img,
    .hero-brand-kicker img,
    .giveaway-visual img,
    .donation-visual img,
    .tg-v23-sticker,
    .telegram-sticker,
    .telegram-qr { -webkit-user-drag: none; user-drag: none; -webkit-touch-callout: none; user-select: none; -webkit-user-select: none; }
@media (max-width:980px) {
  .donation-badge-large { font-size: 17px; padding: 13px 17px; }
}
.tg-v23-qr img { width: 118px; height: 118px; object-fit: cover; padding: 0; border-radius: 14px; background: #fff; }
.tg-v23-qr-copy { width: 142px; }
.tg-v23-handle { display: inline-flex; margin-top: 7px; color: #9ea8ff; font-size: 12px; font-weight: 900; text-decoration: none; }
.tg-v23-handle:hover { color: #fff; }
@media (max-width:980px) {
  .tg-v23-qr img { width: 104px; height: 104px; }
}




/* assets/css/app.css */
html { scrollbar-width: thin; scrollbar-color: #737fff #0d1119; }
body::-webkit-scrollbar, .modal-box::-webkit-scrollbar, .chat-log::-webkit-scrollbar { width: 11px; height: 11px; }
body::-webkit-scrollbar-track, .modal-box::-webkit-scrollbar-track, .chat-log::-webkit-scrollbar-track { background: #0d1119; border-radius: 999px; }
body::-webkit-scrollbar-thumb, .modal-box::-webkit-scrollbar-thumb, .chat-log::-webkit-scrollbar-thumb { background: linear-gradient(180deg,#7580ff,#9168ff); border: 2px solid #0d1119; border-radius: 999px; min-height: 54px; }
body::-webkit-scrollbar-thumb:hover, .modal-box::-webkit-scrollbar-thumb:hover, .chat-log::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg,#8790ff,#a67aff); }
body::-webkit-scrollbar-button, .modal-box::-webkit-scrollbar-button, .chat-log::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
.auth-modal-box { width: min(500px,100%); }
.auth-title { margin: 0 0 7px; font-size: 30px; letter-spacing: -1px; }
.auth-subtitle { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.auth-form { display: grid; gap: 13px; margin-top: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-field { display: grid; gap: 7px; }
.form-field label { color: #c8cfdf; font-size: 13px; font-weight: 800; }
.form-field input { width: 100%; padding: 13px 14px; border-radius: 13px; background: #151922; border: 1px solid rgba(255,255,255,.09); color: #fff; outline: none; transition: .18s ease; }
.form-field input:focus { border-color: #6f7aff; box-shadow: 0 0 0 3px rgba(88,101,242,.10); }
.form-note { padding: 12px 14px; border: 1px solid rgba(88,101,242,.18); background: rgba(88,101,242,.08); border-radius: 14px; color: #cfd5f7; font-size: 13px; line-height: 1.5; }
.auth-switch { text-align: center; color: var(--muted); font-size: 13px; margin-top: 12px; }
.auth-switch button { border: 0; background: transparent; color: #aab2ff; font-weight: 800; cursor: pointer; }
.purchase-modal-box { width: min(760px,96vw); padding: 0; overflow: auto; }
.purchase-head { position: sticky; top: 0; z-index: 5; display: flex; justify-content: space-between; gap: 16px; padding: 22px 24px 18px; background: linear-gradient(180deg,rgba(32,36,44,.995),rgba(32,36,44,.95)); border-bottom: 1px solid rgba(255,255,255,.07); backdrop-filter: blur(12px); }
.purchase-content { padding: 20px 24px 24px; display: grid; gap: 16px; }
.purchase-head-enhanced { position: sticky; top: 0; z-index: 8; align-items: flex-start; padding: 22px 78px 18px 24px; }
.purchase-head-copy { display: grid; gap: 10px; width: 100%; }
.purchase-head-main { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; }
.purchase-head-info { min-width: 0; display: grid; gap: 6px; }
.purchase-head-info h3 { margin: 0; font-size: 34px; line-height: 1.05; letter-spacing: -1.2px; font-weight: 900; }
.purchase-head-info .muted { color: var(--muted); font-size: 14px; line-height: 1.55; }
.purchase-head-price { flex: 0 0 auto; min-width: 144px; text-align: right; padding: 14px 16px; border-radius: 18px; background: linear-gradient(135deg,rgba(88,101,242,.16),rgba(255,255,255,.04)); border: 1px solid rgba(124,132,255,.20); box-shadow: 0 14px 28px rgba(88,101,242,.10); font-size: 34px; line-height: 1; font-weight: 900; white-space: nowrap; }
.purchase-close { position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; display: grid; place-items: center; padding: 0; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); color: #d6dbeb; font-size: 28px; line-height: 1; transition: .18s ease; }
.purchase-close:hover { background: rgba(88,101,242,.12); border-color: rgba(124,132,255,.26); color: #ffffff; }
.purchase-section { padding: 18px; border-radius: 19px; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.07); }
.purchase-section-title { margin: 0 0 5px; font-size: 19px; font-weight: 900; }
.purchase-section-subtitle { margin: 0 0 14px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.purchase-checks { display: grid; gap: 9px; }
.purchase-check { display: flex; gap: 11px; align-items: flex-start; padding: 12px 13px; border-radius: 14px; background: #171b23; border: 1px solid rgba(255,255,255,.06); color: #cbd1df; font-size: 14px; line-height: 1.45; }
.purchase-check input { margin-top: 3px; accent-color: #6570ff; }
.purchase-check a { color: #aeb6ff; text-decoration: none; font-weight: 800; }
.purchase-check a:hover { text-decoration: underline; }
.activation-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.activation-option { position: relative; cursor: pointer; }
.activation-option > input { position: absolute; opacity: 0; pointer-events: none; }
.activation-card { display: block; height: 100%; padding: 16px; border-radius: 17px; background: #161a22; border: 1px solid rgba(255,255,255,.07); transition: .18s ease; }
.activation-option > input:checked + .activation-card { border-color: rgba(110,122,255,.72); background: linear-gradient(135deg,rgba(88,101,242,.17),rgba(24,28,38,.96)); box-shadow: 0 0 0 3px rgba(88,101,242,.08); }
.activation-card strong { display: flex; align-items: center; gap: 8px; font-size: 16px; margin-bottom: 7px; }
.activation-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.recommended-chip { display: inline-flex; padding: 5px 8px; margin-top: 10px; border-radius: 999px; background: rgba(67,181,129,.10); border: 1px solid rgba(67,181,129,.18); color: #74dfaa; font-size: 11px; font-weight: 900; }
.credentials-panel { display: none; margin-top: 12px; padding: 15px; border-radius: 16px; border: 1px solid rgba(255,255,255,.07); background: #141820; }
.credentials-panel.show { display: block; }
.credentials-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.security-note { margin-top: 12px; padding: 11px 13px; border-radius: 13px; background: rgba(255,183,77,.07); border: 1px solid rgba(255,183,77,.16); color: #f4d7ac; font-size: 12px; line-height: 1.5; }
.frame-fields { display: none; }
.frame-fields.show { display: block; }
.frame-fields-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.purchase-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 2px; }
.purchase-footer-note { color: var(--muted); font-size: 12px; max-width: 430px; line-height: 1.45; }
.purchase-actions { display: flex; gap: 10px; margin-left: auto; }
.chat-modal-box { width: min(900px,96vw); padding: 0; overflow: hidden; }
.chat-header { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; padding: 20px 22px; border-bottom: 1px solid rgba(255,255,255,.07); background: linear-gradient(180deg,#20242d,#1b1f27); }
.chat-order-meta { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 9px; }
.chat-meta-pill { padding: 6px 9px; border-radius: 999px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); color: #cdd3e2; font-size: 12px; font-weight: 800; }
.chat-layout { display: grid; grid-template-columns: 230px 1fr; min-height: 520px; }
.chat-sidebar { padding: 18px; background: #171b22; border-right: 1px solid rgba(255,255,255,.06); }
.chat-status-title { font-size: 12px; color: #9fa7ba; font-weight: 900; text-transform: uppercase; letter-spacing: .6px; margin-bottom: 12px; }
.chat-status-list { display: grid; gap: 13px; }
.chat-status-item { display: flex; gap: 10px; align-items: flex-start; color: #b9c0d0; font-size: 13px; }
.chat-status-dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(88,101,242,.15); border: 1px solid rgba(88,101,242,.30); color: #b9c0ff; flex: 0 0 auto; font-size: 11px; }
.chat-status-item.active { color: #fff; font-weight: 800; }
.chat-status-item.active .chat-status-dot { background: #5865f2; color: #fff; }
.chat-main { display: flex; flex-direction: column; min-width: 0; }
.chat-log { flex: 1; padding: 20px; overflow: auto; max-height: 470px; background: linear-gradient(180deg,#191d25,#171b22); }
.message { max-width: 76%; margin-bottom: 12px; padding: 12px 14px; border-radius: 16px; font-size: 14px; line-height: 1.5; }
.message.store { background: #232837; border: 1px solid rgba(255,255,255,.07); color: #edf0f7; border-top-left-radius: 6px; }
.message.user { margin-left: auto; background: rgba(88,101,242,.18); border: 1px solid rgba(88,101,242,.26); color: #f2f4ff; border-top-right-radius: 6px; }
.message-author { display: block; font-size: 12px; font-weight: 900; margin-bottom: 4px; color: #cfd5ff; }
.chat-compose { display: flex; gap: 10px; padding: 14px 16px; border-top: 1px solid rgba(255,255,255,.06); background: #151920; }
.chat-compose input { flex: 1; min-width: 0; padding: 12px 13px; border-radius: 12px; background: #11151c; border: 1px solid rgba(255,255,255,.07); color: #fff; outline: none; }
@media (max-width:760px) {
  .form-row,.credentials-grid,.frame-fields-grid,.activation-grid { grid-template-columns: 1fr; }
  .purchase-head { padding: 18px; }
  .purchase-head-enhanced { padding: 18px 60px 16px 18px; }
  .purchase-head-main { display: grid; grid-template-columns: 1fr; }
  .purchase-head-info h3 { font-size: 28px; }
  .purchase-head-price { min-width: 0; width: max-content; font-size: 28px; text-align: left; }
  .purchase-close { top: 14px; right: 14px; }
  .purchase-content { padding: 16px 18px 20px; }
  .purchase-actions { width: 100%; margin-left: 0; }
  .purchase-actions .btn { flex: 1; }
  .chat-layout { grid-template-columns: 1fr; }
  .chat-sidebar { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.06); }
  .chat-log { max-height: 380px; }
  .message { max-width: 90%; }
}
:root { --topbar-height: 74px; --motion-fast: .28s; --motion-normal: .42s; --motion-slow: .58s; --ease-ui: cubic-bezier(.22,.8,.3,1); }
html { scroll-padding-top: calc(var(--topbar-height) + 16px); }
.topbar { position: sticky !important; top: 0; z-index: 90 !important; background: rgba(9, 11, 16, .46) !important; border-bottom: 1px solid rgba(255,255,255,.055); -webkit-backdrop-filter: blur(18px) saturate(145%); backdrop-filter: blur(18px) saturate(145%); box-shadow: 0 10px 32px rgba(0,0,0,0); transition: background var(--motion-normal) ease,
    border-color var(--motion-normal) ease,
    box-shadow var(--motion-normal) ease,
    backdrop-filter var(--motion-normal) ease; }
.topbar.is-scrolled { background: rgba(9, 11, 16, .72) !important; border-bottom-color: rgba(124,132,255,.12); box-shadow: 0 12px 34px rgba(0,0,0,.22); -webkit-backdrop-filter: blur(22px) saturate(155%); backdrop-filter: blur(22px) saturate(155%); }
#plans,
#benefits,
#how,
#giveaways,
#partners,
#reviews { scroll-margin-top: calc(var(--topbar-height) + 18px); }
.benefits-section { padding-top: 6px; }
#reviews .reviews-accent-card { justify-content: flex-start; padding: 0; margin-top: 16px; background: transparent; border: 0; box-shadow: none; overflow: visible; }
#reviews .reviews-accent-card::before { display: none; }
#reviews .reviews-highlight { flex: 0 0 auto; min-width: 250px; max-width: 100%; }
.modal { display: grid !important; opacity: 0; visibility: hidden; pointer-events: none; background: rgba(4,6,10,.18) !important; -webkit-backdrop-filter: blur(0px); backdrop-filter: blur(0px); transition: opacity .34s ease,
    visibility 0s linear .36s,
    background .38s ease,
    backdrop-filter .42s ease; }
.modal.open { opacity: 1; visibility: visible; pointer-events: auto; background: rgba(4,6,10,.68) !important; -webkit-backdrop-filter: blur(13px); backdrop-filter: blur(13px); transition-delay: 0s; }
.modal .modal-box { opacity: 0; transform: translateY(18px) scale(.975); filter: blur(7px); transition: opacity .34s ease,
    transform .42s var(--ease-ui),
    filter .38s ease; will-change: transform, opacity, filter; }
.modal.open .modal-box { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
body.modal-open { overflow: hidden; }
body.js-motion .reveal-on-scroll { opacity: 0; transform: translateY(18px); filter: blur(6px); transition: opacity .52s ease,
    transform .62s var(--ease-ui),
    filter .48s ease; }
body.js-motion .reveal-on-scroll.is-visible { opacity: 1; transform: translateY(0); filter: blur(0); }
.scroll-top-btn { position: fixed; right: 24px; bottom: 24px; z-index: 75; width: 50px; height: 50px; border: 1px solid rgba(124,132,255,.28); border-radius: 16px; display: grid; place-items: center; color: #fff; font-size: 25px; font-weight: 800; line-height: 1; cursor: pointer; background: linear-gradient(180deg, rgba(88,101,242,.90), rgba(104,82,230,.92)); box-shadow: 0 14px 34px rgba(45,52,160,.32); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); opacity: 0; visibility: hidden; transform: translateY(14px) scale(.92); transition: opacity .26s ease,
    visibility .26s ease,
    transform .34s var(--ease-ui),
    box-shadow .25s ease; }
.scroll-top-btn.show { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.scroll-top-btn:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 18px 38px rgba(45,52,160,.44); }
.scroll-top-btn:active { transform: translateY(0) scale(.97); }
@media (max-width: 760px) {
  :root { --topbar-height: 68px; }
  .topbar { background: rgba(9,11,16,.78) !important; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
  .scroll-top-btn { right: 16px; bottom: 16px; width: 46px; height: 46px; border-radius: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .modal,
  .modal .modal-box,
  body.js-motion .reveal-on-scroll,
  .scroll-top-btn,
  .topbar { transition: none !important; }
  body.js-motion .reveal-on-scroll { opacity: 1; transform: none; filter: none; }
}
.purchase-legal-note { margin-top: 12px; padding: 13px 15px; border-radius: 15px; border: 1px solid rgba(124,132,255,.18); background: rgba(88,101,242,.07); color: #c9d0e2; font-size: 12.5px; line-height: 1.55; }
.purchase-legal-note b { color: #eef1ff; }
.frame-plan .plan-accent { background: linear-gradient(90deg,#9b7cff,#5865f2) !important; }
.frame-plan .plan-tag { background: rgba(88,101,242,.11); border-color: rgba(124,132,255,.20); color: #e3e6ff; }
.header-profile-dot { width: 25px; height: 25px; border-radius: 50%; display: inline-grid; place-items: center; margin-right: 7px; background: linear-gradient(135deg,#5865f2,#8d68ff); color: #fff; font-size: 12px; font-weight: 900; vertical-align: middle; box-shadow: 0 6px 15px rgba(88,101,242,.24); }
.profile-modal-box { width: min(860px,96vw); padding: 0; overflow: hidden; }
.profile-modal-head { padding: 22px 24px; background: linear-gradient(180deg,#202532,#1b202a); border-bottom: 1px solid rgba(255,255,255,.07); }
.profile-identity { display: flex; align-items: center; gap: 15px; }
.profile-identity h3 { margin: 7px 0 2px; font-size: 28px; }
.profile-avatar { width: 68px; height: 68px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 22px; font-size: 29px; font-weight: 900; background: linear-gradient(145deg,#5967f4,#9a6dff); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 16px 28px rgba(88,101,242,.24); }
.profile-body { padding: 22px 24px 24px; }
.profile-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 16px; }
.profile-stat { display: grid; gap: 3px; padding: 16px; border-radius: 17px; background: #171b23; border: 1px solid rgba(255,255,255,.07); }
.profile-stat strong { font-size: 24px; color: #fff; }
.profile-stat span { color: var(--muted); font-size: 12px; font-weight: 700; }
.profile-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 14px; }
.profile-card { padding: 18px; border-radius: 19px; background: linear-gradient(180deg,#191e28,#161a22); border: 1px solid rgba(255,255,255,.07); }
.profile-card-kicker { color: #adb5ff; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .35px; margin-bottom: 8px; }
.profile-card h4 { margin: 0 0 9px; font-size: 19px; }
.profile-card p { margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.referral-row { display: flex; gap: 8px; align-items: center; }
.referral-row code { flex: 1; min-width: 0; padding: 12px 13px; border-radius: 13px; background: #10141c; border: 1px solid rgba(255,255,255,.08); color: #cbd1ff; font-size: 15px; font-weight: 900; }
.profile-empty { color: var(--muted); font-size: 13px; line-height: 1.5; padding: 12px 0; }
.profile-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.btn.danger-soft { background: rgba(237,66,69,.08); color: #ff9b9d; border: 1px solid rgba(237,66,69,.18); }
.payment-modal-box { width: min(760px,96vw); }
.payment-order-summary { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin: 4px 0 16px; padding: 16px 18px; border-radius: 18px; background: #161b24; border: 1px solid rgba(255,255,255,.07); }
.payment-order-summary > div { display: grid; gap: 4px; }
.payment-order-summary span { color: #939cad; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.payment-order-summary strong { font-size: 18px; }
.payment-amount { text-align: right; }
.payment-amount strong { font-size: 27px; color: #fff; }
.payment-panel { display: grid; grid-template-columns: 230px minmax(0,1fr); align-items: center; gap: 22px; padding: 20px; border-radius: 21px; background: linear-gradient(145deg,#171c26,#141820); border: 1px solid rgba(255,255,255,.07); }
.payment-panel[hidden] { display: none !important; }
.payment-qr-demo { width: 210px; aspect-ratio: 1; position: relative; overflow: hidden; border: 12px solid #fff; border-radius: 19px; background: repeating-linear-gradient(0deg,transparent 0 9px,#111 9px 17px,transparent 17px 24px),
    repeating-linear-gradient(90deg,#111 0 8px,transparent 8px 15px,#111 15px 21px,transparent 21px 29px),
    #fff; box-shadow: 0 18px 30px rgba(0,0,0,.25); }
.payment-qr-demo::after { display: none; }
.qr-corner { position: absolute; width: 48px; height: 48px; border: 8px solid #111; background: #fff; z-index: 2; }
.qr-corner::after { content: ""; position: absolute; inset: 8px; background: #111; }
.qr-corner.q1 { top: 7px; left: 7px; }
.qr-corner.q2 { top: 7px; right: 7px; }
.qr-corner.q3 { bottom: 7px; left: 7px; }
.payment-details h4 { margin: 8px 0 8px; font-size: 24px; }
.payment-details p { margin: 0; color: var(--muted); line-height: 1.6; font-size: 14px; }
.payment-method-label { color: #b8c0ff; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .35px; }
.demo-bank-card { min-height: 190px; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; border-radius: 22px; background: radial-gradient(circle at 85% 15%,rgba(255,255,255,.18),transparent 24%),
    linear-gradient(135deg,#5d68f2,#835cf0 58%,#343b7a); box-shadow: 0 20px 34px rgba(67,77,190,.24); }
.demo-bank-card span,.demo-bank-card small { color: rgba(255,255,255,.82); font-weight: 800; }
.demo-bank-card strong { font-size: 20px; letter-spacing: 1.8px; }
.payment-detail-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.06); color: var(--muted); font-size: 13px; }
.payment-detail-row b { color: #fff; }
.payment-details .btn { margin-top: 12px; }
.payment-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }
.legal-preview-box { width: min(940px,96vw); max-height: 90vh; }
.legal-preview-content { display: grid; gap: 14px; padding-top: 4px; }
.legal-preview-content > div { padding: 17px 18px; border-radius: 17px; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.065); }
.legal-preview-content h4 { margin: 0 0 8px; font-size: 19px; }
.legal-preview-content p { margin: 6px 0 0; color: #c7cee0; line-height: 1.65; font-size: 14px; }
.legal-preview-content ul,.legal-preview-content ol { margin: 8px 0 0; padding-left: 21px; display: grid; gap: 6px; color: #c7cee0; line-height: 1.55; }
.legal-preview-content .legal-warning { background: linear-gradient(135deg,rgba(88,101,242,.12),rgba(124,86,255,.07)); border-color: rgba(124,132,255,.20); }
.legal-preview-content .legal-date { display: inline-flex; margin-top: 8px; padding: 6px 9px; border-radius: 999px; background: rgba(255,255,255,.045); color: #dce1f1; font-size: 11px; font-weight: 800; }
@media (max-width:760px) {
  .profile-stats { grid-template-columns: 1fr 1fr 1fr; }
  .profile-grid { grid-template-columns: 1fr; }
  .payment-panel { grid-template-columns: 1fr; }
  .payment-qr-demo { width: min(210px,70vw); margin: 0 auto; }
  .payment-order-summary { align-items: flex-start; }
  .payment-actions { display: grid; grid-template-columns: 1fr; }
}
.how-section-head { margin-bottom: 18px; }
.how-section-lead { margin: 10px 0 0; max-width: 760px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.checkout-flow-card,
.prepay-card { position: relative; overflow: hidden; border-radius: 26px; border: 1px solid rgba(255,255,255,.075); background: radial-gradient(circle at 100% 0%, rgba(88,101,242,.10), transparent 30%),
    linear-gradient(180deg, rgba(20,24,34,.98), rgba(15,18,26,.98)); box-shadow: var(--shadow); }
.checkout-flow-card { padding: 24px; }
.checkout-flow-card::before,
.prepay-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg,transparent,rgba(124,132,255,.38),transparent); }
.checkout-flow-top,
.prepay-head { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; }
.checkout-flow-title,
.prepay-title { margin: 0; font-size: 31px; line-height: 1.05; letter-spacing: -1px; font-weight: 900; }
.checkout-flow-subtitle { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; max-width: 760px; }
.checkout-time-chip,
.prepay-lock { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; padding: 10px 13px; border-radius: 999px; border: 1px solid rgba(124,132,255,.20); background: rgba(88,101,242,.08); color: #dfe3ff; font-size: 12px; font-weight: 900; white-space: nowrap; }
.checkout-steps { position: relative; display: grid; grid-template-columns: minmax(0,1fr) 34px minmax(0,1fr) 34px minmax(0,1fr) 34px minmax(0,1fr); gap: 6px; align-items: stretch; margin-top: 20px; }
.checkout-step { position: relative; min-height: 178px; padding: 17px; border-radius: 19px; background: radial-gradient(circle at 100% 100%, rgba(88,101,242,.09), transparent 37%),
    rgba(255,255,255,.022); border: 1px solid rgba(255,255,255,.06); transition: transform .25s ease,border-color .25s ease,background .25s ease; }
.checkout-step:hover { transform: translateY(-3px); border-color: rgba(124,132,255,.20); background: radial-gradient(circle at 100% 100%, rgba(88,101,242,.14), transparent 42%),
    rgba(255,255,255,.032); }
.checkout-step-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 16px; }
.checkout-step-num { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(135deg,#5865f2,#7c84ff); color: white; font-size: 14px; font-weight: 900; box-shadow: 0 10px 20px rgba(88,101,242,.18); }
.checkout-step-icon { color: #aeb6ff; font-size: 20px; font-weight: 900; }
.checkout-step h4 { margin: 0 0 8px; font-size: 17px; line-height: 1.25; font-weight: 900; }
.checkout-step p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.checkout-step-arrow { display: grid; place-items: center; color: #737dca; font-size: 22px; font-weight: 900; opacity: .82; }
.prepay-card { margin-top: 16px; padding: 24px; }
.account-check-card { display: grid; grid-template-columns: 44px minmax(0,1fr) auto; gap: 14px; align-items: center; margin-top: 20px; padding: 17px 18px; border-radius: 19px; background: linear-gradient(135deg,rgba(59,165,93,.10),rgba(255,255,255,.018)); border: 1px solid rgba(59,165,93,.18); }
.account-check-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: #8ee8ae; background: rgba(59,165,93,.14); border: 1px solid rgba(59,165,93,.22); font-weight: 900; font-size: 18px; }
.account-check-copy strong { display: block; margin-bottom: 5px; font-size: 16px; font-weight: 900; }
.account-check-copy p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.account-check-status { padding: 7px 10px; border-radius: 999px; color: #8ee8ae; background: rgba(59,165,93,.08); border: 1px solid rgba(59,165,93,.18); font-size: 11px; font-weight: 900; white-space: nowrap; }
.legal-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin-top: 12px; }
.legal-mini-card { min-width: 0; min-height: 190px; display: flex; flex-direction: column; padding: 16px; border-radius: 18px; background: rgba(255,255,255,.022); border: 1px solid rgba(255,255,255,.06); transition: transform .22s ease,border-color .22s ease,background .22s ease; }
.legal-mini-card:hover { transform: translateY(-2px); border-color: rgba(124,132,255,.18); background: rgba(255,255,255,.032); }
.legal-mini-icon { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 14px; border-radius: 12px; background: rgba(88,101,242,.12); border: 1px solid rgba(88,101,242,.18); font-size: 17px; }
.legal-mini-copy h4 { margin: 0 0 7px; font-size: 15px; line-height: 1.3; font-weight: 900; }
.legal-mini-copy p { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.55; }
.legal-mini-link { width: max-content; margin-top: auto; padding-top: 14px; color: #aeb7ff; font-size: 12.5px; font-weight: 900; transition: color .2s ease,transform .2s ease; }
.legal-mini-link:hover { color: #fff; transform: translateX(2px); }
.prepay-footnote { display: flex; align-items: flex-start; gap: 10px; margin-top: 12px; padding: 13px 15px; border-radius: 15px; color: #bdc4d6; background: rgba(88,101,242,.055); border: 1px solid rgba(124,132,255,.13); font-size: 12.5px; line-height: 1.55; }
.prepay-footnote-icon { width: 20px; height: 20px; flex: 0 0 20px; display: grid; place-items: center; border-radius: 50%; color: #dfe3ff; background: rgba(88,101,242,.16); font-size: 11px; font-weight: 900; }
@media (max-width:980px) {
  .checkout-steps { grid-template-columns: 1fr 1fr; gap: 12px; }
  .checkout-step-arrow { display: none; }
  .legal-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width:680px) {
  .checkout-flow-card,
  .prepay-card { padding: 18px; border-radius: 22px; }
  .checkout-flow-top,
  .prepay-head { display: grid; }
  .checkout-time-chip,
  .prepay-lock { width: max-content; white-space: normal; }
  .checkout-flow-title,
  .prepay-title { font-size: 27px; }
  .checkout-steps,
  .legal-grid { grid-template-columns: 1fr; }
  .checkout-step { min-height: 0; }
  .account-check-card { grid-template-columns: 42px minmax(0,1fr); }
  .account-check-status { grid-column: 2; width: max-content; }
}
.plan-requirement { display: flex; align-items: flex-start; gap: 10px; margin-top: 12px; padding: 12px 13px; border-radius: 15px; background: linear-gradient(135deg,rgba(240,178,50,.08),rgba(255,255,255,.018)); border: 1px solid rgba(240,178,50,.16); color: #d7dbe7; font-size: 12.5px; line-height: 1.5; }
.plan-requirement b { color: #f6d58c; }
.plan-requirement-icon { flex: 0 0 22px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 8px; background: rgba(240,178,50,.12); border: 1px solid rgba(240,178,50,.20); color: #ffd67b; font-size: 12px; font-weight: 900; }
.plan-requirement { display: flex; align-items: flex-start; gap: 12px; margin-top: 14px; padding: 14px 14px 13px; border-radius: 18px; background: linear-gradient(180deg,rgba(255,196,84,.08),rgba(255,255,255,.02)); border: 1px solid rgba(255,196,84,.16); box-shadow: inset 0 1px 0 rgba(255,255,255,.03); }
.plan-requirement-icon { flex: 0 0 24px; width: 24px; height: 24px; border-radius: 9px; display: grid; place-items: center; font-size: 12px; font-weight: 900; background: rgba(255,196,84,.12); border: 1px solid rgba(255,196,84,.22); color: #ffd980; }
.plan-requirement-copy { display: grid; gap: 4px; }
.plan-requirement-copy strong { color: #f7d88d; font-size: 13px; line-height: 1.15; font-weight: 900; }
.plan-requirement-copy p { margin: 0; color: #d7dbe7; font-size: 12.5px; line-height: 1.45; }
.profile-stats-orders .profile-stat strong { font-size: 28px; }
.profile-grid-overview { grid-template-columns: 1fr 1fr; gap: 16px; }
.profile-card-wide { min-height: unset; }
.profile-orders-advanced { display: grid; gap: 10px; margin-top: 14px; }
.profile-order-advanced { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px; align-items: center; padding: 14px 15px; border-radius: 18px; background: linear-gradient(180deg,rgba(15,19,30,.9),rgba(21,26,39,.82)); border: 1px solid rgba(255,255,255,.07); }
.profile-order-main { min-width: 0; display: grid; gap: 5px; }
.profile-order-main b { color: #fff; font-size: 17px; line-height: 1.2; }
.profile-order-meta { color: #9ea6bb; font-size: 12.5px; line-height: 1.45; }
.profile-order-side { display: grid; justify-items: end; gap: 8px; }
.profile-order-price { color: #e8ebff; font-weight: 900; font-size: 17px; white-space: nowrap; }
.profile-order-status { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border-radius: 999px; font-size: 12px; font-weight: 800; border: 1px solid rgba(255,255,255,.08); white-space: nowrap; }
.profile-order-status.status-active { color: #9ec5ff; background: rgba(88,101,242,.12); border-color: rgba(88,101,242,.22); }
.profile-order-status.status-progress { color: #c9b3ff; background: rgba(164,92,255,.12); border-color: rgba(164,92,255,.22); }
.profile-order-status.status-done { color: #8ee5b5; background: rgba(46,204,113,.12); border-color: rgba(46,204,113,.22); }
.profile-order-chat-btn { min-width: 132px; }
.profile-quick-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.profile-quick-pills span { padding: 10px 12px; border-radius: 999px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); color: #d7dcf1; font-size: 12px; font-weight: 800; }
@media (max-width: 900px) {
  .profile-grid-overview { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .profile-order-advanced { grid-template-columns: 1fr; justify-items: stretch; }
  .profile-order-side { justify-items: start; }
  .profile-order-chat-btn { width: 100%; min-width: 0; }
}
.plan-requirement { display: grid; grid-template-columns: 24px minmax(0,1fr); gap: 11px; align-items: start; min-height: 0 !important; height: auto !important; margin: 16px 0 0 !important; padding: 12px 13px !important; border-radius: 15px !important; background: linear-gradient(135deg, rgba(240,178,50,.075), rgba(255,255,255,.018)) !important; border: 1px solid rgba(240,178,50,.15) !important; box-shadow: none !important; }
.plan-requirement-icon { width: 24px !important; height: 24px !important; flex: 0 0 24px !important; border-radius: 8px !important; }
.plan-requirement-copy { display: block !important; min-width: 0; }
.plan-requirement-copy strong { display: block; margin: 1px 0 4px; color: #f3cf7d !important; font-size: 12.5px !important; line-height: 1.25 !important; font-weight: 900 !important; }
.plan-requirement-copy p { margin: 0 !important; color: #c8cedc !important; font-size: 12px !important; line-height: 1.42 !important; }
.plan-requirement + .buy { margin-top: 16px !important; }
.frame-plan .btn,
.plan.unavailable .btn { margin-top: 16px !important; }
@media (max-width:700px) {
  .plan-requirement { margin-top: 14px !important; }
}




/* assets/css/auth-referrals.css */
.preview-only { display: none !important; }
.preview-mode .preview-only { display: flex !important; }
.auth-pro-box { width: min(540px,96vw); }
.auth-register-box { width: min(720px,96vw); }
.auth-main-btn { min-height: 50px; font-weight: 900; }
.auth-row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.auth-mini-check { display: flex; align-items: center; gap: 8px; color: #bfc6d6; font-size: 13px; }
.auth-mini-check input { accent-color: #6570ff; }
.auth-link-btn { border: 0; background: transparent; color: #aeb6ff; font-weight: 800; cursor: pointer; padding: 4px; }
.auth-link-btn:hover { color: #fff; }
.auth-error { padding: 11px 13px; border-radius: 13px; background: rgba(237,66,69,.08); border: 1px solid rgba(237,66,69,.19); color: #ffb0b2; font-size: 13px; line-height: 1.5; }
.optional-label { color: #7f879a; font-weight: 600; font-size: 11px; margin-left: 5px; }
.password-input-shell { position: relative; }
.password-input-shell input { padding-right: 48px; }
.password-eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border: 0; border-radius: 10px; background: rgba(255,255,255,.04); color: #9da5b8; cursor: pointer; display: grid; place-items: center; }
.password-eye:hover { color: #fff; background: rgba(88,101,242,.12); }
.password-strength-card { padding: 14px; border-radius: 16px; background: #141922; border: 1px solid rgba(255,255,255,.07); }
.password-strength-top { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 9px; }
.password-strength-top strong { font-size: 13px; }
.password-strength-top span { color: #9da5b8; font-size: 12px; font-weight: 800; }
.password-strength-track { height: 7px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.06); margin-bottom: 12px; }
.password-strength-track span { display: block; height: 100%; width: 0%; border-radius: inherit; background: linear-gradient(90deg,#ed4245,#f0b232,#43b581); transition: .24s ease; }
.password-rules { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 12px; }
.password-rules span { color: #858da0; font-size: 12px; transition: .18s ease; }
.password-rules span.pass { color: #67d99d; }
.password-rules span.fail { color: #ff9da0; }
.referral-entry-row { display: grid; grid-template-columns: 1fr auto; gap: 9px; }
.referral-validation { color: #8f97a9; font-size: 12px; line-height: 1.45; }
.referral-validation.valid { color: #69dca0; }
.referral-validation.invalid { color: #ff989b; }
.auth-legal-check { margin-top: 2px; }
.preview-auth-tools { margin-top: -2px; }
.verify-box { width: min(480px,96vw); }
.verification-code-wrap input { width: 100%; text-align: center; letter-spacing: 12px; font-size: 30px; font-weight: 900; padding: 16px 12px 16px 24px; border-radius: 17px; background: #151a23; border: 1px solid rgba(124,132,255,.20); color: #fff; outline: none; }
.verification-code-wrap input:focus { border-color: #717cff; box-shadow: 0 0 0 4px rgba(88,101,242,.10); }
.verification-preview-code { align-items: center; justify-content: center; padding: 10px 12px; border-radius: 12px; color: #dfe3ff; background: rgba(88,101,242,.10); border: 1px dashed rgba(124,132,255,.25); font-size: 12px; font-weight: 800; }
.verify-resend-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #8992a5; font-size: 12px; }
.verify-resend-row button:disabled { opacity: .45; cursor: not-allowed; }
.reset-step-two { display: grid; gap: 13px; }
.profile-v41-box { width: min(940px,96vw); padding: 0; overflow: auto; }
.profile-v41-tabs { display: flex; gap: 7px; padding: 0 22px 14px; border-bottom: 1px solid rgba(255,255,255,.06); background: #181c24; }
.profile-tab { position: relative; padding: 10px 14px; border-radius: 12px; border: 1px solid transparent; background: transparent; color: #9fa7ba; font-weight: 800; cursor: pointer; }
.profile-tab:hover { color: #fff; background: rgba(255,255,255,.03); }
.profile-tab.active { color: #fff; background: rgba(88,101,242,.12); border-color: rgba(124,132,255,.18); }
.profile-tab-badge { position: absolute; top: 3px; right: 3px; min-width: 16px; height: 16px; border-radius: 999px; display: grid; place-items: center; background: #ed4245; color: #fff; font-size: 10px; font-weight: 900; }
.profile-tab-panel { display: none; }
.profile-tab-panel.active { display: block; animation: profilePanelIn .28s ease both; }
@keyframes profilePanelIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: none; }
}
.profile-email-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.verified-email-badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 7px; border-radius: 999px; background: rgba(67,181,129,.10); border: 1px solid rgba(67,181,129,.18); color: #70dca6; font-size: 10px; font-weight: 900; }
.referral-hero-card { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 20px; border-radius: 20px; background: linear-gradient(135deg,rgba(88,101,242,.15),rgba(134,92,246,.08)); border: 1px solid rgba(124,132,255,.18); }
.referral-hero-card h4 { margin: 6px 0 7px; font-size: 25px; letter-spacing: -.6px; }
.referral-hero-card p { margin: 0; color: #b9c0d1; line-height: 1.6; font-size: 13px; max-width: 650px; }
.referral-counter-big { flex: 0 0 auto; min-width: 110px; height: 110px; border-radius: 24px; display: grid; place-items: center; align-content: center; background: #171c27; border: 1px solid rgba(124,132,255,.20); box-shadow: 0 16px 28px rgba(0,0,0,.16); }
.referral-counter-big strong { font-size: 35px; line-height: 1; }
.referral-counter-big span { color: #9ca4b7; font-size: 12px; margin-top: 5px; }
.referral-share-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 12px; margin-top: 14px; }
.referral-code-card { min-height: 0; }
.referral-code-card > span { display: block; color: #969fb2; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .4px; margin-bottom: 9px; }
.referral-link-row { display: grid; grid-template-columns: 1fr auto; gap: 9px; }
.referral-link-row input { width: 100%; min-width: 0; padding: 11px 12px; border-radius: 12px; background: #10151d; border: 1px solid rgba(255,255,255,.07); color: #dfe3f2; outline: none; font-size: 12px; }
.referral-progress-card { margin-top: 14px; padding: 18px; border-radius: 20px; background: #151a23; border: 1px solid rgba(255,255,255,.07); }
.referral-progress-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 10px; }
.referral-progress-head > div { display: grid; gap: 3px; }
.referral-progress-head strong { font-size: 17px; }
.referral-progress-head span { color: #929bad; font-size: 12px; }
.referral-progress-head b { color: #cdd2ff; font-size: 17px; }
.referral-progress-track { height: 10px; border-radius: 999px; background: rgba(255,255,255,.055); overflow: hidden; }
.referral-progress-track span { display: block; height: 100%; width: 0%; border-radius: inherit; background: linear-gradient(90deg,#5865f2,#8d65ff,#49bfff); transition: .35s ease; box-shadow: 0 0 18px rgba(88,101,242,.32); }
.referral-milestones { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.referral-milestone { display: flex; align-items: center; gap: 11px; padding: 13px; border-radius: 16px; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.06); }
.referral-milestone.done { border-color: rgba(67,181,129,.22); background: rgba(67,181,129,.05); }
.milestone-dot { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 38px; background: rgba(88,101,242,.14); border: 1px solid rgba(124,132,255,.20); color: #cfd3ff; font-weight: 900; }
.referral-milestone.done .milestone-dot { background: #43b581; border-color: #43b581; color: #fff; }
.referral-milestone div { display: grid; gap: 3px; }
.referral-milestone strong { font-size: 13px; }
.referral-milestone small { color: #9199aa; font-size: 11px; line-height: 1.4; }
.referral-rules-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.referral-rules-mini span { padding: 10px 12px; border-radius: 13px; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.055); color: #aeb6c7; font-size: 11px; }
.referral-preview-controls { margin-top: 14px; padding: 13px; border-radius: 15px; background: rgba(240,178,50,.05); border: 1px dashed rgba(240,178,50,.18); flex-direction: column; gap: 7px; }
.referral-preview-controls strong { color: #ffd98f; }
.referral-preview-controls span { color: #9ea6b7; font-size: 11px; }
.referral-preview-controls > div { display: flex; gap: 8px; flex-wrap: wrap; }
.rewards-header-card { padding: 18px; border-radius: 19px; background: linear-gradient(135deg,rgba(134,92,246,.12),rgba(88,101,242,.07)); border: 1px solid rgba(124,132,255,.16); }
.rewards-header-card h4 { margin: 5px 0 6px; font-size: 24px; }
.rewards-header-card p { margin: 0; color: #aeb6c7; line-height: 1.55; font-size: 13px; }
.reward-cards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.reward-card { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: 20px; background: #151a23; border: 1px solid rgba(255,255,255,.07); }
.reward-card-premium { background: linear-gradient(155deg,rgba(134,92,246,.10),#151a23 55%); border-color: rgba(151,100,255,.18); }
.reward-icon { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; font-size: 24px; background: rgba(88,101,242,.12); border: 1px solid rgba(124,132,255,.18); }
.reward-threshold { display: inline-flex; margin-bottom: 5px; color: #9ea7ba; font-size: 11px; font-weight: 800; }
.reward-card h4 { margin: 0 0 5px; font-size: 20px; }
.reward-card p { margin: 0; color: #99a2b5; font-size: 12px; line-height: 1.5; }
.reward-card.unlocked { border-color: rgba(67,181,129,.24); box-shadow: 0 0 0 1px rgba(67,181,129,.05) inset; }
.reward-card.claimed { opacity: .74; }
.reward-history-card { margin-top: 14px; padding: 17px; border-radius: 19px; background: #151a23; border: 1px solid rgba(255,255,255,.07); }
.reward-requests-list { display: grid; gap: 8px; margin-top: 10px; }
.reward-request-row { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 11px 12px; border-radius: 13px; background: #11161e; border: 1px solid rgba(255,255,255,.055); }
.reward-request-row > span { display: grid; gap: 3px; }
.reward-request-row b { font-size: 13px; }
.reward-request-row small { color: #8f98ab; font-size: 10px; }
.reward-request-row strong { color: #f0d483; font-size: 11px; white-space: nowrap; }
.reward-claim-modal-box { width: min(520px,96vw); }
.reward-claim-summary { margin: 15px 0; padding: 16px; border-radius: 17px; background: linear-gradient(135deg,rgba(88,101,242,.12),rgba(255,255,255,.02)); border: 1px solid rgba(124,132,255,.17); display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; }
.reward-claim-summary span { color: #9ba3b6; font-size: 11px; text-transform: uppercase; font-weight: 800; }
.reward-claim-summary strong { font-size: 26px; }
.reward-claim-summary small { grid-column: 1/-1; color: #76d9a7; }
@media (max-width:760px) {
  .password-rules,.referral-rules-mini,.reward-cards-grid,.referral-milestones,.referral-share-grid { grid-template-columns: 1fr; }
  .referral-hero-card { align-items: flex-start; }
  .referral-counter-big { min-width: 86px; height: 86px; border-radius: 20px; }
  .profile-v41-tabs { overflow-x: auto; padding-left: 16px; padding-right: 16px; }
  .profile-tab { white-space: nowrap; }
  .referral-entry-row,.referral-link-row { grid-template-columns: 1fr; }
  .verify-resend-row { align-items: flex-start; flex-direction: column; }
}
.profile-v41-box { width: min(980px,96vw); }
.profile-modal-head { padding: 26px 28px 20px; }
.profile-identity { align-items: flex-start; }
.profile-identity h3 { margin: 10px 0 4px; }
.profile-v41-tabs { padding: 0 26px 14px; }
.profile-body { padding: 22px 26px 26px; }
@media (max-width: 760px) {
  .profile-modal-head { padding: 20px 18px 16px; }
  .profile-v41-tabs { padding: 0 18px 12px; }
  .profile-body { padding: 18px; }
}
.preview-qa-launcher,
.preview-qa-panel { display: none !important; }
.preview-mode .preview-qa-launcher { display: inline-flex !important; position: fixed; left: 18px; bottom: 18px; z-index: 9996; align-items: center; gap: 7px; padding: 11px 14px; border-radius: 14px; color: #eef0ff; background: rgba(17,20,30,.92); border: 1px solid rgba(124,132,255,.26); box-shadow: 0 16px 36px rgba(0,0,0,.34); backdrop-filter: blur(14px); font: 800 13px/1 inherit; cursor: pointer; }
.preview-mode .preview-qa-panel.open { display: grid !important; position: fixed; left: 18px; bottom: 72px; z-index: 9997; width: min(360px,calc(100vw - 36px)); padding: 15px; gap: 13px; border-radius: 20px; background: rgba(17,20,30,.97); border: 1px solid rgba(124,132,255,.22); box-shadow: 0 22px 60px rgba(0,0,0,.48); backdrop-filter: blur(18px); }
.preview-qa-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.preview-qa-head > div { display: grid; gap: 3px; }
.preview-qa-head strong { color: #fff; font-size: 15px; }
.preview-qa-head span { color: #8f97ab; font-size: 11px; }
.preview-qa-head button { width: 32px; height: 32px; border-radius: 10px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.04); color: #dce1f4; font-size: 20px; cursor: pointer; }
.preview-qa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.preview-qa-grid button { min-height: 42px; padding: 9px 10px; border-radius: 12px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.035); color: #e3e7f5; font: 800 12px/1.25 inherit; cursor: pointer; transition: .18s ease; }
.preview-qa-grid button:hover { background: rgba(88,101,242,.12); border-color: rgba(124,132,255,.25); }
.preview-qa-grid button.danger { color: #ff9b9f; border-color: rgba(237,66,69,.18); background: rgba(237,66,69,.06); }
@media (max-width:600px) {
  .preview-mode .preview-qa-launcher { left: 12px; bottom: 12px; }
  .preview-mode .preview-qa-panel.open { left: 12px; bottom: 64px; width: calc(100vw - 24px); }
}
.profile-stats.profile-stats-orders { grid-template-columns: repeat(4,minmax(0,1fr)); }
@media (max-width:820px) {
  .profile-stats.profile-stats-orders { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width:460px) {
  .profile-stats.profile-stats-orders { grid-template-columns: 1fr; }
}


/* v61 — referral reward application now behaves like a real fulfillment request */
.reward-activation-section{
  margin:14px 0;padding:15px;border-radius:17px;
  background:#121720;border:1px solid rgba(255,255,255,.06)
}
.reward-activation-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:11px}
.reward-activation-head>div{display:grid;gap:3px}
.reward-activation-head strong{font-size:13px}
.reward-activation-head span{color:#858fa3;font-size:10px}
.reward-activation-grid{margin-top:0!important}
.reward-credentials-panel{margin-top:11px!important}
.reward-request-side{display:flex;align-items:center;gap:8px;justify-content:flex-end;flex-wrap:wrap}
.reward-chat-btn{min-height:34px!important;padding:0 10px!important;font-size:10px!important}
@media(max-width:650px){
  .reward-request-row{align-items:flex-start;flex-direction:column}
  .reward-request-side{justify-content:flex-start}
}


/* =====================================================================
   v62 — rewards page rhythm and typography
   ===================================================================== */
.rewards-header-card{
  padding:16px 18px!important;
  border-radius:19px!important;
}
.rewards-header-card .profile-card-kicker{
  margin-bottom:7px!important;
  font-size:11px!important;
}
.rewards-header-card h4{
  margin:3px 0 5px!important;
  font-size:23px!important;
  line-height:1.2!important;
  letter-spacing:-.35px!important;
}
.rewards-header-card p{
  max-width:820px;
  font-size:12.3px!important;
  line-height:1.5!important;
}
.reward-cards-grid{
  gap:16px!important;
  margin-top:15px!important;
}
.reward-card{
  gap:11px!important;
  padding:18px 18px 17px!important;
  border-radius:20px!important;
}
.reward-icon{
  width:46px!important;
  height:46px!important;
  border-radius:14px!important;
  font-size:22px!important;
}
.reward-threshold{
  margin-bottom:4px!important;
  font-size:11px!important;
}
.reward-card h4{
  margin:0 0 5px!important;
  font-size:21px!important;
  line-height:1.2!important;
  letter-spacing:-.3px!important;
}
.reward-card p{
  min-height:38px;
  font-size:12.3px!important;
  line-height:1.55!important;
}
.reward-card>.btn{
  min-height:45px!important;
  margin-top:auto!important;
  font-size:13px!important;
}
.reward-history-card{
  margin-top:15px!important;
  padding:18px!important;
  border-radius:19px!important;
}
.reward-history-card .profile-card-kicker{
  font-size:11px!important;
  margin-bottom:10px!important;
}
.reward-requests-list{
  gap:9px!important;
  margin-top:0!important;
}
.reward-request-row{
  min-height:70px!important;
  padding:12px 13px!important;
  gap:14px!important;
  border-radius:14px!important;
}
.reward-request-row>span{
  gap:4px!important;
  min-width:0;
}
.reward-request-row b{
  font-size:13.5px!important;
  line-height:1.3!important;
}
.reward-request-row small{
  font-size:10px!important;
  line-height:1.35!important;
}
.reward-request-side{
  gap:9px!important;
}
.reward-request-row strong{
  min-height:32px;
  display:inline-flex;
  align-items:center;
  padding:0 9px;
  border-radius:999px;
  background:rgba(244,198,96,.075);
  border:1px solid rgba(244,198,96,.10);
  font-size:10.5px!important;
}
.reward-chat-btn{
  min-height:36px!important;
  padding:0 11px!important;
  border-radius:10px!important;
  font-size:10.5px!important;
}

/* Modal footer buttons should visually match the profile controls. */
.profile-v41-box>.profile-actions,
.profile-body+.profile-actions{
  gap:9px!important;
}




/* assets/css/profile-orders-reviews.css */
.profile-modal-head { display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 20px !important; padding: 22px 26px !important; }
.profile-identity { display: flex !important; align-items: center !important; gap: 16px !important; min-width: 0; }
.profile-identity-copy { display: grid; grid-template-columns: minmax(0,1fr); align-content: center; gap: 5px; min-width: 0; }
.profile-cabinet-pill { width: max-content; margin: 0 0 2px !important; }
.profile-identity h3 { margin: 0 !important; font-size: 27px !important; line-height: 1.15 !important; }
.profile-email-line { display: flex !important; align-items: center !important; flex-wrap: wrap; gap: 8px !important; min-height: 24px; }
.profile-email-line .muted { display: inline-flex; align-items: center; min-height: 24px; line-height: 1.2; }
.verified-email-badge { min-height: 24px; padding: 4px 8px !important; line-height: 1 !important; }
.profile-v41-tabs { display: flex !important; align-items: center !important; min-height: 58px; padding: 8px 26px !important; gap: 8px !important; }
.profile-tab { min-height: 40px; display: inline-flex !important; align-items: center !important; justify-content: center !important; padding: 9px 14px !important; line-height: 1 !important; }
.profile-tab-badge { top: 1px !important; right: 1px !important; }
.profile-referral-overview-card { display: flex; flex-direction: column; justify-content: center; }
.profile-referral-overview-card p { margin-top: 7px !important; }
.profile-referral-overview-card .btn { margin-top: 15px; }
.profile-orders-scroll { max-height: 360px; overflow-y: auto; padding-right: 5px; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #6974ff rgba(255,255,255,.04); }
.profile-orders-scroll::-webkit-scrollbar { width: 8px; }
.profile-orders-scroll::-webkit-scrollbar-track { border-radius: 999px; background: rgba(255,255,255,.035); }
.profile-orders-scroll::-webkit-scrollbar-thumb { border-radius: 999px; background: linear-gradient(180deg,#5865f2,#8d68ff); }
.profile-order-time { display: flex; flex-wrap: wrap; gap: 7px 10px; color: #7f899f; font-size: 11.5px; line-height: 1.4; }
.profile-order-time span { display: inline-flex; align-items: center; gap: 5px; }
.profile-order-status.status-refund { color: #ff9b9f; background: rgba(237,66,69,.11); border-color: rgba(237,66,69,.22); }
.profile-order-review-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.profile-order-review-stars { color: #ffd66b; letter-spacing: 1px; font-size: 12px; }
.profile-order-review-btn { min-width: 132px; }
.seller-order-panel { margin-top: 18px; padding: 14px; border-radius: 16px; background: linear-gradient(160deg,rgba(88,101,242,.10),rgba(255,255,255,.025)); border: 1px dashed rgba(124,132,255,.22); flex-direction: column; gap: 9px; }
.preview-mode .seller-order-panel { display: flex !important; }
.seller-order-label { color: #9ca6ff; font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .55px; }
.seller-order-panel strong { font-size: 13px; }
.seller-order-panel small { color: #8e97aa; font-size: 10.5px; line-height: 1.45; }
.seller-order-select { width: 100%; min-height: 42px; padding: 0 11px; border-radius: 12px; outline: none; color: #e8ebff; background: #111620; border: 1px solid rgba(255,255,255,.08); font: inherit; }
.review-modal-box { width: min(580px,96vw); padding: 0; overflow: hidden; }
.review-form-body { padding: 20px 22px 22px; }
.review-rating-title { color: #dce1f3; font-size: 13px; font-weight: 900; margin-bottom: 9px; }
.review-star-picker { display: flex; gap: 8px; margin-bottom: 18px; }
.review-star-picker button { appearance: none; border: 0; background: transparent; padding: 0; color: #465065; font-size: 34px; line-height: 1; cursor: pointer; transition: transform .16s ease,color .16s ease,filter .16s ease; }
.review-star-picker button:hover { transform: translateY(-2px) scale(1.05); }
.review-star-picker button.active { color: #ffd66b; filter: drop-shadow(0 4px 10px rgba(255,214,107,.15)); }
.review-form-body textarea { width: 100%; min-height: 120px; resize: vertical; padding: 13px 14px; border-radius: 14px; color: #eef1ff; background: #111620; border: 1px solid rgba(255,255,255,.08); outline: none; font: inherit; line-height: 1.5; }
.review-form-body textarea:focus { border-color: #6974ff; box-shadow: 0 0 0 4px rgba(88,101,242,.09); }
.review-form-note { margin-top: 11px; padding: 11px 12px; border-radius: 13px; color: #9da6bb; background: rgba(88,101,242,.05); border: 1px solid rgba(124,132,255,.10); font-size: 11.5px; line-height: 1.5; }
.review-order-number { color: #8f98ad; font-size: 11px; font-weight: 700; }
.review-product-name { display: block; margin-top: 3px; color: #bac2dc; font-size: 12px; }
.review-user-name { font-weight: 900; color: #fff; }
.review-card .review { background: linear-gradient(180deg,#181d27,#141820); border: 1px solid rgba(255,255,255,.07); border-radius: 20px; }
@media (max-width:760px) {
  .profile-modal-head { align-items: flex-start !important; padding: 18px !important; }
  .profile-avatar { width: 58px !important; height: 58px !important; border-radius: 18px !important; }
  .profile-identity h3 { font-size: 23px !important; }
  .profile-v41-tabs { min-height: 54px; padding: 7px 16px !important; }
  .profile-order-review-actions { justify-content: flex-start; }
}


/* v58 — final profile header alignment */
.profile-modal-head{min-height:128px;padding:24px 28px!important;align-items:center!important;background:linear-gradient(180deg,#202634,#1b202a)!important}
.profile-identity{display:grid!important;grid-template-columns:68px minmax(0,1fr);align-items:center!important;gap:18px!important;width:min(100%,720px)}
.profile-avatar{width:68px!important;height:68px!important;border-radius:20px!important;display:grid!important;place-items:center!important;font-size:28px!important;line-height:1!important;box-shadow:0 12px 30px rgba(88,101,242,.16)}
.profile-identity-copy{display:flex!important;flex-direction:column!important;justify-content:center!important;gap:5px!important;min-height:68px}
.profile-identity-topline{display:flex;align-items:center;gap:9px;min-height:22px}
.profile-cabinet-label{display:inline-flex;align-items:center;min-height:22px;padding:4px 9px;border-radius:999px;background:rgba(88,101,242,.13);border:1px solid rgba(119,128,255,.14);color:#c4c9ff;font-size:10px;font-weight:900;line-height:1}
.profile-account-state{display:inline-flex;align-items:center;gap:5px;color:#768196;font-size:10px;font-weight:750}
.profile-account-state i{width:6px;height:6px;border-radius:50%;background:#43d18d;box-shadow:0 0 0 3px rgba(67,209,141,.08)}
.profile-identity h3{margin:1px 0 0!important;font-size:26px!important;line-height:1.1!important;letter-spacing:-.45px}
.profile-email-line{display:flex!important;align-items:center!important;gap:9px!important;min-height:22px!important}
.profile-email-line .muted{min-height:0!important;line-height:1.2!important;color:#a5adbc!important;font-size:13px}
.verified-email-badge{display:inline-flex!important;align-items:center!important;min-height:22px!important;padding:4px 8px!important;border-radius:999px!important;line-height:1!important;font-size:9.5px!important;white-space:nowrap}
.profile-v41-tabs{min-height:60px!important;padding:8px 28px!important;align-items:center!important;gap:8px!important}
.profile-tab{height:42px!important;min-height:42px!important;padding:0 16px!important;align-items:center!important;line-height:1!important}
.profile-referral-overview-card{justify-content:center!important;align-items:flex-start}
.profile-referral-overview-card>p{max-width:540px;margin:8px 0 0!important}

/* v58 — chat presence and message delivery/read state */
.chat-modal-box{width:min(1000px,96vw)!important}
.chat-header{align-items:center!important;padding:19px 22px!important}
.chat-header-main{min-width:0}
.chat-header-kicker-row{display:flex;align-items:center;gap:9px;margin-bottom:7px}
.chat-header h3{margin:0!important;font-size:25px!important;line-height:1.15!important}
.chat-live-state{display:inline-flex;align-items:center;gap:6px;color:#7f899c;font-size:10px;font-weight:800}
.chat-live-state i{width:7px;height:7px;border-radius:50%;background:#43d18d;box-shadow:0 0 10px rgba(67,209,141,.3)}
.staff-assignment-pill{display:none}
.chat-modal-box.staff-view .staff-assignment-pill{display:inline-flex}
.chat-layout{grid-template-columns:250px minmax(0,1fr)!important}
.message{position:relative;padding-bottom:10px!important}
.message-text{display:block}
.message-meta{display:flex;align-items:center;justify-content:flex-end;gap:7px;margin-top:6px;color:#798397;font-size:9.5px;line-height:1}
.message.store .message-meta{justify-content:flex-start}
.message-state{display:inline-flex;align-items:center;gap:2px;font-weight:750}
.message-state.sent{color:#8d96aa}.message-state.delivered{color:#8f9bb7}.message-state.read{color:#8697ff}
.message.user .message-meta{color:#929cdc}
.message.system-message{max-width:82%}
.chat-modal-box.staff-view .chat-compose input::placeholder{color:transparent}
.chat-modal-box.staff-view .chat-compose:before{content:'Сообщение покупателю';position:absolute;margin:13px;color:#737d90;pointer-events:none;font-size:13px}
.chat-modal-box.staff-view .chat-compose:focus-within:before{display:none}
.chat-compose{position:relative}

/* employee-only order panel */
.seller-order-panel{gap:11px!important;border-style:solid!important;background:linear-gradient(160deg,rgba(88,101,242,.09),rgba(18,23,34,.75))!important}
.seller-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
.seller-panel-head>div{display:grid;gap:3px}.seller-panel-head strong{font-size:13px}
.seller-operator-badge{display:inline-flex;padding:5px 7px;border-radius:999px;background:rgba(67,209,141,.08);border:1px solid rgba(67,209,141,.13);color:#78dca8;font-size:9px;font-weight:900;white-space:nowrap}
.client-presence-card{display:flex;align-items:center;gap:9px;padding:10px;border-radius:13px;background:rgba(255,255,255,.028);border:1px solid rgba(255,255,255,.055)}
.client-presence-avatar{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:linear-gradient(135deg,#5865f2,#8c67ff);color:#fff;font-weight:900}
.client-presence-card>div{min-width:0;display:grid;gap:3px}.client-presence-card strong{font-size:11px}.client-presence-card span{display:flex;align-items:center;gap:5px;color:#7d879a;font-size:9px}.client-presence-card span i{width:6px;height:6px;border-radius:50%;background:#43d18d}.client-presence-card span b{color:#67d99d;font-weight:850}
.seller-assignment-row{display:flex;justify-content:space-between;gap:8px;color:#7e8799;font-size:9.5px}.seller-assignment-row strong{color:#d8dced;font-size:9.5px}

/* staff queue */
.employee-orders-modal-box{width:min(900px,96vw);padding:0;overflow:hidden}
.employee-modal-head{align-items:flex-start!important}.employee-modal-head h3{margin:3px 0 5px;font-size:25px}.employee-modal-head p{margin:0;color:#8d96a8;font-size:11px}
.employee-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:16px 20px;border-bottom:1px solid rgba(255,255,255,.06);background:#151a23}
.employee-summary>div{min-height:68px;padding:11px 12px;border-radius:14px;background:#11161f;border:1px solid rgba(255,255,255,.055);display:grid;align-content:center;gap:2px}.employee-summary strong{font-size:20px}.employee-summary span{color:#7b8599;font-size:9px}.employee-online i{width:8px;height:8px;border-radius:50%;background:#43d18d;display:block;margin-bottom:3px}.employee-online strong{font-size:11px}.employee-online span{color:#62d89a}
.employee-queue-toolbar{display:flex;gap:7px;padding:14px 20px 9px;background:#151a23}.employee-filter{min-height:34px;padding:0 11px;border:1px solid rgba(255,255,255,.07);border-radius:10px;background:#11161f;color:#858fa3;font-weight:800;font-size:10px;cursor:pointer}.employee-filter.active{background:rgba(88,101,242,.13);border-color:rgba(88,101,242,.24);color:#d8dcff}
.employee-orders-list{max-height:510px;overflow:auto;padding:10px 20px 20px;background:#151a23;display:grid;gap:9px;scrollbar-width:thin;scrollbar-color:#6773ff rgba(255,255,255,.03)}
.employee-order-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;padding:14px;border-radius:16px;background:#11161f;border:1px solid rgba(255,255,255,.06)}
.employee-order-main{display:grid;gap:5px;min-width:0}.employee-order-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.employee-order-title b{font-size:13px}.employee-order-number{color:#8f9aff;font-size:10px;font-weight:900}.employee-order-meta{display:flex;gap:7px 12px;flex-wrap:wrap;color:#7b8599;font-size:9.5px}.employee-order-assignee{color:#a7afc2}.employee-order-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end}.employee-order-actions .btn{min-height:36px;padding:0 11px;font-size:10px}.employee-status{display:inline-flex;padding:6px 8px;border-radius:999px;background:rgba(255,255,255,.04);color:#9ba5ba;font-size:9px;font-weight:850}.employee-status.mine{background:rgba(88,101,242,.11);color:#adb5ff}.employee-status.done{background:rgba(67,209,141,.09);color:#75dca7}.employee-empty{padding:30px;text-align:center;color:#7c8699}

/* completion prompt */
.completed-order-modal-box{width:min(520px,94vw);padding:30px 30px 26px;text-align:center;position:relative;overflow:hidden;background:radial-gradient(circle at 50% 0,rgba(67,209,141,.08),transparent 35%),linear-gradient(180deg,#1c222d,#171c25)}
.completed-close{position:absolute;right:16px;top:14px}.completed-order-icon{width:64px;height:64px;margin:0 auto 13px;border-radius:20px;display:grid;place-items:center;background:linear-gradient(135deg,rgba(67,209,141,.20),rgba(88,101,242,.13));border:1px solid rgba(67,209,141,.18);color:#77e0ab;font-size:30px;font-weight:900}.completed-order-kicker{display:block;color:#65d99d;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.65px}.completed-order-modal-box h3{margin:6px 0 7px;font-size:27px}.completed-order-modal-box>p{margin:0 auto;max-width:430px;color:#99a2b5;line-height:1.55;font-size:12px}.completed-product-card{margin:18px 0 12px;padding:13px 14px;border-radius:15px;display:flex;justify-content:space-between;align-items:center;gap:12px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.06);text-align:left}.completed-product-card span{font-weight:900}.completed-product-card b{color:#7e899e;font-size:10px}.completed-review-preview{display:flex;justify-content:center;gap:5px;margin:13px 0 17px;color:#ffd66b;font-size:28px;letter-spacing:1px}.completed-actions{justify-content:center!important}.completed-order-modal-box>small{display:block;margin-top:13px;color:#737d90;font-size:9.5px;line-height:1.4}

@media(max-width:760px){
  .profile-modal-head{min-height:0!important;padding:18px!important}.profile-identity{grid-template-columns:58px minmax(0,1fr);gap:13px!important}.profile-identity-copy{min-height:58px}.profile-identity-topline{flex-wrap:wrap}.profile-account-state{display:none}.profile-email-line{align-items:flex-start!important;flex-direction:column;gap:4px!important}.verified-email-badge{width:max-content}.profile-v41-tabs{padding:7px 16px!important;overflow-x:auto}
  .chat-layout{grid-template-columns:1fr!important}.chat-modal-box{width:min(96vw,760px)!important}.chat-header{align-items:flex-start!important}.chat-header-kicker-row{flex-wrap:wrap}.chat-sidebar{max-height:330px;overflow:auto}.employee-summary{grid-template-columns:repeat(2,1fr)}.employee-order-card{grid-template-columns:1fr}.employee-order-actions{justify-content:flex-start}.completed-product-card{align-items:flex-start;flex-direction:column}
}


/* v59 — final chat/order/review UX */

/* review modal: one consistent visual axis */
.review-modal-box{
  width:min(620px,94vw)!important;
  padding:0!important;
  overflow:hidden!important;
  border-radius:24px!important;
}
.review-modal-head{
  position:relative;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
  padding:26px 28px 22px;
  border-bottom:1px solid rgba(255,255,255,.065);
  background:linear-gradient(180deg,rgba(88,101,242,.045),rgba(255,255,255,0));
}
.review-head-copy{min-width:0;display:grid;gap:7px}
.review-head-copy .pill{width:max-content;margin:0}
.review-head-copy h3{margin:1px 0 0!important;font-size:28px!important;line-height:1.1!important;letter-spacing:-.55px}
.review-head-copy p{margin:0;color:#8f98aa;font-size:11.5px;line-height:1.45}
.review-close{position:static!important;flex:0 0 auto;margin:0!important}
.review-form-body{padding:22px 28px 26px!important}
.review-order-summary{
  display:flex;align-items:center;gap:11px;
  padding:12px 13px;border-radius:15px;
  background:rgba(67,209,141,.045);
  border:1px solid rgba(67,209,141,.10);
  margin-bottom:14px
}
.review-order-check{
  width:29px;height:29px;display:grid;place-items:center;flex:0 0 29px;
  border-radius:10px;background:rgba(67,209,141,.11);color:#76dda9;font-weight:950
}
.review-order-summary>div{display:grid;gap:3px;min-width:0}
.review-order-summary small{color:#6fd69f;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.55px}
.review-order-summary strong{color:#e8ebf7;font-size:12px;white-space:normal}
.review-rating-card{
  display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;
  padding:14px 15px;border-radius:16px;background:#151a23;border:1px solid rgba(255,255,255,.06);
  margin-bottom:16px
}
.review-rating-card>div:first-child{display:grid;gap:3px}
.review-rating-title{margin:0!important;color:#dfe3ef;font-size:12px!important;font-weight:900}
.review-rating-card small{color:#798397;font-size:9.5px}
.review-star-picker{margin:0!important;gap:5px!important}
.review-star-picker button{
  width:38px;height:38px!important;display:grid;place-items:center;
  border-radius:11px!important;background:#10151e!important;
  border:1px solid rgba(255,255,255,.055)!important;
  color:#465065!important;font-size:25px!important;
}
.review-star-picker button:hover{background:#171e2a!important;border-color:rgba(105,116,255,.24)!important}
.review-star-picker button.active{color:#ffd66b!important;background:rgba(255,214,107,.055)!important;border-color:rgba(255,214,107,.15)!important}
.review-comment-field{display:grid!important;gap:8px!important}
.review-comment-field>span{font-size:12px;font-weight:850;color:#dfe3ef}
.review-form-body textarea{min-height:112px!important;border-radius:15px!important}
.review-form-note{
  display:grid!important;grid-template-columns:23px minmax(0,1fr);gap:9px;align-items:start;
  margin-top:12px!important;padding:11px 12px!important
}
.review-form-note>span{
  width:23px;height:23px;display:grid;place-items:center;border-radius:8px;
  background:rgba(88,101,242,.10);color:#aab1ff;font-size:10px;font-weight:950
}
.review-form-note p{margin:1px 0 0;line-height:1.48}
.review-actions{
  margin-top:18px!important;padding:0!important;border:0!important;
  justify-content:flex-end!important;gap:9px!important
}
.review-actions .btn{min-height:44px;padding:0 18px}

/* chat closure */
.chat-closed-banner{
  width:100%;display:flex;align-items:center;gap:10px;padding:10px 12px;
  border-radius:13px;background:rgba(67,209,141,.045);border:1px solid rgba(67,209,141,.10)
}
.chat-closed-banner>span{
  width:28px;height:28px;display:grid;place-items:center;border-radius:9px;
  background:rgba(67,209,141,.11);color:#72dda5;font-weight:950
}
.chat-closed-banner>div{display:grid;gap:2px}
.chat-closed-banner strong{font-size:11px;color:#dfe8e3}
.chat-closed-banner small{font-size:9px;color:#7f8a95}
.chat-compose.is-closed{display:block!important}
.chat-compose.is-closed input,.chat-compose.is-closed>button{display:none!important}
.chat-modal-box.chat-closed .chat-live-state{color:#8e97a8}
.chat-modal-box.chat-closed .chat-live-state i{background:#758096;box-shadow:none}
.chat-review-message{
  max-width:92%!important;
  border-color:rgba(255,214,107,.12)!important;
  background:linear-gradient(145deg,rgba(255,214,107,.045),rgba(88,101,242,.04))!important
}
.chat-review-stars{display:block;margin:5px 0 4px;color:#ffd66b;font-size:17px;letter-spacing:1px}
.chat-review-comment{display:block;color:#c3c9d6;line-height:1.5}

/* employee status selector */
.seller-status-field{display:grid;gap:6px}
.seller-status-field>span{color:#8993a8;font-size:9.5px;font-weight:850}
.seller-order-select{margin:0!important}

/* employee summary + referral applications */
.employee-summary{grid-template-columns:repeat(5,1fr)!important}
.employee-filter span{
  display:inline-grid;place-items:center;min-width:18px;height:18px;margin-left:4px;padding:0 5px;
  border-radius:999px;background:rgba(155,98,255,.11);color:#c5adff;font-size:8px
}
.employee-reward-card{
  display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;
  padding:15px;border-radius:16px;background:linear-gradient(145deg,#121722,#10151e);
  border:1px solid rgba(155,98,255,.12)
}
.employee-reward-main{display:grid;gap:5px;min-width:0}
.employee-reward-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.employee-reward-title b{font-size:13px}
.employee-reward-id{color:#b79bff;font-size:10px;font-weight:900}
.employee-reward-meta{display:flex;gap:8px 12px;flex-wrap:wrap;color:#7d8799;font-size:9.5px}
.employee-reward-actions{display:flex;gap:7px;align-items:center;justify-content:flex-end;flex-wrap:wrap}
.reward-status-chip{
  display:inline-flex;padding:6px 8px;border-radius:999px;
  color:#c2a9ff;background:rgba(155,98,255,.09);font-size:9px;font-weight:850
}
.reward-status-chip.processing{color:#9cb3ff;background:rgba(88,101,242,.10)}
.reward-status-chip.done{color:#72dca5;background:rgba(67,209,141,.09)}

@media(max-width:760px){
  .review-modal-head{padding:22px 20px 18px}.review-form-body{padding:18px 20px 22px!important}
  .review-rating-card{grid-template-columns:1fr;gap:10px}.review-star-picker{justify-content:flex-start}
  .review-star-picker button{width:36px;height:36px!important}
  .review-actions{display:grid!important;grid-template-columns:1fr 1fr}.review-actions .btn{width:100%}
  .employee-summary{grid-template-columns:repeat(2,1fr)!important}
  .employee-reward-card{grid-template-columns:1fr}.employee-reward-actions{justify-content:flex-start}
}


/* v60 — final alignment pass */

/* The order number is already the chat title, so meta only contains useful data. */
.chat-order-meta{margin-top:8px!important}

/* A closed chat has one clear status block at the bottom, not two duplicated labels. */
.chat-live-state[hidden]{display:none!important}
.chat-modal-box.chat-closed .chat-layout{
  min-height:0!important;
  background:#171b22;
}
.chat-modal-box.chat-closed .chat-main{
  align-self:start;
  height:auto!important;
  min-height:0!important;
  background:#171b22;
}
.chat-modal-box.chat-closed .chat-log{
  flex:0 1 auto!important;
  min-height:0!important;
  max-height:365px!important;
  padding-bottom:14px!important;
}
.chat-modal-box.chat-closed .chat-compose{
  margin:0!important;
  padding:12px 16px!important;
  border-top:1px solid rgba(255,255,255,.055)!important;
  background:#151920!important;
}
.chat-modal-box.chat-closed .chat-closed-banner{
  margin:0!important;
}

/* Terminal orders are immutable for staff. */
.seller-order-select:disabled{
  opacity:.64;
  cursor:not-allowed;
  color:#8b94a7;
  background:#10141b;
}
#sellerSaveOrderStatus:disabled{
  cursor:not-allowed;
  opacity:.64;
  box-shadow:none!important;
  background:#262c38!important;
  color:#a8afbf!important;
}

/* Consistent vertical rhythm for every card in Profile → Overview. */
.profile-grid-overview{
  align-items:stretch!important;
}
.profile-grid-overview>.profile-card{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  justify-content:flex-start!important;
  padding:19px 20px!important;
}
.profile-grid-overview>.profile-card .profile-card-kicker{
  min-height:18px;
  margin:0 0 9px!important;
  line-height:18px!important;
}
.profile-grid-overview>.profile-card h4{
  min-height:25px;
  margin:0!important;
  line-height:1.25!important;
}
.profile-grid-overview>.profile-card>p{
  min-height:42px;
  margin:10px 0 0!important;
  line-height:1.55!important;
}
.profile-grid-overview>.profile-card .profile-orders-advanced{
  margin-top:14px!important;
}
.profile-grid-overview>.profile-card>.btn,
.profile-grid-overview>.profile-card>.profile-quick-pills{
  margin-top:auto!important;
  padding-top:14px;
}

/* Order rows start on the same baseline even when one order has more timestamps. */
.profile-order-advanced{
  align-items:start!important;
  min-height:148px;
}
.profile-order-main{
  align-self:start!important;
}
.profile-order-side{
  align-self:stretch!important;
  grid-template-rows:auto auto 1fr;
  align-content:start;
}
.profile-order-side>.profile-order-chat-btn,
.profile-order-side>.profile-order-review-btn,
.profile-order-side>.profile-order-review-actions{
  align-self:end;
}

/* Bottom pair: referral CTA and quick status pills land on the same visual level. */
.profile-referral-overview-card{
  justify-content:flex-start!important;
}
.profile-quick-pills{
  min-height:49px;
  align-items:center;
}

/* Small screens should return to content-driven heights. */
@media(max-width:900px){
  .profile-grid-overview>.profile-card>p{min-height:0}
  .profile-order-advanced{min-height:0}
  .profile-grid-overview>.profile-card>.btn,
  .profile-grid-overview>.profile-card>.profile-quick-pills{margin-top:16px!important;padding-top:0}
}


/* v61 — profile order cards rebuilt to prevent squeezed titles and misaligned content */
.profile-order-advanced{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:13px!important;
  min-height:0!important;
  padding:15px 16px!important;
  align-content:start!important;
}
.profile-order-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  min-width:0;
}
.profile-order-main{
  min-width:0!important;
  display:grid!important;
  gap:5px!important;
}
.profile-order-main b{
  display:block;
  font-size:16px!important;
  line-height:1.28!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:break-word!important;
}
.profile-order-meta{
  font-size:11px!important;
  line-height:1.4!important;
  color:#8791a6!important;
  white-space:normal!important;
}
.profile-order-price{
  flex:0 0 auto;
  font-size:16px!important;
  line-height:1.2!important;
  padding-top:1px;
}
.profile-order-footer{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px 16px;
  flex-wrap:wrap;
  min-width:0;
}
.profile-order-time{
  flex:1 1 165px!important;
  display:grid!important;
  gap:4px!important;
  color:#778195!important;
  font-size:9.5px!important;
  line-height:1.35!important;
}
.profile-order-time span{
  display:flex!important;
  align-items:center!important;
  gap:5px!important;
}
.profile-order-actions{
  flex:0 1 auto;
  margin-left:auto;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  flex-wrap:wrap;
}
.profile-order-review-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:7px!important;
  flex-wrap:wrap!important;
}
.profile-order-status{
  min-height:31px;
  display:inline-flex!important;
  align-items:center!important;
  padding:0 10px!important;
  white-space:nowrap;
}
.profile-order-actions .btn,
.profile-order-review-actions .btn{
  min-height:39px!important;
  padding:0 12px!important;
  font-size:10.5px!important;
  white-space:nowrap;
}
.profile-grid-overview>.profile-card .profile-orders-advanced{
  margin-top:15px!important;
}
.profile-orders-scroll{padding-right:4px!important}

/* Sensitive login data is visually distinct from ordinary chat text. */
.chat-credentials-message{
  max-width:min(500px,92%)!important;
  display:grid!important;
  gap:8px!important;
  border-color:rgba(244,198,96,.15)!important;
  background:linear-gradient(145deg,rgba(244,198,96,.05),rgba(88,101,242,.045))!important;
}
.chat-credentials-message .message-author{color:#e9c872!important}
.credential-row{
  display:grid;
  grid-template-columns:70px minmax(0,1fr);
  gap:10px;
  align-items:center;
  padding:8px 10px;
  border-radius:10px;
  background:rgba(10,14,21,.42);
  border:1px solid rgba(255,255,255,.05)
}
.credential-row small{color:#7f899b;font-size:9px;text-transform:uppercase;font-weight:850}
.credential-row b{color:#f0f2fa;font-size:11px;word-break:break-all}

/* Reward requests in employee queue have same action rhythm as orders. */
.employee-reward-card{min-height:76px}
.employee-reward-actions .btn{min-height:36px!important;padding:0 11px!important;font-size:10px!important}

@media(max-width:700px){
  .profile-order-head{gap:10px}
  .profile-order-footer{align-items:flex-start;flex-direction:column}
  .profile-order-actions{margin-left:0;justify-content:flex-start}
}


/* =====================================================================
   v62 — UI polish pass based on profile / rewards / chat visual review
   ===================================================================== */

/* ---------- Profile shell ---------- */
.profile-v41-box{
  width:min(1040px,96vw)!important;
  border-radius:24px!important;
}
.profile-modal-head{
  min-height:132px!important;
  padding:25px 30px!important;
}
.profile-identity{
  grid-template-columns:72px minmax(0,1fr)!important;
  gap:19px!important;
}
.profile-avatar{
  width:72px!important;
  height:72px!important;
  border-radius:21px!important;
  font-size:29px!important;
}
.profile-identity-copy{
  min-height:72px!important;
  gap:6px!important;
}
.profile-identity-topline{
  min-height:23px!important;
  gap:10px!important;
}
.profile-cabinet-label{
  min-height:23px!important;
  padding:4px 10px!important;
  font-size:10.5px!important;
}
.profile-account-state{
  font-size:10.5px!important;
}
.profile-identity h3{
  font-size:28px!important;
  line-height:1.08!important;
  letter-spacing:-.55px!important;
}
.profile-email-line{
  min-height:23px!important;
  gap:10px!important;
}
.profile-email-line .muted{
  font-size:13.5px!important;
}
.verified-email-badge{
  min-height:23px!important;
  padding:4px 9px!important;
  font-size:9.8px!important;
}
.profile-v41-tabs{
  min-height:62px!important;
  padding:9px 30px!important;
  gap:9px!important;
}
.profile-tab{
  height:43px!important;
  min-height:43px!important;
  padding:0 17px!important;
  border-radius:12px!important;
  font-size:14px!important;
}
.profile-tab-badge{
  top:-3px!important;
  right:-3px!important;
}
.profile-body{
  padding:23px 28px 28px!important;
}

/* ---------- KPI row ---------- */
.profile-stats.profile-stats-orders{
  gap:14px!important;
  margin-bottom:18px!important;
}
.profile-stats-orders .profile-stat{
  min-height:88px!important;
  padding:17px 18px!important;
  align-content:center!important;
  gap:5px!important;
  border-radius:18px!important;
}
.profile-stats-orders .profile-stat strong{
  font-size:30px!important;
  line-height:1!important;
  letter-spacing:-.55px!important;
}
.profile-stats-orders .profile-stat span{
  font-size:12px!important;
  line-height:1.25!important;
  font-weight:800!important;
  color:#98a1b4!important;
}

/* ---------- Overview two-column grid ---------- */
.profile-grid-overview{
  gap:18px!important;
}
.profile-grid-overview>.profile-card{
  padding:20px!important;
  border-radius:20px!important;
}
.profile-grid-overview>.profile-card .profile-card-kicker{
  min-height:19px!important;
  margin:0 0 10px!important;
  font-size:11.5px!important;
  line-height:19px!important;
  letter-spacing:.38px!important;
}
.profile-grid-overview>.profile-card h4{
  min-height:27px!important;
  font-size:20px!important;
  line-height:1.25!important;
  letter-spacing:-.25px!important;
}
.profile-grid-overview>.profile-card>p{
  min-height:45px!important;
  margin:9px 0 0!important;
  font-size:12.8px!important;
  line-height:1.58!important;
  color:#a4adbd!important;
}
.profile-grid-overview>.profile-card:nth-child(n+3){
  min-height:214px!important;
}

/* ---------- Order card alignment ---------- */
.profile-order-advanced{
  padding:16px 17px!important;
  gap:14px!important;
  border-radius:17px!important;
}
.profile-order-head{
  gap:20px!important;
}
.profile-order-main{
  gap:6px!important;
}
.profile-order-main b{
  font-size:17px!important;
  line-height:1.25!important;
  letter-spacing:-.2px!important;
}
.profile-order-meta{
  font-size:11.3px!important;
  line-height:1.45!important;
}
.profile-order-price{
  font-size:18px!important;
  line-height:1!important;
  padding-top:2px!important;
}
.profile-order-footer{
  min-height:48px;
  gap:14px 18px!important;
}
.profile-order-time{
  gap:5px!important;
  font-size:10px!important;
  line-height:1.4!important;
}
.profile-order-actions{
  gap:8px!important;
}
.profile-order-status{
  min-height:34px!important;
  padding:0 11px!important;
  font-size:10.5px!important;
}
.profile-order-actions .btn,
.profile-order-review-actions .btn{
  min-height:40px!important;
  padding:0 13px!important;
  border-radius:11px!important;
  font-size:10.5px!important;
}
.profile-order-review-btn{
  min-width:0!important;
}

/* ---------- Referral + quick navigation cards ---------- */
.profile-referral-overview-card{
  justify-content:flex-start!important;
}
.profile-referral-overview-card>.btn{
  min-height:45px!important;
  font-size:13px!important;
}
.profile-quick-pills{
  min-height:45px!important;
  margin-top:auto!important;
  padding-top:15px!important;
  gap:9px!important;
}
.profile-quick-pills span{
  min-height:36px!important;
  padding:0 12px!important;
  display:inline-flex!important;
  align-items:center!important;
  font-size:10.5px!important;
}

/* ---------- Chat: cleaner hierarchy and consistent spacing ---------- */
.chat-modal-box{
  width:min(1020px,96vw)!important;
  border-radius:24px!important;
}
.chat-header{
  padding:20px 24px!important;
}
.chat-header-kicker-row{
  margin-bottom:9px!important;
  gap:10px!important;
}
.chat-header h3{
  font-size:26px!important;
  letter-spacing:-.45px!important;
}
.chat-order-meta{
  gap:8px!important;
  margin-top:9px!important;
}
.chat-meta-pill{
  padding:6px 10px!important;
  font-size:11px!important;
}
.chat-layout{
  grid-template-columns:244px minmax(0,1fr)!important;
  min-height:500px!important;
}
.chat-sidebar{
  padding:19px 18px!important;
}
.chat-status-title{
  margin-bottom:14px!important;
  font-size:11px!important;
}
.chat-status-list{
  gap:14px!important;
}
.chat-status-item{
  gap:10px!important;
  font-size:12.5px!important;
  line-height:1.35!important;
}
.chat-status-dot{
  width:23px!important;
  height:23px!important;
  flex-basis:23px!important;
}
.seller-order-panel{
  margin-top:19px!important;
  padding:13px!important;
  gap:10px!important;
  border-radius:15px!important;
}
.seller-panel-head strong{
  font-size:12.5px!important;
}
.client-presence-card{
  padding:9px!important;
}
.seller-order-select{
  min-height:40px!important;
  border-radius:11px!important;
  font-size:12px!important;
}
#sellerSaveOrderStatus{
  min-height:42px!important;
  font-size:12px!important;
}
#openEmployeeQueueFromChat{
  min-height:40px!important;
  font-size:11.5px!important;
}
.seller-order-panel>small{
  font-size:9.5px!important;
  line-height:1.4!important;
}

/* Active chat input must never be squeezed by the hidden closed-state banner. */
.chat-closed-banner[hidden],
.chat-compose:not(.is-closed) .chat-closed-banner{
  display:none!important;
}
.chat-compose:not(.is-closed){
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 120px!important;
  align-items:center!important;
  gap:10px!important;
  padding:13px 16px!important;
}
.chat-compose:not(.is-closed) input{
  width:100%!important;
  min-width:0!important;
  min-height:46px!important;
  padding:0 14px!important;
}
.chat-compose:not(.is-closed)>button{
  width:120px!important;
  min-height:46px!important;
}
.chat-log{
  padding:20px 22px!important;
}
.message{
  margin-bottom:11px!important;
  padding:12px 14px 10px!important;
}
.message-author{
  font-size:11.5px!important;
}
.message-meta{
  margin-top:5px!important;
}

/* ---------- Closed chat ---------- */
.chat-modal-box.chat-closed .chat-layout{
  min-height:0!important;
}
.chat-modal-box.chat-closed .chat-main{
  min-height:0!important;
}
.chat-modal-box.chat-closed .chat-log{
  max-height:390px!important;
}
.chat-modal-box.chat-closed .chat-compose{
  padding:12px 16px!important;
}

/* ---------- Responsive ---------- */
@media(max-width:900px){
  .profile-v41-box{width:min(96vw,980px)!important}
  .profile-grid-overview>.profile-card:nth-child(n+3){min-height:0!important}
}
@media(max-width:760px){
  .profile-modal-head{padding:18px!important}
  .profile-identity{grid-template-columns:58px minmax(0,1fr)!important;gap:13px!important}
  .profile-avatar{width:58px!important;height:58px!important}
  .profile-identity-copy{min-height:58px!important}
  .profile-v41-tabs{padding:7px 16px!important}
  .profile-tab{font-size:13px!important}
  .profile-body{padding:18px!important}
  .chat-layout{grid-template-columns:1fr!important}
  .chat-compose:not(.is-closed){grid-template-columns:minmax(0,1fr) auto!important}
  .chat-compose:not(.is-closed)>button{width:auto!important;min-width:108px}
}




/* ===== SUBNOVA v63 — aesthetic refinement pass ===== */

/* Shared close buttons inside profile/chat */
.profile-modal-head .close,
.chat-header .close{
  position:absolute!important;
  top:18px!important;
  right:18px!important;
  width:40px!important;
  height:40px!important;
  display:grid!important;
  place-items:center!important;
  padding:0!important;
  border-radius:14px!important;
  background:rgba(255,255,255,.035)!important;
  border:1px solid rgba(255,255,255,.08)!important;
  color:#d7dced!important;
  font-size:27px!important;
  line-height:1!important;
  transition:.18s ease!important;
}
.profile-modal-head .close:hover,
.chat-header .close:hover{
  background:rgba(88,101,242,.12)!important;
  border-color:rgba(124,132,255,.24)!important;
  color:#fff!important;
}

/* ===================== PROFILE ===================== */
.profile-v41-box{
  width:min(980px,95vw)!important;
  max-height:92vh!important;
  border-radius:26px!important;
}
.profile-modal-head{
  position:relative!important;
  min-height:112px!important;
  padding:20px 84px 18px 24px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  background:linear-gradient(180deg,#202531,#1a1f28)!important;
}
.profile-identity{
  display:grid!important;
  grid-template-columns:74px minmax(0,1fr)!important;
  align-items:center!important;
  gap:16px!important;
  width:min(560px,100%)!important;
}
.profile-avatar{
  width:74px!important;
  height:74px!important;
  border-radius:22px!important;
  font-size:31px!important;
}
.profile-identity-copy{
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  gap:6px!important;
  min-height:auto!important;
}
.profile-identity-topline{
  min-height:auto!important;
  gap:10px!important;
  align-items:center!important;
}
.profile-cabinet-label,
.profile-account-state,
.verified-email-badge{
  white-space:nowrap!important;
}
.profile-identity h3{
  margin:0!important;
  font-size:31px!important;
  line-height:1.05!important;
  letter-spacing:-.55px!important;
}
.profile-email-line{
  min-height:auto!important;
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  gap:10px!important;
}
.profile-email-line .muted{
  font-size:14px!important;
}
.profile-v41-tabs{
  min-height:56px!important;
  padding:8px 24px 9px!important;
  gap:10px!important;
}
.profile-tab{
  min-height:40px!important;
  padding:0 16px!important;
  font-size:14px!important;
}
.profile-body{
  padding:20px 24px 24px!important;
}

/* KPI row */
.profile-stats.profile-stats-orders{
  gap:14px!important;
  margin-bottom:18px!important;
}
.profile-stats-orders .profile-stat{
  min-height:86px!important;
  padding:15px 16px!important;
  border-radius:18px!important;
  align-content:center!important;
}
.profile-stats-orders .profile-stat strong{
  font-size:30px!important;
  letter-spacing:-.45px!important;
}
.profile-stats-orders .profile-stat span{
  font-size:12px!important;
  line-height:1.3!important;
}

/* Overview cards */
.profile-grid-overview{
  gap:18px!important;
}
.profile-grid-overview>.profile-card{
  display:flex!important;
  flex-direction:column!important;
  padding:20px!important;
  border-radius:21px!important;
}
.profile-grid-overview>.profile-card:nth-child(-n+2){
  min-height:308px!important;
}
.profile-grid-overview>.profile-card:nth-child(n+3){
  min-height:228px!important;
}
.profile-grid-overview>.profile-card .profile-card-kicker{
  margin:0 0 10px!important;
  font-size:11.5px!important;
  line-height:1.2!important;
}
.profile-grid-overview>.profile-card h4{
  min-height:28px!important;
  margin:0!important;
  font-size:20px!important;
  line-height:1.25!important;
  letter-spacing:-.25px!important;
}
.profile-grid-overview>.profile-card>p{
  min-height:58px!important;
  margin:10px 0 0!important;
  font-size:13px!important;
  line-height:1.6!important;
  color:#a4adbd!important;
}
.profile-grid-overview>.profile-card .profile-orders-advanced{
  margin-top:16px!important;
}
.profile-referral-overview-card>.btn,
.profile-grid-overview>.profile-card>.profile-quick-pills{
  margin-top:auto!important;
}

/* Order cards */
.profile-order-advanced{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:12px!important;
  padding:16px!important;
  border-radius:18px!important;
}
.profile-order-head{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:14px!important;
  align-items:start!important;
}
.profile-order-main{
  gap:6px!important;
}
.profile-order-main b{
  font-size:17px!important;
  line-height:1.25!important;
  letter-spacing:-.15px!important;
}
.profile-order-meta{
  font-size:11.6px!important;
  line-height:1.45!important;
}
.profile-order-price{
  padding-top:2px!important;
  font-size:17px!important;
  line-height:1!important;
  text-align:right!important;
  white-space:nowrap!important;
}
.profile-order-footer{
  display:flex!important;
  justify-content:space-between!important;
  align-items:flex-end!important;
  gap:12px 18px!important;
  min-height:48px!important;
}
.profile-order-time{
  gap:5px!important;
  font-size:10.5px!important;
  line-height:1.45!important;
}
.profile-order-actions,
.profile-order-review-actions{
  display:flex!important;
  flex-wrap:wrap!important;
  justify-content:flex-end!important;
  align-items:center!important;
  gap:8px!important;
}
.profile-order-status{
  min-height:33px!important;
  padding:0 11px!important;
  font-size:10.6px!important;
}
.profile-order-actions .btn,
.profile-order-review-actions .btn{
  min-height:38px!important;
  padding:0 13px!important;
  border-radius:11px!important;
  font-size:10.8px!important;
}
.profile-order-review-stars{
  font-size:13px!important;
}

/* Bottom cards */
.profile-referral-overview-card,
.profile-grid-overview>.profile-card:last-child{
  justify-content:flex-start!important;
}
.profile-referral-overview-card>.btn{
  min-height:45px!important;
  font-size:13px!important;
}
.profile-quick-pills{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  margin-top:auto!important;
  padding-top:18px!important;
}
.profile-quick-pills span{
  min-height:36px!important;
  padding:0 12px!important;
  display:inline-flex!important;
  align-items:center!important;
  border-radius:999px!important;
  font-size:10.8px!important;
}

/* Footer buttons */
.profile-actions{
  margin-top:18px!important;
  gap:10px!important;
}

/* ====================== CHAT ====================== */
.chat-modal-box{
  width:min(980px,95vw)!important;
  max-height:92vh!important;
  border-radius:24px!important;
}
.chat-header{
  position:relative!important;
  padding:18px 78px 16px 20px!important;
  align-items:flex-start!important;
}
.chat-header-main{
  display:flex!important;
  flex-direction:column!important;
  gap:8px!important;
  min-width:0!important;
}
.chat-header-kicker-row{
  gap:10px!important;
  margin-bottom:0!important;
}
.chat-live-state{
  font-size:11.5px!important;
}
.chat-header h3{
  margin:0!important;
  font-size:23px!important;
  line-height:1.15!important;
  letter-spacing:-.35px!important;
}
.chat-order-meta{
  margin-top:0!important;
}
.chat-meta-pill{
  padding:6px 10px!important;
  font-size:11px!important;
}

.chat-layout{
  display:grid!important;
  grid-template-columns:232px minmax(0,1fr)!important;
  height:min(640px, calc(92vh - 170px))!important;
  min-height:560px!important;
}
.chat-sidebar{
  padding:18px 16px!important;
}
.chat-status-title{
  margin-bottom:14px!important;
  font-size:11px!important;
}
.chat-status-list{
  gap:14px!important;
}
.chat-status-item{
  font-size:12.5px!important;
  line-height:1.35!important;
}
.chat-status-dot{
  width:23px!important;
  height:23px!important;
  font-size:11px!important;
}
.seller-order-panel{
  margin-top:16px!important;
  padding:12px!important;
  border-radius:15px!important;
  gap:10px!important;
}
.seller-panel-head strong{
  font-size:12.5px!important;
}
.seller-order-label{
  font-size:10px!important;
}
.seller-operator-badge{
  font-size:10px!important;
  padding:5px 8px!important;
}
.client-presence-card{
  padding:10px!important;
  border-radius:14px!important;
}
.client-presence-card strong{
  font-size:13px!important;
}
.client-presence-card span{
  font-size:10px!important;
  line-height:1.35!important;
}
.seller-assignment-row{
  font-size:11px!important;
}
.seller-order-select{
  min-height:39px!important;
  border-radius:11px!important;
  font-size:12px!important;
}
#sellerSaveOrderStatus,
#openEmployeeQueueFromChat{
  min-height:40px!important;
  font-size:11.5px!important;
}
.seller-order-panel>small{
  font-size:9.5px!important;
  line-height:1.4!important;
}

.chat-main{
  display:flex!important;
  flex-direction:column!important;
  min-height:0!important;
  height:100%!important;
}
.chat-log{
  flex:1 1 auto!important;
  min-height:0!important;
  max-height:none!important;
  padding:18px 18px 14px!important;
}
.message{
  padding:12px 14px 10px!important;
  margin-bottom:10px!important;
}
.message-meta{
  margin-top:5px!important;
}
.chat-compose{
  position:relative!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 118px!important;
  align-items:center!important;
  gap:10px!important;
  padding:12px 14px!important;
  margin-top:0!important;
  background:#151920!important;
}
.chat-compose input{
  width:100%!important;
  min-width:0!important;
  min-height:44px!important;
  padding:0 14px!important;
  border-radius:12px!important;
}
.chat-compose>button{
  width:118px!important;
  min-height:44px!important;
}
.chat-closed-banner{
  margin:0!important;
}
.chat-compose:not(.is-closed) .chat-closed-banner{
  display:none!important;
}

/* Only when closed */
.chat-modal-box.chat-closed .chat-layout{
  height:auto!important;
  min-height:0!important;
}
.chat-modal-box.chat-closed .chat-main{
  min-height:0!important;
  height:auto!important;
}
.chat-modal-box.chat-closed .chat-log{
  flex:0 1 auto!important;
  max-height:380px!important;
}
.chat-modal-box.chat-closed .chat-compose{
  display:block!important;
  padding:12px 14px!important;
}

/* Responsive */
@media (max-width: 900px){
  .profile-v41-box,
  .chat-modal-box{width:min(96vw,900px)!important}
  .profile-grid-overview>.profile-card:nth-child(-n+2),
  .profile-grid-overview>.profile-card:nth-child(n+3){min-height:0!important}
}
@media (max-width: 760px){
  .profile-modal-head{
    padding:18px 64px 16px 18px!important;
    min-height:0!important;
  }
  .profile-identity{
    width:100%!important;
    grid-template-columns:58px minmax(0,1fr)!important;
    gap:12px!important;
  }
  .profile-avatar{width:58px!important;height:58px!important;font-size:27px!important}
  .profile-identity h3{font-size:27px!important}
  .profile-email-line{flex-direction:column!important;align-items:flex-start!important;gap:4px!important}
  .profile-v41-tabs{padding:8px 16px!important;overflow-x:auto!important}
  .profile-body{padding:18px!important}
  .profile-order-head,
  .profile-order-footer{grid-template-columns:1fr!important;display:grid!important}
  .profile-order-footer{gap:10px!important}
  .profile-order-actions,.profile-order-review-actions{justify-content:flex-start!important}
  .chat-header{
    padding:18px 64px 14px 18px!important;
  }
  .chat-layout{
    grid-template-columns:1fr!important;
    height:auto!important;
    min-height:0!important;
  }
  .chat-sidebar{
    max-height:330px!important;
    overflow:auto!important;
  }
  .chat-log{
    max-height:380px!important;
  }
  .chat-compose{
    grid-template-columns:minmax(0,1fr) auto!important;
  }
  .chat-compose>button{
    width:auto!important;
    min-width:108px!important;
  }
}



/* ===== SUBNOVA v64 — profile/reward cleanup ===== */
.profile-account-state, .verified-email-badge{display:none!important;}
.profile-modal-head{min-height:106px!important; padding:18px 72px 16px 24px!important;}
.profile-identity{grid-template-columns:68px minmax(0,1fr)!important; gap:14px!important; width:min(460px,100%)!important;}
.profile-avatar{width:68px!important; height:68px!important; border-radius:21px!important; font-size:30px!important;}
.profile-identity-copy{gap:4px!important;}
.profile-identity-topline{min-height:auto!important; gap:8px!important; margin-bottom:0!important;}
.profile-cabinet-label{min-height:24px!important; padding:4px 10px!important; font-size:10.5px!important;}
.profile-identity h3{font-size:29px!important; line-height:1.05!important; margin:0!important;}
.profile-email-line{min-height:auto!important; gap:0!important; margin-top:2px!important;}
.profile-email-line .muted{font-size:14px!important; line-height:1.4!important;}
.profile-v41-tabs{padding:10px 24px 10px!important;}
.profile-body{padding:20px 24px 24px!important;}

/* Overview cards: tighter vertical rhythm */
.profile-grid-overview{gap:18px!important;}
.profile-grid-overview>.profile-card{padding:20px 20px 18px!important; border-radius:22px!important;}
.profile-grid-overview>.profile-card:nth-child(-n+2){min-height:294px!important;}
.profile-grid-overview>.profile-card:nth-child(n+3){min-height:212px!important;}
.profile-grid-overview>.profile-card h4{font-size:19px!important; line-height:1.24!important; margin:0 0 8px!important;}
.profile-grid-overview>.profile-card>p{font-size:13px!important; line-height:1.58!important; min-height:48px!important; margin:0 0 14px!important;}
.profile-orders-advanced{margin-top:6px!important;}

/* Nicer empty state */
.profile-orders-advanced .profile-empty{
  display:flex!important; align-items:center!important; justify-content:center!important;
  min-height:142px!important; padding:18px!important; text-align:center!important;
  border-radius:18px!important; border:1px dashed rgba(124,132,255,.18)!important;
  background:linear-gradient(180deg,rgba(15,20,34,.62),rgba(10,14,24,.82))!important;
  color:#aab2c5!important; font-size:13.5px!important; line-height:1.55!important;
}
.profile-orders-scroll .profile-empty{min-height:120px!important;}

/* Order cards more balanced */
.profile-order-advanced{padding:16px!important; gap:10px!important; border-radius:18px!important;}
.profile-order-head{align-items:start!important; gap:10px!important;}
.profile-order-main b{font-size:17px!important; line-height:1.25!important;}
.profile-order-meta{font-size:11.5px!important; line-height:1.45!important; margin-top:3px!important;}
.profile-order-price{font-size:16px!important; padding-top:1px!important;}
.profile-order-footer{gap:10px 14px!important; align-items:end!important;}
.profile-order-time{font-size:10.5px!important; line-height:1.4!important;}
.profile-order-actions,.profile-order-review-actions{gap:8px!important;}
.profile-order-actions .btn,.profile-order-review-actions .btn{min-height:38px!important; padding:0 13px!important; font-size:11px!important; border-radius:11px!important;}
.profile-order-status{min-height:32px!important; font-size:10.6px!important;}

/* Bottom row symmetry */
.profile-referral-overview-card, .profile-grid-overview>.profile-card:last-child{justify-content:flex-start!important;}
.profile-referral-overview-card>.btn{margin-top:auto!important; min-height:44px!important;}
.profile-quick-pills{margin-top:auto!important; padding-top:16px!important; gap:8px!important;}
.profile-quick-pills span{min-height:34px!important; padding:0 12px!important; font-size:10.8px!important;}

/* Reward claim modal */
.reward-claim-modal-box{width:min(560px,96vw)!important;}
.reward-claim-modal-box .modal-top{padding-right:56px!important; position:relative!important;}
.reward-claim-modal-box .close{top:18px!important; right:18px!important;}
.reward-claim-summary{
  margin:18px 0 14px!important;
  padding:18px 20px!important;
  border-radius:20px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  grid-template-areas:'label price' 'status price'!important;
  gap:4px 18px!important;
  background:linear-gradient(135deg,rgba(94,104,226,.18),rgba(255,255,255,.03))!important;
  border:1px solid rgba(132,140,255,.22)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04)!important;
}
.reward-claim-summary span{grid-area:label!important; font-size:11px!important; letter-spacing:.06em!important; color:#adb4c5!important;}
.reward-claim-summary strong{grid-area:price!important; align-self:center!important; justify-self:end!important; font-size:44px!important; line-height:1!important; letter-spacing:-.04em!important;}
.reward-claim-summary small{grid-area:status!important; margin:0!important; font-size:13px!important; line-height:1.4!important; color:#83dcae!important;}
.reward-activation-section{padding:16px!important; border-radius:18px!important;}
.reward-activation-head strong{font-size:16px!important;}
.reward-activation-head span{font-size:12px!important; line-height:1.5!important;}

/* Responsive */
@media (max-width:760px){
  .profile-modal-head{padding:16px 60px 14px 18px!important; min-height:0!important;}
  .profile-identity{grid-template-columns:58px minmax(0,1fr)!important; gap:12px!important; width:100%!important;}
  .profile-avatar{width:58px!important; height:58px!important; font-size:26px!important;}
  .profile-identity h3{font-size:26px!important;}
  .profile-grid-overview>.profile-card:nth-child(-n+2), .profile-grid-overview>.profile-card:nth-child(n+3){min-height:0!important;}
  .profile-orders-advanced .profile-empty{min-height:116px!important;}
  .reward-claim-summary{grid-template-columns:1fr!important; grid-template-areas:'label' 'price' 'status'!important;}
  .reward-claim-summary strong{justify-self:start!important; font-size:36px!important;}
}



/* ===== SUBNOVA v65 — visual refinement ===== */
.profile-modal-box{width:min(1080px,96vw)!important;border-radius:28px!important;}
.profile-modal-head{
  position:relative!important;
  min-height:120px!important;
  padding:20px 86px 18px 24px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  background:
    radial-gradient(circle at 12% 18%, rgba(111,121,255,.18), transparent 26%),
    linear-gradient(180deg,#212734,#1a202b)!important;
}
.profile-modal-head::after{content:'';position:absolute;left:24px;right:24px;bottom:0;height:1px;background:rgba(255,255,255,.07)}
.profile-identity{
  width:auto!important;max-width:760px!important;
  grid-template-columns:76px minmax(0,1fr)!important;gap:16px!important;
  padding:12px 16px!important;
  border-radius:22px!important;
  border:1px solid rgba(135,145,255,.17)!important;
  background:linear-gradient(135deg,rgba(255,255,255,.035),rgba(255,255,255,.015))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03)!important;
}
.profile-avatar{width:76px!important;height:76px!important;border-radius:24px!important;font-size:33px!important;box-shadow:0 10px 28px rgba(106,114,255,.18)!important}
.profile-identity-copy{gap:6px!important}
.profile-identity-topline{gap:10px!important}
.profile-cabinet-label{padding:5px 11px!important;font-size:10.5px!important;letter-spacing:.04em!important;border-radius:999px!important;background:rgba(98,109,255,.16)!important;border:1px solid rgba(129,138,255,.18)!important}
.profile-identity h3{font-size:31px!important;line-height:1.02!important;letter-spacing:-.04em!important}
.profile-email-line .muted{font-size:15px!important;color:#c4ccdd!important}
.profile-modal-head .close{top:20px!important;right:20px!important;width:38px!important;height:38px!important;border-radius:14px!important}
.profile-v41-tabs{padding:10px 24px!important;gap:10px!important}
.profile-v41-tabs button{min-height:38px!important;padding:0 18px!important;font-size:13px!important;border-radius:14px!important}
.profile-v41-tabs button.active{box-shadow:inset 0 0 0 1px rgba(124,132,255,.34)!important}
.profile-body{padding:22px 24px 24px!important}
.profile-stats{gap:14px!important;margin-bottom:18px!important}
.profile-stat-card{padding:17px 18px 16px!important;border-radius:18px!important}
.profile-stat-card b{font-size:23px!important}.profile-stat-card span{font-size:12px!important}
.profile-grid-overview{gap:18px!important}.profile-grid-overview>.profile-card{padding:20px!important;border-radius:22px!important}
.profile-grid-overview>.profile-card h4{font-size:21px!important;margin:0 0 10px!important}.profile-grid-overview>.profile-card>p{font-size:14px!important;line-height:1.6!important;color:#aeb6c8!important}
.profile-orders-advanced .profile-empty{font-size:14px!important;min-height:152px!important;border-radius:20px!important}
.profile-order-advanced{padding:18px!important;border-radius:20px!important;gap:12px!important}
.profile-order-main b{font-size:18px!important}.profile-order-meta{font-size:12px!important}.profile-order-price{font-size:18px!important}
.profile-order-time{font-size:11px!important}.profile-order-actions .btn,.profile-order-review-actions .btn{min-height:40px!important;padding:0 14px!important;font-size:11.5px!important;border-radius:12px!important}
.profile-referral-overview-card .btn{min-height:46px!important;font-size:14px!important}
.profile-quick-pills span{min-height:36px!important;font-size:11.5px!important}

/* Employee chat sidebar */
.seller-order-panel{
  margin-top:16px!important;
  padding:16px!important;
  border-radius:18px!important;
  background:linear-gradient(180deg,rgba(19,24,36,.92),rgba(15,19,29,.98))!important;
  border:1px solid rgba(118,126,255,.18)!important;
  box-shadow:none!important;
  gap:12px!important;
}
.seller-panel-head{align-items:flex-start!important;gap:10px!important;padding-bottom:2px!important;border-bottom:1px solid rgba(255,255,255,.06)!important;margin-bottom:2px!important}
.seller-order-label{font-size:10px!important;letter-spacing:.08em!important;text-transform:uppercase!important;color:#97a0b7!important}
#sellerWorkTitle{font-size:18px!important;line-height:1.2!important;display:block;margin-top:4px!important}
.seller-operator-badge{align-self:flex-start!important;padding:6px 10px!important;font-size:11px!important;border-radius:10px!important;background:rgba(67,209,141,.13)!important;border:1px solid rgba(67,209,141,.18)!important;color:#7fe0ad!important}
.client-presence-card{padding:12px!important;border-radius:14px!important;background:rgba(255,255,255,.03)!important;border:1px solid rgba(255,255,255,.06)!important;gap:11px!important}
.client-presence-avatar{width:46px!important;height:46px!important;border-radius:14px!important;font-size:18px!important}
.client-presence-card strong{font-size:14px!important;color:#eef2ff!important}.client-presence-card span{font-size:11.5px!important;color:#9ba5b8!important}.client-presence-card span b{font-size:11.5px!important}
.seller-assignment-row{padding:2px 0 0!important;font-size:12px!important}.seller-assignment-row strong{font-size:12px!important}
.seller-status-field span{font-size:12px!important;margin-bottom:6px!important;color:#aab3c7!important}
.seller-order-select{min-height:44px!important;border-radius:12px!important;padding:0 14px!important;font-size:14px!important;background:#0f1420!important;border:1px solid rgba(255,255,255,.08)!important}
.seller-order-panel .btn.full{min-height:44px!important;border-radius:12px!important;font-size:14px!important}
.seller-order-panel>small{font-size:11px!important;line-height:1.55!important;color:#7f889c!important}

/* Employee queue modal */
.employee-orders-modal-box{width:min(1120px,96vw)!important;border-radius:26px!important}
.employee-modal-head{padding:24px 26px 18px!important;align-items:flex-start!important;background:linear-gradient(180deg,#202633,#1a202b)!important;border-bottom:1px solid rgba(255,255,255,.07)!important}
.employee-modal-head .pill{padding:6px 12px!important;font-size:10.5px!important;letter-spacing:.05em!important}
.employee-modal-head h3{font-size:30px!important;line-height:1.05!important;margin:6px 0 8px!important}
.employee-modal-head p{font-size:14px!important;line-height:1.55!important;color:#aab2c5!important;max-width:720px!important}
.employee-summary{grid-template-columns:repeat(5,1fr)!important;gap:12px!important;padding:18px 26px!important;background:#171c25!important}
.employee-summary>div{min-height:82px!important;padding:14px 14px!important;border-radius:14px!important;background:#101620!important;border:1px solid rgba(255,255,255,.06)!important}
.employee-summary strong{font-size:26px!important;line-height:1!important}.employee-summary span{font-size:11px!important;line-height:1.5!important}.employee-online strong{font-size:14px!important}.employee-online span{font-size:11px!important}
.employee-queue-toolbar{padding:14px 26px 10px!important;gap:10px!important;flex-wrap:wrap!important;background:#171c25!important}
.employee-filter{min-height:38px!important;padding:0 14px!important;border-radius:12px!important;font-size:12px!important;background:#101620!important;color:#9ea8be!important;border:1px solid rgba(255,255,255,.07)!important}
.employee-filter.active{background:rgba(98,109,255,.14)!important;border-color:rgba(114,125,255,.26)!important;color:#edf0ff!important;box-shadow:0 0 0 1px rgba(112,123,255,.12) inset!important}
.employee-orders-list{padding:12px 26px 24px!important;gap:12px!important;background:#171c25!important}
.employee-order-card,.employee-reward-card{padding:16px 18px!important;border-radius:16px!important;background:#101620!important;border:1px solid rgba(255,255,255,.06)!important}
.employee-order-title,.employee-reward-title{gap:10px!important;flex-wrap:wrap!important}.employee-order-title b,.employee-reward-title b{font-size:18px!important;line-height:1.25!important}.employee-order-number,.employee-reward-id{font-size:11px!important;padding:4px 8px!important;border-radius:9px!important}.employee-order-meta,.employee-reward-meta{font-size:12px!important;line-height:1.55!important;color:#9fa8bc!important}.employee-order-actions,.employee-reward-actions{gap:10px!important}.employee-order-actions .btn,.employee-reward-actions .btn{min-height:40px!important;font-size:12px!important;padding:0 14px!important;border-radius:12px!important}
.employee-empty{padding:28px!important;min-height:130px!important;border-radius:18px!important;font-size:14px!important;line-height:1.6!important;background:#101620!important;border:1px dashed rgba(118,126,255,.18)!important;color:#aab3c6!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important}

/* Chat window tidy */
.chat-header{padding:18px 22px 14px!important}.chat-title{font-size:22px!important;line-height:1.1!important}.chat-status-pill{font-size:11px!important}.chat-main{background:linear-gradient(180deg,rgba(14,18,28,.96),rgba(12,16,25,.98))!important}
.chat-log{padding:18px 18px 10px!important}.message{padding:14px 15px!important;border-radius:18px!important}.message-text{font-size:15px!important;line-height:1.55!important}.message-meta{font-size:11px!important}
.chat-compose{padding:14px 18px 16px!important;grid-template-columns:minmax(0,1fr) 130px!important;align-items:end!important;gap:10px!important}
#chatInput{min-height:46px!important;border-radius:14px!important;padding:0 16px!important;font-size:14px!important}
#chatSendButton{min-height:46px!important;border-radius:14px!important;font-size:14px!important}

/* Reward claim modal visual */
.reward-claim-summary{padding:16px 18px!important;border-radius:18px!important;grid-template-columns:minmax(0,1fr) auto!important}
.reward-claim-summary span{font-size:10.5px!important}.reward-claim-summary strong{font-size:38px!important}.reward-claim-summary small{font-size:13px!important}
.reward-activation-options{gap:10px!important}.reward-activation-option{padding:16px!important;border-radius:16px!important}.reward-activation-option b{font-size:16px!important}.reward-activation-option p{font-size:13px!important;line-height:1.55!important}
.reward-claim-modal-box .field label{font-size:12px!important}.reward-claim-modal-box .field input{min-height:44px!important;border-radius:12px!important;font-size:14px!important}

@media (max-width:980px){
 .profile-modal-head{padding:18px 70px 16px 18px!important;min-height:0!important}
 .profile-identity{grid-template-columns:62px minmax(0,1fr)!important;padding:10px 12px!important}
 .profile-avatar{width:62px!important;height:62px!important;font-size:28px!important}
 .profile-identity h3{font-size:27px!important}
 .employee-summary{grid-template-columns:repeat(2,1fr)!important}
}
@media (max-width:760px){
 .profile-v41-tabs{overflow:auto!important}
 .employee-queue-toolbar{overflow:auto!important}
 .employee-orders-list{padding:12px 16px 20px!important}
 .employee-modal-head,.employee-summary,.employee-queue-toolbar{padding-left:16px!important;padding-right:16px!important}
 .chat-compose{grid-template-columns:1fr!important}
}



/* ===== v67 — clean staff chat layout ===== */

/* Modal shell */
.chat-modal-box{
  width:min(1120px,96vw)!important;
  max-height:92vh!important;
  overflow:hidden!important;
  border-radius:24px!important;
  background:#171c25!important;
  border:1px solid rgba(255,255,255,.075)!important;
}
.chat-header{
  position:relative!important;
  padding:20px 74px 16px 24px!important;
  background:linear-gradient(180deg,#202631 0%,#1b202a 100%)!important;
  border-bottom:1px solid rgba(255,255,255,.07)!important;
}
.chat-header-main{display:flex!important;flex-direction:column!important;gap:9px!important;min-width:0!important}
.chat-header-kicker-row{display:flex!important;align-items:center!important;gap:10px!important;margin:0!important}
.chat-header .pill{font-size:11px!important;padding:6px 11px!important;border-radius:12px!important}
.chat-live-state{font-size:11px!important;color:#909aaf!important}
.chat-live-state i{width:7px!important;height:7px!important}
.chat-header h3{margin:0!important;font-size:27px!important;line-height:1.12!important;letter-spacing:-.035em!important;color:#f3f5fb!important}
.chat-order-meta{display:flex!important;flex-wrap:wrap!important;gap:8px!important;margin:0!important}
.chat-meta-pill{min-height:29px!important;display:inline-flex!important;align-items:center!important;padding:0 11px!important;border-radius:999px!important;font-size:11px!important;color:#bdc5d7!important;background:#222833!important;border:1px solid rgba(255,255,255,.07)!important}
.chat-header .close{position:absolute!important;right:20px!important;top:20px!important;width:40px!important;height:40px!important;border-radius:13px!important;background:#242a34!important;border:1px solid rgba(255,255,255,.08)!important;font-size:25px!important;color:#c9d0de!important}
.chat-header .close:hover{background:#2c3340!important;color:#fff!important}

/* Horizontal order progress: now truly at the top */
.chat-progress-wrap{
  padding:14px 24px 16px!important;
  background:#141922!important;
  border-bottom:1px solid rgba(255,255,255,.065)!important;
}
.chat-progress-head{display:flex!important;align-items:center!important;margin:0 0 11px!important}
.chat-progress-head>span{font-size:10.5px!important;line-height:1!important;font-weight:900!important;letter-spacing:.095em!important;text-transform:uppercase!important;color:#8792a8!important}
.chat-status-horizontal{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:10px!important;
  margin:0!important;
}
.chat-status-horizontal::before{display:none!important}
.chat-status-horizontal .chat-status-item{
  position:relative!important;
  display:grid!important;
  grid-template-columns:30px minmax(0,1fr)!important;
  align-items:center!important;
  gap:9px!important;
  min-height:48px!important;
  padding:8px 10px!important;
  border-radius:12px!important;
  background:#10151e!important;
  border:1px solid rgba(255,255,255,.055)!important;
  color:#7e899d!important;
  font-size:11.5px!important;
  line-height:1.28!important;
}
.chat-status-horizontal .chat-status-dot{
  width:30px!important;height:30px!important;display:grid!important;place-items:center!important;
  border-radius:10px!important;background:#1e2636!important;border:1px solid rgba(255,255,255,.07)!important;
  color:#8e99ae!important;font-size:11px!important;font-weight:900!important
}
.chat-status-horizontal .chat-status-item.active{
  color:#eef1f9!important;
  background:linear-gradient(135deg,rgba(88,101,242,.12),rgba(16,21,30,.96))!important;
  border-color:rgba(105,116,255,.18)!important;
  font-weight:800!important;
}
.chat-status-horizontal .chat-status-item.active .chat-status-dot{
  background:linear-gradient(135deg,#6170ff,#735fff)!important;border-color:transparent!important;color:#fff!important;
  box-shadow:0 0 0 3px rgba(98,111,255,.09)!important
}

/* Main 2-column area */
.chat-layout{
  display:grid!important;
  grid-template-columns:300px minmax(0,1fr)!important;
  height:min(590px,calc(92vh - 205px))!important;
  min-height:510px!important;
}
.chat-sidebar{
  min-width:0!important;
  padding:16px!important;
  background:#151a22!important;
  border-right:1px solid rgba(255,255,255,.065)!important;
  overflow:auto!important;
}

/* Staff workspace: client first, controls second */
.staff-workspace-card{
  margin:0!important;
  padding:0!important;
  display:flex!important;
  flex-direction:column!important;
  gap:0!important;
  border-radius:14px!important;
  overflow:hidden!important;
  background:#0f141c!important;
  border:1px solid rgba(255,255,255,.07)!important;
  box-shadow:none!important;
}
.staff-workspace-head{
  display:block!important;
  padding:14px 15px 12px!important;
  background:#121823!important;
  border-bottom:1px solid rgba(255,255,255,.06)!important;
}
.staff-workspace-head>div{display:flex!important;align-items:baseline!important;justify-content:space-between!important;gap:10px!important}
.staff-workspace-head .seller-order-label{font-size:9.5px!important;line-height:1!important;text-transform:uppercase!important;letter-spacing:.1em!important;color:#727d91!important;font-weight:900!important}
#sellerWorkTitle{font-size:16px!important;line-height:1.2!important;color:#eef1f8!important;font-weight:900!important;margin:0!important}

.staff-customer-card{
  display:grid!important;
  grid-template-columns:56px minmax(0,1fr)!important;
  gap:12px!important;
  align-items:center!important;
  padding:15px!important;
  background:linear-gradient(145deg,rgba(88,101,242,.055),rgba(255,255,255,.01))!important;
  border-bottom:1px solid rgba(255,255,255,.055)!important;
}
.client-presence-avatar{
  width:56px!important;height:56px!important;display:grid!important;place-items:center!important;
  border-radius:16px!important;background:linear-gradient(135deg,#6170ff,#8b60ff)!important;
  color:#fff!important;font-size:22px!important;font-weight:900!important;box-shadow:0 8px 22px rgba(89,101,242,.18)!important
}
.staff-customer-copy{display:grid!important;gap:6px!important;min-width:0!important}
.staff-customer-topline{display:flex!important;align-items:center!important;gap:7px!important;flex-wrap:wrap!important;min-width:0!important}
.staff-customer-topline strong{font-size:15px!important;line-height:1.2!important;color:#f0f2f9!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.staff-customer-type{display:inline-flex!important;align-items:center!important;min-height:22px!important;padding:0 7px!important;border-radius:7px!important;font-size:9px!important;font-weight:850!important;white-space:nowrap!important}
.staff-customer-type.registered{color:#a9b8ff!important;background:rgba(88,101,242,.10)!important;border:1px solid rgba(88,101,242,.17)!important}
.staff-customer-type.guest{color:#ddc18f!important;background:rgba(244,198,96,.075)!important;border:1px solid rgba(244,198,96,.13)!important}
.staff-client-contact{display:block!important;max-width:100%!important;font-size:11px!important;line-height:1.35!important;color:#929cad!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.staff-presence-line{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important;font-size:10px!important;color:#768195!important}
.staff-presence-badge{display:inline-flex!important;align-items:center!important;gap:5px!important;font-size:10.5px!important;font-weight:850!important}
.staff-presence-badge i{width:7px!important;height:7px!important;border-radius:50%!important;background:#657085!important}
.staff-presence-badge.online{color:#66d99c!important}.staff-presence-badge.online i{background:#42d18c!important;box-shadow:0 0 0 3px rgba(66,209,140,.10)!important}
.staff-presence-badge.offline{color:#9aa3b4!important}.staff-presence-badge.offline i{background:#6f798b!important}

.staff-tracking-grid{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:0!important;
  padding:0!important;
  border-bottom:1px solid rgba(255,255,255,.055)!important;
}
.staff-tracking-grid>div{
  display:grid!important;grid-template-columns:120px minmax(0,1fr)!important;align-items:center!important;gap:10px!important;
  min-height:42px!important;padding:8px 15px!important;border-bottom:1px solid rgba(255,255,255,.04)!important
}
.staff-tracking-grid>div:last-child{border-bottom:0!important}
.staff-tracking-grid span{font-size:9px!important;line-height:1.2!important;text-transform:uppercase!important;letter-spacing:.065em!important;color:#687386!important;font-weight:850!important}
.staff-tracking-grid strong{font-size:11px!important;line-height:1.35!important;color:#cdd3df!important;text-align:right!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}

.staff-workspace-card .seller-status-field{display:grid!important;gap:7px!important;padding:13px 15px 0!important}
.staff-workspace-card .seller-status-field>span{font-size:10px!important;line-height:1!important;color:#7d879b!important;font-weight:850!important;text-transform:uppercase!important;letter-spacing:.055em!important}
.staff-workspace-card .seller-order-select{width:100%!important;min-height:42px!important;padding:0 12px!important;border-radius:10px!important;background:#0b1017!important;border:1px solid rgba(255,255,255,.08)!important;color:#e4e8f1!important;font-size:12px!important}
.staff-workspace-card>#sellerSaveOrderStatus,
.staff-workspace-card>#openEmployeeQueueFromChat{margin:9px 15px 0!important;width:auto!important;min-height:41px!important;border-radius:10px!important;font-size:11.5px!important}
.staff-workspace-card>#openEmployeeQueueFromChat{margin-bottom:15px!important}

/* Chat stays visually dominant */
.chat-main{display:flex!important;flex-direction:column!important;min-width:0!important;min-height:0!important;background:#141922!important}
.chat-log{flex:1 1 auto!important;min-height:0!important;padding:18px 20px 12px!important;overflow:auto!important}
.message{max-width:min(720px,88%)!important;padding:13px 15px 11px!important;margin-bottom:10px!important;border-radius:16px!important}
.message-author{font-size:10px!important}.message-text{font-size:13.5px!important;line-height:1.52!important}.message-meta{font-size:9.6px!important;margin-top:5px!important}
.chat-compose{display:grid!important;grid-template-columns:minmax(0,1fr) 118px!important;gap:10px!important;align-items:center!important;padding:12px 16px!important;margin:0!important;background:#151a23!important;border-top:1px solid rgba(255,255,255,.06)!important}
.chat-compose:not(.is-closed) .chat-closed-banner{display:none!important}
.chat-compose input{width:100%!important;min-width:0!important;min-height:44px!important;padding:0 13px!important;border-radius:10px!important;font-size:12.5px!important}
.chat-compose>button{width:118px!important;min-height:44px!important;border-radius:10px!important;font-size:12px!important}

/* Closed chat */
.chat-modal-box.chat-closed .chat-layout{height:auto!important;min-height:0!important}
.chat-modal-box.chat-closed .chat-main{height:auto!important;min-height:0!important}
.chat-modal-box.chat-closed .chat-log{flex:0 1 auto!important;max-height:390px!important}
.chat-modal-box.chat-closed .chat-compose{display:block!important;padding:12px 16px!important}

/* Employee queue stays rectangular and clear */
.employee-orders-modal-box{width:min(1160px,96vw)!important;border-radius:18px!important;background:#151a23!important}
.employee-modal-head{padding:22px 24px 18px!important;background:#181e29!important;border-bottom:1px solid rgba(255,255,255,.065)!important}
.employee-modal-head h3{font-size:27px!important;margin:5px 0 6px!important}.employee-modal-head p{font-size:13px!important;line-height:1.5!important}
.employee-summary{grid-template-columns:repeat(5,1fr)!important;gap:10px!important;padding:16px 24px!important;background:#151a23!important}
.employee-summary>div{min-height:74px!important;padding:12px 13px!important;border-radius:10px!important;background:#0f141d!important;border:1px solid rgba(255,255,255,.055)!important}
.employee-summary strong{font-size:22px!important}.employee-summary span{font-size:10.5px!important}.employee-online strong{font-size:13px!important}
.employee-queue-toolbar{padding:10px 24px 12px!important;gap:8px!important;background:#151a23!important;border-bottom:1px solid rgba(255,255,255,.05)!important}
.employee-filter{min-height:36px!important;padding:0 13px!important;border-radius:9px!important;font-size:11.5px!important}
.employee-orders-list{padding:14px 24px 24px!important;gap:10px!important;background:#151a23!important}
.employee-order-card,.employee-reward-card{padding:15px 16px!important;border-radius:10px!important;background:#0f141d!important;border:1px solid rgba(255,255,255,.055)!important}
.employee-order-title b,.employee-reward-title b{font-size:16px!important}.employee-order-meta,.employee-reward-meta{font-size:11.5px!important}
.employee-order-actions .btn,.employee-reward-actions .btn{min-height:38px!important;padding:0 13px!important;border-radius:9px!important;font-size:11.5px!important}

@media(max-width:900px){
  .chat-status-horizontal{grid-template-columns:1fr 1fr!important}
  .chat-layout{grid-template-columns:1fr!important;height:auto!important;min-height:0!important}
  .chat-sidebar{border-right:0!important;border-bottom:1px solid rgba(255,255,255,.06)!important;max-height:440px!important}
  .employee-summary{grid-template-columns:repeat(2,1fr)!important}
}
@media(max-width:620px){
  .chat-progress-wrap{padding:12px 14px 14px!important}
  .chat-status-horizontal{grid-template-columns:1fr!important}
  .chat-header{padding:16px 62px 14px 16px!important}.chat-header h3{font-size:23px!important}
  .chat-sidebar{padding:12px!important}
  .chat-compose{grid-template-columns:1fr!important}.chat-compose>button{width:100%!important}
}



/* ===== v68 — referral code in checkout ===== */
.purchase-referral-section{
  background:linear-gradient(145deg,rgba(88,101,242,.055),rgba(255,255,255,.018))!important;
  border-color:rgba(116,126,255,.14)!important;
}
.purchase-referral-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.purchase-optional-chip{
  display:inline-flex;align-items:center;min-height:23px;padding:0 8px;margin-left:7px;
  border-radius:999px;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.07);
  color:#8e98ad;font-size:9.5px;font-weight:800;vertical-align:2px;text-transform:none;letter-spacing:0
}
.purchase-referral-row{display:grid;grid-template-columns:minmax(0,1fr) 118px;gap:9px;margin-top:14px;align-items:center}
.purchase-referral-input-wrap{
  min-height:48px;display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;
  border-radius:14px;background:#10151e;border:1px solid rgba(255,255,255,.075);overflow:hidden;
  transition:.18s ease
}
.purchase-referral-input-wrap:focus-within{border-color:rgba(112,124,255,.44);box-shadow:0 0 0 3px rgba(88,101,242,.08)}
.purchase-referral-icon{display:grid;place-items:center;color:#8690ff;font-size:16px;font-weight:900}
#purchaseReferralCode{
  width:100%;min-width:0;height:46px;padding:0 12px 0 0;border:0!important;outline:0!important;
  background:transparent!important;color:#edf0fb;font-size:13px;font-weight:750;letter-spacing:.02em
}
#purchaseReferralCode::placeholder{color:#5f687b;font-weight:500}
#purchaseReferralCode:disabled{color:#b9c1d7;cursor:not-allowed}
.purchase-referral-btn{min-height:48px!important;padding:0 13px!important;border-radius:14px!important;font-size:11.5px!important}
.purchase-referral-btn:disabled{opacity:.48;cursor:not-allowed}
.purchase-referral-status{margin-top:9px;color:#8892a6;font-size:11px;line-height:1.45;min-height:17px}
.purchase-referral-status.valid{color:#72dca5}
.purchase-referral-status.invalid{color:#ff9298}
.purchase-referral-status.locked{color:#b7bdfd}
.purchase-referral-preview{display:none;margin-top:8px;color:#737d91;font-size:9.5px;align-items:center;gap:5px}
.preview-mode .purchase-referral-preview{display:flex}
.purchase-referral-preview button{border:0;background:none;padding:0;color:#aeb5ff;font:inherit;font-weight:900;cursor:pointer;text-decoration:underline;text-underline-offset:2px}
@media(max-width:650px){
  .purchase-referral-row{grid-template-columns:1fr}
  .purchase-referral-btn{width:100%}
}



/* Registration fields */
#registerForm>.form-field{width:100%}
#registerForm .nickname-field{margin-bottom:2px}
#registerEmail{width:100%}

/* Nickname/password helpers */
.nickname-hint,.password-match-hint{
  margin-top:7px;
  min-height:18px;
  font-size:10.5px;
  line-height:1.45;
  color:#7f899d;
}
.nickname-hint.ok,.password-match-hint.ok{color:#65d9a0}
.nickname-hint.bad,.password-match-hint.bad{color:#ff858d}
#resetStepTwo[hidden]{display:none!important}
#resetStepTwo:not([hidden]){display:grid;gap:13px}

/* Review counter */
.field-label-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.field-label-row>small{
  color:#7f899c;
  font-size:10.5px;
  font-weight:800;
  white-space:nowrap;
}
.field-label-row>small.near-limit{color:#f0b85c}
.review-comment-field textarea{min-height:118px!important}
.review-card .review p{
  display:-webkit-box;
  -webkit-line-clamp:7;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

/* Chat text-only policy */
.chat-compose:not(.is-closed){
  grid-template-columns:minmax(0,1fr) 130px!important;
  grid-template-areas:
    "input button"
    "meta meta"!important;
}
.chat-compose:not(.is-closed) #chatInput{grid-area:input}
.chat-compose:not(.is-closed) #chatSendButton{grid-area:button}
.chat-input-meta{
  grid-area:meta;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-width:0;
  padding:0 2px;
  color:#778197;
  font-size:9.8px;
  line-height:1.4;
}
.chat-input-meta #chatPolicyHint{min-width:0}
.chat-input-meta #chatPolicyHint.bad{color:#ff838b}
.chat-input-meta #chatCharCounter{
  flex:0 0 auto;
  white-space:nowrap;
  font-weight:800;
}
.chat-input-meta #chatCharCounter.near-limit{color:#f0b85c}
.chat-compose.is-closed .chat-input-meta{display:none!important}

/* Partner cards stay visually bounded when real links/content are connected later */
.partner-track article h3,
.partner-track article h4,
.partner-track .partner-name{
  overflow:hidden;
  text-overflow:ellipsis;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}
.partner-track article p,
.partner-track .partner-description{
  overflow:hidden;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:4;
}

/* Frame purchase is intentionally manual: RU/EN name only */
#frameFields.show{display:block!important}
.frame-fields-grid{align-items:start}

@media(max-width:640px){
  .chat-compose:not(.is-closed){
    grid-template-columns:1fr!important;
    grid-template-areas:"input" "button" "meta"!important;
  }
  .chat-compose:not(.is-closed) #chatSendButton{width:100%!important}
  .chat-input-meta{align-items:flex-start}
}



/* =============================
   SUBNOVA v83 — final cleanup
   1) Telegram section simplified
   2) QR block now shows only QR
   3) Small typography/layout cleanup
   ============================= */

.telegram-box.telegram-v23.telegram-v23-final{
  grid-template-columns:minmax(0,1.12fr) 330px;
  gap:28px;
  padding:30px;
  align-items:center;
}
.tg-v23-title-clean{
  margin:0 0 10px;
  font-size:30px;
  line-height:1.14;
  letter-spacing:-1px;
}
.telegram-v23-final .tg-v23-description{
  max-width:700px;
  font-size:15.5px;
  line-height:1.7;
}
.telegram-v23-final .tg-v23-features-clean{
  grid-template-columns:1fr;
  gap:12px;
  margin-top:22px;
  padding-top:0;
  border-top:0;
}
.telegram-v23-final .tg-v23-feature{
  padding:12px 14px;
  border-radius:16px;
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.06);
}
.telegram-v23-final .tg-v23-footer{
  margin-top:24px;
  gap:12px;
}
.telegram-v23-final .tg-v23-visual-clean{
  min-height:auto;
  padding:22px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:14px;
  background:linear-gradient(180deg, rgba(10,14,22,.96), rgba(14,18,28,.98));
}
.telegram-v23-final .tg-v23-visual-clean::before,
.telegram-v23-final .tg-v23-visual-clean::after,
.telegram-v23-final .tg-v23-sticker,
.telegram-v23-final .tg-v23-title-row,
.telegram-v23-final .tg-v23-handle,
.telegram-v23-final .tg-v23-qr-copy{display:none!important;}
.telegram-v23-final .tg-v23-qr-solo{
  position:static;
  display:block;
  padding:14px;
  border-radius:22px;
  background:#fff;
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 18px 36px rgba(0,0,0,.24);
}
.telegram-v23-final .tg-v23-qr-solo img{
  width:240px;
  height:240px;
  display:block;
  object-fit:cover;
  border-radius:16px;
  background:#fff;
  padding:0;
}
.telegram-v23-final .tg-v23-qr-note{
  max-width:250px;
  text-align:center;
  color:#c8d0e6;
  font-size:12px;
  line-height:1.5;
  font-weight:700;
}
.telegram-v23-final .tg-v23-status{
  font-size:12px;
}
/* slightly clearer section copy */
.section-intro,
.review-count,
.muted,
.hint,
.badge,
.note,
.supplier-meta,
.partner-meta,
.review-card small,
.review small,
.order-card small,
.chat-input-meta,
.nickname-hint,
.password-match-hint{
  letter-spacing:0;
}

@media (max-width: 980px){
  .telegram-box.telegram-v23.telegram-v23-final{
    grid-template-columns:1fr;
    padding:22px;
  }
  .telegram-v23-final .tg-v23-visual-clean{
    order:-1;
  }
  .telegram-v23-final .tg-v23-qr-solo img{
    width:220px;
    height:220px;
  }
}
@media (max-width: 640px){
  .telegram-v23-final .tg-v23-title-clean{font-size:24px;}
  .telegram-v23-final .tg-v23-qr-solo img{
    width:190px;
    height:190px;
  }
  .telegram-v23-final .tg-v23-qr-note{
    font-size:11.5px;
  }
}



/* =============================
   SUBNOVA v83 fixes
   1) QR code regenerated and enlarged
   2) Active + completed orders become scrollable when many entries exist
   ============================= */
.telegram-v23-final .tg-v23-qr-solo{
  background:#ffffff!important;
  padding:16px!important;
}
.telegram-v23-final .tg-v23-qr-solo img{
  width:252px!important;
  height:252px!important;
  image-rendering:auto;
  background:#fff!important;
}
.telegram-v23-final .tg-v23-visual-clean{
  gap:16px!important;
}
.telegram-v23-final .tg-v23-qr-note{
  max-width:270px!important;
}
#profileActiveOrdersList.profile-orders-scroll,
#profileCompletedOrdersList.profile-orders-scroll{
  max-height:360px!important;
  overflow-y:auto!important;
  padding-right:6px!important;
  overscroll-behavior:contain;
}
#profileActiveOrdersList.profile-orders-scroll::-webkit-scrollbar,
#profileCompletedOrdersList.profile-orders-scroll::-webkit-scrollbar{width:8px}
#profileActiveOrdersList.profile-orders-scroll::-webkit-scrollbar-track,
#profileCompletedOrdersList.profile-orders-scroll::-webkit-scrollbar-track{border-radius:999px;background:rgba(255,255,255,.035)}
#profileActiveOrdersList.profile-orders-scroll::-webkit-scrollbar-thumb,
#profileCompletedOrdersList.profile-orders-scroll::-webkit-scrollbar-thumb{border-radius:999px;background:linear-gradient(180deg,#5865f2,#8d68ff)}
@media (max-width:640px){
  .telegram-v23-final .tg-v23-qr-solo img{width:210px!important;height:210px!important;}
}



/* SUBNOVA v83 — final bugfix pass based on annotated review */

/* Hero */
.production-preview-box{padding:30px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;min-height:450px!important}
.production-preview-kicker{width:max-content;padding:7px 11px;border-radius:999px;color:#b8c0ff;background:rgba(88,101,242,.11);border:1px solid rgba(112,123,255,.16);font-size:11px;font-weight:900;margin-bottom:15px}
.production-preview-box h3{margin:0 0 10px;font-size:27px;line-height:1.15}
.production-preview-box>p{margin:0;color:#aeb6c8;font-size:14px;line-height:1.65}
.production-preview-steps{display:grid;gap:10px;margin:24px 0 18px}
.production-preview-steps>div{display:grid;grid-template-columns:32px minmax(0,1fr);align-items:center;gap:11px;padding:11px 13px;border-radius:14px;background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.055)}
.production-preview-steps span{width:32px;height:32px;display:grid;place-items:center;border-radius:10px;background:linear-gradient(135deg,#5865f2,#8368ff);color:#fff;font-size:12px;font-weight:900}
.production-preview-steps b{font-size:13px}
.production-preview-note{padding:12px 13px;border-radius:14px;color:#aeb6c8;background:rgba(88,101,242,.055);border:1px solid rgba(112,123,255,.10);font-size:12px;line-height:1.5}
.hero-points-clean{gap:8px!important}.hero-points-clean .hero-pill{font-size:12px!important}

/* Plans */
.plans-account-warning{display:grid;grid-template-columns:28px minmax(0,1fr);gap:12px;align-items:start;margin:0 0 18px;padding:13px 15px;border-radius:16px;background:linear-gradient(135deg,rgba(240,178,50,.065),rgba(255,255,255,.015));border:1px solid rgba(240,178,50,.14)}
.plans-account-warning-icon{width:28px;height:28px;display:grid;place-items:center;border-radius:9px;background:rgba(240,178,50,.12);color:#ffd67b;font-weight:900}
.plans-account-warning strong{display:block;color:#f2d184;font-size:12.5px;margin-bottom:3px}
.plans-account-warning p{margin:0;color:#bfc6d6;font-size:12px;line-height:1.5}
.plan-body{height:100%!important}.plan-points{margin-bottom:auto!important}.plan .buy,.frame-plan .btn{margin-top:16px!important}

/* Benefits less tiled */
.feature-grid{gap:10px!important}
.feature-item{background:transparent!important;border:0!important;border-top:1px solid rgba(255,255,255,.06)!important;border-radius:0!important;padding:15px 4px!important}

/* Giveaway */
.giveaway-empty-compact{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:15px;align-items:center;padding:17px 18px;border-radius:18px;background:linear-gradient(180deg,rgba(20,24,34,.96),rgba(16,19,27,.98));border:1px solid rgba(255,255,255,.07)}
.giveaway-empty-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:15px;background:rgba(88,101,242,.11);font-size:23px}
.giveaway-empty-copy{display:grid;gap:4px}.giveaway-empty-copy strong{font-size:16px}.giveaway-empty-copy span{color:#aeb6c8;font-size:12.5px;line-height:1.5}

/* Profile stats less dominant */
.profile-stats.profile-stats-orders{gap:9px!important;margin-bottom:14px!important}
.profile-stats-orders .profile-stat{min-height:64px!important;padding:11px 13px!important;border-radius:14px!important}
.profile-stats-orders .profile-stat strong{font-size:22px!important}.profile-stats-orders .profile-stat span{font-size:10.5px!important}
.profile-grid-overview{grid-template-columns:1fr 1fr!important}
.profile-grid-overview>.profile-card{min-height:0!important}

/* Critical order list fix: no overlapping cards */
#profileActiveOrdersList.profile-orders-scroll,
#profileCompletedOrdersList.profile-orders-scroll{
  display:grid!important;
  grid-auto-flow:row!important;
  grid-auto-rows:max-content!important;
  align-content:start!important;
  gap:10px!important;
  max-height:390px!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  padding:2px 7px 2px 0!important;
}
#profileActiveOrdersList .profile-order-advanced,
#profileCompletedOrdersList .profile-order-advanced{
  position:relative!important;
  inset:auto!important;
  transform:none!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  min-height:0!important;
  height:auto!important;
  margin:0!important;
  padding:15px 16px!important;
  gap:11px!important;
  align-self:start!important;
  overflow:visible!important;
}
#profileActiveOrdersList .profile-order-head,
#profileCompletedOrdersList .profile-order-head{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:12px!important;align-items:start!important}
#profileActiveOrdersList .profile-order-footer,
#profileCompletedOrdersList .profile-order-footer{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:10px 12px!important;align-items:end!important;min-height:0!important}
#profileActiveOrdersList .profile-order-actions,
#profileCompletedOrdersList .profile-order-actions{display:flex!important;flex-wrap:wrap!important;justify-content:flex-end!important;align-items:center!important;gap:7px!important;min-width:0!important}
#profileCompletedOrdersList .profile-order-review-actions{display:contents!important}
#profileActiveOrdersList .profile-order-time,
#profileCompletedOrdersList .profile-order-time{display:grid!important;gap:3px!important;min-width:0!important}

/* Profile avatar dropdown */
.profile-avatar-wrap{position:relative}
.profile-avatar-button{border:0!important;cursor:pointer!important;color:#fff!important}
.profile-avatar-menu{position:absolute;top:calc(100% + 9px);left:0;z-index:50;width:190px;padding:7px;border-radius:14px;background:#111722;border:1px solid rgba(255,255,255,.09);box-shadow:0 18px 40px rgba(0,0,0,.32)}
.profile-avatar-menu[hidden]{display:none!important}
.profile-avatar-menu button{width:100%;min-height:38px;padding:0 11px;text-align:left;border:0;border-radius:10px;background:transparent;color:#dce1ef;font:inherit;font-size:12px;font-weight:800;cursor:pointer}
.profile-avatar-menu button:hover{background:rgba(255,255,255,.055)}.profile-avatar-menu button.danger{color:#ff9199}
.profile-actions{display:none!important}

/* Referral progress */
.referral-progress-track{overflow:hidden!important}#referralProgressBar{max-width:100%!important}

/* Frame language validation */
.frame-language-error{display:block;min-height:17px;margin-top:6px;color:#ff858d;font-size:10.5px;line-height:1.4}
.frame-language-error:empty{min-height:0;margin-top:0}

/* Chat */
.chat-modal-box.staff-view .chat-compose:before{content:none!important;display:none!important}
.chat-compose.is-closed{display:block!important;min-height:0!important;padding:12px 16px!important}
.chat-compose.is-closed #chatInput,
.chat-compose.is-closed #chatSendButton,
.chat-compose.is-closed #chatInputMeta{display:none!important}
.chat-compose.is-closed .chat-closed-banner{display:flex!important;position:static!important;width:100%!important;margin:0!important}
.chat-closed-banner[hidden]{display:none!important}
.chat-compose:not(.is-closed){display:grid!important;grid-template-columns:minmax(0,1fr) 130px!important;grid-template-areas:"input button" "meta meta"!important;align-items:center!important;gap:9px 10px!important;padding:12px 16px!important}
.chat-compose:not(.is-closed) #chatInput{grid-area:input!important;position:static!important}
.chat-compose:not(.is-closed) #chatSendButton{grid-area:button!important;position:static!important}
.chat-compose:not(.is-closed) #chatInputMeta{grid-area:meta!important;position:static!important;margin:0!important}

/* Responsive */
@media(max-width:900px){.profile-grid-overview{grid-template-columns:1fr!important}}
@media(max-width:720px){
  .production-preview-box{min-height:0!important}
  .giveaway-empty-compact{grid-template-columns:42px minmax(0,1fr)}
  .giveaway-empty-compact .btn{grid-column:1/-1;width:100%}
  #profileActiveOrdersList .profile-order-footer,#profileCompletedOrdersList .profile-order-footer{grid-template-columns:1fr!important}
  #profileActiveOrdersList .profile-order-actions,#profileCompletedOrdersList .profile-order-actions{justify-content:flex-start!important}
}



/* ============================================================
   SUBNOVA v83 — internal access / tester / operator / partners
   ============================================================ */

/* The old preview launcher is no longer the entry point. */
.preview-qa-launcher{display:none!important}

/* Internal dock: invisible on the public site. */
.internal-access-dock{
  position:fixed;
  left:18px;
  bottom:18px;
  z-index:10020;
  display:flex;
  align-items:center;
  gap:8px;
  padding:8px;
  border-radius:15px;
  background:rgba(14,18,27,.95);
  border:1px solid rgba(124,132,255,.20);
  box-shadow:0 16px 46px rgba(0,0,0,.42);
  backdrop-filter:blur(16px);
}
.internal-access-dock[hidden]{display:none!important}
.internal-role-pill{
  min-height:36px;
  padding:0 11px;
  display:flex;
  align-items:center;
  gap:7px;
  border-right:1px solid rgba(255,255,255,.08);
  color:#aeb7cc;
  font-size:10px;
  font-weight:900;
  white-space:nowrap;
}
.internal-role-pill i{
  width:8px;height:8px;border-radius:50%;background:#55d596;
  box-shadow:0 0 0 4px rgba(85,213,150,.08)
}
.internal-tool-btn{
  min-height:38px;
  padding:0 12px;
  border:1px solid rgba(255,255,255,.07);
  border-radius:10px;
  background:#151a24;
  color:#dce1ef;
  font:inherit;
  font-size:11px;
  font-weight:850;
  cursor:pointer;
  transition:.16s ease;
}
.internal-tool-btn:hover{background:#1b2230;border-color:rgba(120,130,255,.20)}
.internal-tool-btn.primary{
  background:linear-gradient(135deg,#5865f2,#756cff);
  border-color:transparent;
  color:white;
}
.internal-tool-btn[hidden]{display:none!important}

/* QA panel stays fixed and compact when opened by an authorized tester/owner. */
body.internal-role-tester.preview-mode .preview-qa-panel.open,
body.internal-role-owner.preview-mode .preview-qa-panel.open{
  display:grid!important;
  position:fixed!important;
  left:18px!important;
  bottom:70px!important;
  z-index:10030!important;
  width:min(430px,calc(100vw - 36px))!important;
  max-height:min(620px,calc(100vh - 100px))!important;
  overflow:auto!important;
  border-radius:16px!important;
}

/* Partner manager */
.partner-manager-box{
  width:min(1160px,96vw)!important;
  max-height:92vh!important;
  padding:0!important;
  overflow:hidden!important;
  border-radius:20px!important;
  background:#151a23!important;
}
.partner-manager-head{
  padding:22px 24px 18px!important;
  border-bottom:1px solid rgba(255,255,255,.065);
  background:#181e29;
}
.partner-manager-head h3{font-size:27px!important;margin:5px 0 7px!important}
.partner-manager-head p{margin:0;color:#a5aec0;font-size:13px;line-height:1.55;max-width:760px}
.partner-manager-body{
  display:grid;
  grid-template-columns:minmax(0,430px) minmax(0,1fr);
  min-height:610px;
  max-height:calc(92vh - 95px);
}
.partner-manager-left{
  padding:20px;
  border-right:1px solid rgba(255,255,255,.06);
  overflow:auto;
}
.partner-manager-right{
  padding:20px;
  overflow:auto;
}
.internal-section-title{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px;
}
.internal-section-title strong{font-size:17px}
.internal-section-title span{display:block;margin-top:3px;color:#7f899d;font-size:11px;line-height:1.45}
.internal-field{display:grid;gap:7px;margin-bottom:12px}
.internal-field label{font-size:11px;font-weight:850;color:#aeb6c8}
.internal-field input,
.internal-field select,
.internal-field textarea{
  width:100%;
  min-height:43px;
  padding:0 13px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.075);
  outline:0;
  background:#0f141d;
  color:#eef1fb;
  font:inherit;
  font-size:12px;
}
.internal-field textarea{min-height:84px;padding:11px 13px;resize:vertical;line-height:1.5}
.internal-field input:focus,
.internal-field select:focus,
.internal-field textarea:focus{border-color:rgba(102,113,255,.45);box-shadow:0 0 0 3px rgba(88,101,242,.08)}
.internal-inline{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:8px;
}
.internal-btn{
  min-height:43px;
  padding:0 13px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.07);
  background:#171d28;
  color:#e3e7f3;
  font:inherit;
  font-size:11.5px;
  font-weight:850;
  cursor:pointer;
}
.internal-btn:hover{background:#1d2532}
.internal-btn.primary{background:linear-gradient(135deg,#5865f2,#766cff);border-color:transparent;color:#fff}
.internal-btn.danger{color:#ff969d;border-color:rgba(255,100,110,.14);background:rgba(110,28,34,.14)}
.internal-preview-note{
  padding:10px 12px;
  margin:10px 0 14px;
  border-radius:10px;
  color:#9ba5ba;
  background:rgba(88,101,242,.055);
  border:1px solid rgba(112,123,255,.10);
  font-size:10.5px;
  line-height:1.5;
}
.partner-resolve-preview{
  display:none;
  margin-top:13px;
  padding:14px;
  border-radius:13px;
  background:#0f141d;
  border:1px solid rgba(255,255,255,.065);
}
.partner-resolve-preview.show{display:grid;gap:11px}
.partner-resolve-top{
  display:grid;
  grid-template-columns:48px minmax(0,1fr) auto;
  gap:11px;
  align-items:center;
}
.partner-platform-icon{
  width:48px;height:48px;display:grid;place-items:center;border-radius:13px;
  background:rgba(88,101,242,.12);border:1px solid rgba(113,124,255,.14);
  font-size:21px
}
.partner-resolve-top strong{font-size:15px}
.partner-resolve-top span{display:block;color:#7f899e;font-size:10.5px;margin-top:3px}
.partner-audience-chip{
  min-height:30px;padding:0 9px;display:flex;align-items:center;border-radius:9px;
  background:rgba(67,209,141,.09);color:#73dda7;font-size:10px;font-weight:900;white-space:nowrap
}
.partner-resolve-description{color:#aab3c6;font-size:11.5px;line-height:1.55}
.partner-ref-preview{
  padding:9px 10px;border-radius:9px;background:rgba(255,255,255,.025);
  color:#9fa8bc;font-size:10.5px;word-break:break-all
}

/* Giveaway config */
.partner-giveaway-panel{
  margin-top:15px;
  padding:14px;
  border-radius:13px;
  background:#101620;
  border:1px solid rgba(255,255,255,.06);
}
.partner-giveaway-panel h4{margin:0 0 12px;font-size:14px}
.partner-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.partner-form-grid .internal-field{margin:0}
.partner-form-grid .span-2{grid-column:1/-1}
.partner-manager-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:14px}

/* Saved partners */
.internal-partner-list{display:grid;gap:10px}
.internal-partner-empty{
  min-height:180px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  border-radius:14px;
  border:1px dashed rgba(115,125,255,.17);
  background:#10151e;
  color:#8f99ad;
  text-align:center;
  font-size:12px;
  line-height:1.6
}
.internal-partner-card{
  display:grid;
  grid-template-columns:50px minmax(0,1fr) auto;
  gap:12px;
  padding:14px;
  border-radius:13px;
  background:#0f141d;
  border:1px solid rgba(255,255,255,.065);
}
.internal-partner-card .partner-platform-icon{width:50px;height:50px}
.internal-partner-main{min-width:0}
.internal-partner-title{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.internal-partner-title strong{font-size:14px}
.partner-kind-chip{
  padding:4px 7px;border-radius:999px;background:rgba(88,101,242,.10);color:#abb3ff;
  font-size:9px;font-weight:900;text-transform:uppercase
}
.partner-published-chip{
  padding:4px 7px;border-radius:999px;background:rgba(67,209,141,.08);color:#73dda7;font-size:9px;font-weight:900
}
.internal-partner-meta{
  display:flex;gap:6px 12px;flex-wrap:wrap;margin-top:5px;color:#7f899d;font-size:10px
}
.internal-partner-desc{margin-top:7px;color:#aab3c6;font-size:11px;line-height:1.45}
.partner-giveaway-summary{
  margin-top:8px;padding:8px 9px;border-radius:9px;background:rgba(255,255,255,.025);
  color:#adb5c7;font-size:10px;line-height:1.5
}
.partner-giveaway-summary.active{background:rgba(160,105,255,.075);color:#cbb8ff}
.internal-partner-actions{display:flex;gap:6px;align-items:flex-start;flex-wrap:wrap;justify-content:flex-end}
.internal-partner-actions button{
  min-height:34px;padding:0 9px;border-radius:9px;border:1px solid rgba(255,255,255,.07);
  background:#161c27;color:#cfd5e3;font:inherit;font-size:10px;font-weight:850;cursor:pointer
}
.internal-partner-actions button:hover{background:#1d2532}
.internal-partner-actions button.delete{color:#ff9199;border-color:rgba(255,104,112,.12)}

/* Public partner cards populated from internal manager */
.partner-live-card{
  flex:0 0 min(360px,100%);
  min-height:185px;
  display:flex;
  flex-direction:column;
  padding:16px;
  border-radius:16px;
  background:linear-gradient(180deg,#161b25,#11161f);
  border:1px solid rgba(255,255,255,.065);
}
.partner-live-top{display:flex;gap:11px;align-items:center}
.partner-live-top .partner-platform-icon{width:44px;height:44px}
.partner-live-top strong{font-size:14px}
.partner-live-top span{display:block;margin-top:2px;color:#7f899d;font-size:10px}
.partner-live-description{
  margin:12px 0;color:#a8b1c4;font-size:11px;line-height:1.5;
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden
}
.partner-live-bottom{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:10px}
.partner-live-giveaway{
  min-height:28px;padding:0 8px;display:flex;align-items:center;border-radius:8px;
  background:rgba(255,255,255,.035);color:#929cb0;font-size:9.5px;font-weight:850
}
.partner-live-giveaway.active{background:rgba(156,103,255,.10);color:#c9b4ff}
.partner-live-link{
  min-height:32px;padding:0 10px;display:inline-flex;align-items:center;border-radius:9px;
  background:#1a202c;border:1px solid rgba(255,255,255,.065);color:#e2e6f2;
  font-size:10px;font-weight:850;text-decoration:none
}
.partner-live-empty{
  flex:0 0 100%;
  min-height:120px;
  display:flex;align-items:center;justify-content:center;padding:20px;
  border-radius:14px;border:1px dashed rgba(117,127,255,.14);color:#7f899c;font-size:11px
}

@media(max-width:900px){
  .partner-manager-body{grid-template-columns:1fr;max-height:calc(92vh - 95px)}
  .partner-manager-left{border-right:0;border-bottom:1px solid rgba(255,255,255,.06)}
}
@media(max-width:640px){
  .internal-access-dock{left:10px;right:10px;bottom:10px;overflow:auto}
  .internal-role-pill{display:none}
  .partner-form-grid{grid-template-columns:1fr}
  .partner-form-grid .span-2{grid-column:auto}
  .internal-partner-card{grid-template-columns:44px minmax(0,1fr)}
  .internal-partner-actions{grid-column:1/-1;justify-content:flex-start}
}



body.preview-mode .preview-qa-launcher,
body .preview-qa-launcher{display:none!important}
body .preview-qa-panel:not(.open){display:none!important}
body:not(.internal-role-owner):not(.internal-role-tester) .preview-qa-panel{display:none!important}
.preview-qa-head>div{gap:0!important}

.partner-manager-box{
  width:min(1160px,96vw)!important;
  height:min(820px,94dvh)!important;
  max-height:94dvh!important;
  min-height:0!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important
}
.partner-manager-head{flex:0 0 auto!important}
.partner-manager-body{
  flex:1 1 auto!important;
  min-height:0!important;
  height:auto!important;
  max-height:none!important;
  overflow:hidden!important
}
.partner-manager-left,.partner-manager-right{
  min-height:0!important;
  max-height:none!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  overscroll-behavior:contain;
  scrollbar-gutter:stable
}
.partner-manager-left::-webkit-scrollbar,.partner-manager-right::-webkit-scrollbar{width:8px}
.partner-manager-left::-webkit-scrollbar-track,.partner-manager-right::-webkit-scrollbar-track{background:rgba(255,255,255,.025);border-radius:999px}
.partner-manager-left::-webkit-scrollbar-thumb,.partner-manager-right::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#5865f2,#8b6aff);border-radius:999px}

.partner-manager-actions{
  position:sticky!important;
  bottom:-20px!important;
  z-index:4;
  margin:16px -20px -20px!important;
  padding:14px 20px 20px!important;
  background:linear-gradient(180deg,rgba(21,26,35,.72),#151a23 26%);
  border-top:1px solid rgba(255,255,255,.065);
  backdrop-filter:blur(10px)
}
.partner-audience-chip.metadata-pending{color:#aab2c6!important;background:rgba(255,255,255,.045)!important}
.partner-audience-chip.metadata-real{color:#73dda7!important;background:rgba(67,209,141,.09)!important}
.partner-platform-icon img{width:100%;height:100%;object-fit:cover;border-radius:12px;display:block}
.partner-meta-source{display:block;margin-top:4px;color:#778197;font-size:9.5px;font-weight:750}
.partner-meta-source.real{color:#70d9a3}

@media(max-width:900px){
  .partner-manager-box{height:94dvh!important}
  .partner-manager-body{display:block!important;overflow-y:auto!important}
  .partner-manager-left,.partner-manager-right{overflow:visible!important;min-height:auto!important}
  .partner-manager-left{border-right:0!important;border-bottom:1px solid rgba(255,255,255,.06)}
  .partner-manager-actions{bottom:0!important}
}



.public-giveaway-active{position:relative;overflow:hidden;padding:30px;display:grid;grid-template-columns:1.15fr .85fr;gap:24px;align-items:center;border-radius:26px;background:linear-gradient(135deg,rgba(18,22,34,.98),rgba(31,36,58,.96));border:1px solid rgba(255,255,255,.08);box-shadow:0 24px 40px rgba(7,12,22,.28)}
.public-giveaway-active::before{content:"";position:absolute;inset:-20% auto auto -10%;width:260px;height:260px;border-radius:50%;background:radial-gradient(circle,rgba(88,101,242,.18),transparent 70%)}
.public-giveaway-copy{position:relative;z-index:2}.public-giveaway-note{display:inline-flex;align-items:center;gap:8px;padding:9px 12px;border-radius:999px;background:rgba(88,101,242,.12);border:1px solid rgba(124,132,255,.18);font-size:11px;font-weight:900;margin-bottom:13px}
.public-giveaway-copy h3{margin:0 0 10px;font-size:36px;line-height:1.07;letter-spacing:-1px}.public-giveaway-copy p{margin:0;color:#c8d0e6;line-height:1.62;font-size:14px;max-width:620px}
.public-giveaway-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:18px 0}.public-giveaway-metric{padding:11px 12px;border-radius:13px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.06);display:grid;gap:3px}
.public-giveaway-metric strong{font-size:17px}.public-giveaway-metric span{font-size:9.5px;color:#8f99ad;text-transform:uppercase;font-weight:850}.public-giveaway-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}
.public-giveaway-status{font-size:11px;color:#9ba5ba}.public-giveaway-status.success{color:#6fdaa5}.public-giveaway-status.warn{color:#f1cb79}
.public-giveaway-visual{min-height:300px;display:flex;align-items:end;justify-content:center;position:relative}.public-giveaway-visual img{width:min(100%,350px);height:auto;object-fit:contain;filter:drop-shadow(0 18px 24px rgba(88,101,242,.18));position:relative;z-index:2}
.public-giveaway-visual::before{content:"";position:absolute;inset:auto 20px 16px;height:72px;border-radius:50%;background:radial-gradient(circle,rgba(88,101,242,.22),transparent 70%);filter:blur(18px)}
.giveaway-results-preview{margin-top:12px;padding:10px 12px;border-radius:12px;background:rgba(67,209,141,.06);border:1px solid rgba(67,209,141,.10);color:#a8d9be;font-size:11px;line-height:1.5}

.giveaway-manager-box{width:min(1180px,96vw)!important;height:min(840px,94dvh)!important;max-height:94dvh!important;padding:0!important;overflow:hidden!important;display:flex!important;flex-direction:column!important}
.giveaway-manager-head{flex:0 0 auto;padding:22px 24px 18px!important;background:#181e29;border-bottom:1px solid rgba(255,255,255,.065)}.giveaway-manager-head h3{font-size:28px!important;margin:5px 0 7px!important}.giveaway-manager-head p{margin:0;color:#a5aec0;font-size:12.5px;line-height:1.55;max-width:820px}
.giveaway-manager-body{display:grid;grid-template-columns:minmax(0,470px) minmax(0,1fr);flex:1 1 auto;min-height:0;overflow:hidden}.giveaway-manager-create,.giveaway-manager-current{padding:20px;min-height:0;overflow-y:auto;overflow-x:hidden}.giveaway-manager-create{border-right:1px solid rgba(255,255,255,.06)}
.giveaway-manager-actions{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap;margin-top:14px}
.gm-summary{padding:15px;border-radius:14px;background:#0f141d;border:1px solid rgba(255,255,255,.065);display:grid;gap:12px}.gm-summary-top{display:flex;justify-content:space-between;gap:12px;align-items:start}.gm-summary-top h4{margin:0;font-size:18px}.gm-summary-top p{margin:4px 0 0;color:#8e98ac;font-size:10.5px}
.gm-status-chip{padding:5px 8px;border-radius:999px;font-size:9.5px;font-weight:900;background:rgba(255,255,255,.05);color:#aeb6c7}.gm-status-chip.active{background:rgba(67,209,141,.09);color:#70daa5}.gm-status-chip.scheduled{background:rgba(88,101,242,.10);color:#aeb6ff}
.gm-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.gm-kpi{padding:10px;border-radius:11px;background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.055);display:grid;gap:3px}.gm-kpi strong{font-size:17px}.gm-kpi span{color:#7f899d;font-size:9px}
.gm-winners-title{margin:3px 0 -3px;font-size:12px;color:#b6bfd0;font-weight:900}.gm-winners{display:grid;gap:8px}.gm-winner{padding:11px;border-radius:11px;background:#141a24;border:1px solid rgba(255,255,255,.055);display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center}.gm-winner.replaced{opacity:.62}
.gm-winner-main{display:grid;gap:3px}.gm-winner-main strong{font-size:12.5px}.gm-winner-main span{font-size:9.5px;color:#7f899d}.gm-winner-actions{display:flex;gap:6px}.gm-winner-actions button{min-height:31px;padding:0 8px;border-radius:8px;border:1px solid rgba(255,255,255,.07);background:#171d28;color:#d8deec;font:inherit;font-size:9.5px;font-weight:850;cursor:pointer}.gm-winner-actions button.replace{color:#ffc275}
.gm-history{display:grid;gap:7px}.gm-history-row{padding:9px 10px;border-radius:10px;background:rgba(255,255,255,.025);font-size:10px;color:#909aaf;display:flex;justify-content:space-between;gap:10px}.winner-replacement-box{width:min(520px,96vw)!important}

.owner-stats-box{width:min(1220px,96vw)!important;height:min(860px,94dvh)!important;max-height:94dvh!important;padding:0!important;overflow:hidden!important;display:flex!important;flex-direction:column!important}.owner-stats-head{flex:0 0 auto;padding:22px 24px 18px!important;background:#181e29;border-bottom:1px solid rgba(255,255,255,.065)}.owner-stats-head h3{font-size:28px!important;margin:5px 0 7px!important}.owner-stats-head p{margin:0;color:#a5aec0;font-size:12.5px}.owner-stats-body{padding:20px;overflow-y:auto;min-height:0}
.owner-stat-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin-bottom:16px}.owner-stat-card{padding:14px;border-radius:13px;background:#10151e;border:1px solid rgba(255,255,255,.06);display:grid;gap:5px;min-width:0}.owner-stat-card strong{font-size:23px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.owner-stat-card span{font-size:9.5px;color:#7f899d;text-transform:uppercase;font-weight:850}.owner-stat-card.positive strong{color:#74dca8}.owner-stat-card.warn strong{color:#efcb7f}
.owner-stats-columns{display:grid;grid-template-columns:1.35fr .65fr;gap:12px}.owner-stats-section{padding:15px;border-radius:14px;background:#111720;border:1px solid rgba(255,255,255,.06);margin-bottom:12px}.owner-table-wrap{overflow:auto}.owner-table{width:100%;border-collapse:collapse;font-size:10.5px}.owner-table th,.owner-table td{text-align:left;padding:9px 8px;border-bottom:1px solid rgba(255,255,255,.055);white-space:nowrap}.owner-table th{color:#7f899d;font-size:9px;text-transform:uppercase}
.cost-settings-grid{display:grid;gap:8px}.cost-settings-grid label{display:grid;grid-template-columns:minmax(0,1fr) 100px;gap:8px;align-items:center;color:#aeb6c8;font-size:10.5px}.cost-settings-grid input{min-height:36px;padding:0 9px;border-radius:8px;border:1px solid rgba(255,255,255,.07);background:#0e131b;color:#eef1fb;font:inherit}.owner-prize-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.owner-prize-card{padding:12px;border-radius:11px;background:#0f141d;border:1px solid rgba(255,255,255,.055);display:grid;gap:3px}.owner-prize-card strong{font-size:19px}.owner-prize-card span{color:#7f899d;font-size:9.5px}
.internal-access-dock{max-width:calc(100vw - 36px);overflow-x:auto}

@media(max-width:980px){.public-giveaway-active{grid-template-columns:1fr}.public-giveaway-visual{order:-1;min-height:220px}.giveaway-manager-body{grid-template-columns:1fr;overflow-y:auto}.giveaway-manager-create,.giveaway-manager-current{overflow:visible}.giveaway-manager-create{border-right:0;border-bottom:1px solid rgba(255,255,255,.06)}.owner-stat-grid{grid-template-columns:repeat(2,1fr)}.owner-stats-columns{grid-template-columns:1fr}}
@media(max-width:640px){.public-giveaway-active{padding:20px}.public-giveaway-copy h3{font-size:28px}.public-giveaway-metrics{grid-template-columns:1fr}.owner-stat-grid{grid-template-columns:1fr 1fr}.owner-prize-stats{grid-template-columns:1fr 1fr}}



/* Hero after-payment card removed */
.hero-grid{grid-template-columns:1fr!important}
.hero-box{max-width:none!important}

/* Only one internal modal at a time */
.modal.internal-switching{pointer-events:none}

/* Partner list — more expressive and easier to edit */
.internal-partner-card{
  grid-template-columns:58px minmax(0,1fr) auto!important;
  padding:16px!important;
  border-radius:16px!important;
  background:linear-gradient(145deg,#111720,#0d121a)!important;
  border:1px solid rgba(255,255,255,.065)!important;
}
.internal-partner-card:hover{border-color:rgba(110,120,255,.18)!important}
.internal-partner-card .partner-platform-icon{width:58px!important;height:58px!important;border-radius:16px!important}
.internal-partner-title strong{font-size:16px!important;letter-spacing:-.2px}
.internal-partner-desc{font-size:11.5px!important;line-height:1.55!important;max-width:680px}
.internal-partner-meta{font-size:10.5px!important;margin-top:7px!important}
.internal-partner-actions{align-self:center!important}
.internal-partner-actions button{min-height:36px!important;padding:0 10px!important}
.partner-edit-fields{margin-top:12px;padding:14px;border-radius:13px;background:#101620;border:1px solid rgba(255,255,255,.06)}
.partner-edit-fields[hidden]{display:none!important}

/* Product manager */
.product-manager-box{
  width:min(1160px,96vw)!important;height:min(800px,94dvh)!important;max-height:94dvh!important;
  padding:0!important;overflow:hidden!important;display:flex!important;flex-direction:column!important
}
.product-manager-head{padding:22px 24px 18px!important;background:#181e29;border-bottom:1px solid rgba(255,255,255,.065);flex:0 0 auto}
.product-manager-head h3{font-size:28px!important;margin:5px 0 7px!important}
.product-manager-head p{margin:0;color:#a5aec0;font-size:12.5px;line-height:1.55}
.product-manager-body{display:grid;grid-template-columns:1.12fr .88fr;flex:1 1 auto;min-height:0;overflow:hidden}
.product-manager-list,.product-manager-editor{padding:20px;overflow-y:auto;min-height:0}
.product-manager-list{border-right:1px solid rgba(255,255,255,.06)}
.product-manager-items{display:grid;gap:9px}
.product-manager-item{
  display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:13px 14px;border-radius:13px;
  background:#0f141d;border:1px solid rgba(255,255,255,.06)
}
.product-manager-item.is-hidden{opacity:.68}
.product-manager-item.is-archived{opacity:.48}
.pm-item-main{display:grid;gap:4px;min-width:0}
.pm-item-main strong{font-size:13.5px}.pm-item-main span{font-size:10px;color:#7f899d}
.pm-item-price{font-size:16px!important;color:#eff2fb!important;font-weight:900}
.pm-item-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.pm-item-actions button{min-height:33px;padding:0 9px;border-radius:8px;border:1px solid rgba(255,255,255,.07);background:#171d28;color:#d8deec;font:inherit;font-size:9.5px;font-weight:850;cursor:pointer}
.pm-item-actions button.danger{color:#ff929a;border-color:rgba(255,100,110,.13)}
.product-manager-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:14px}

/* Owner live rates */
.owner-market-rates{
  margin-bottom:14px;padding:15px;border-radius:15px;background:linear-gradient(145deg,#101620,#0d131c);
  border:1px solid rgba(255,255,255,.06)
}
.owner-market-rates-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:12px}
.owner-market-rates-head>div{display:grid;gap:3px}
.owner-market-rates-head strong{font-size:16px}.owner-market-rates-head span{color:#7f899d;font-size:10px}
.market-rate-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.market-rate-card{padding:13px;border-radius:12px;background:#0e131b;border:1px solid rgba(255,255,255,.055);display:grid;gap:4px}
.market-rate-card.featured{border-color:rgba(88,101,242,.18);background:linear-gradient(145deg,rgba(88,101,242,.08),#0e131b)}
.market-rate-card span{font-size:9.5px;text-transform:uppercase;font-weight:850;color:#818b9f}
.market-rate-card strong{font-size:23px}
.market-rate-card small{font-size:9.5px;color:#6f788c}

/* Dynamic added product cards */
.plan[data-managed-product="custom"]{min-height:0}
.plan.is-owner-hidden{display:none!important}

/* Public/owner product config should never show archived cards */
.plan[data-product-archived="true"]{display:none!important}

@media(max-width:900px){
  .product-manager-body{grid-template-columns:1fr;overflow-y:auto}
  .product-manager-list,.product-manager-editor{overflow:visible}
  .product-manager-list{border-right:0;border-bottom:1px solid rgba(255,255,255,.06)}
  .market-rate-grid{grid-template-columns:1fr}
}



.internal-access-dock{
  left:50%!important;right:auto!important;top:82px!important;bottom:auto!important;
  transform:translateX(-50%)!important;width:auto!important;max-width:calc(100vw - 190px)!important;
  min-height:48px;padding:7px!important;border-radius:14px!important;display:flex;align-items:center;gap:7px!important;
  overflow-x:auto;overflow-y:hidden;transition:opacity .18s ease,transform .18s ease,visibility .18s ease
}
.internal-access-dock.is-collapsed{opacity:0!important;visibility:hidden!important;pointer-events:none!important;transform:translate(-50%,-12px)!important}
.internal-dock-toggle{
  position:fixed;z-index:10040;top:86px;right:18px;min-height:40px;padding:0 13px;display:flex;align-items:center;gap:7px;
  border:1px solid rgba(255,255,255,.085);border-radius:11px;background:rgba(14,18,27,.95);color:#e6eaf4;
  box-shadow:0 12px 34px rgba(0,0,0,.35);backdrop-filter:blur(16px);font:inherit;font-size:10.5px;font-weight:900;cursor:pointer
}
.internal-dock-toggle[hidden]{display:none!important}.internal-dock-toggle:hover{background:#181e29;border-color:rgba(112,122,255,.22)}
.internal-dock-toggle-icon{font-size:14px}.internal-tool-btn{white-space:nowrap;min-height:36px!important;padding:0 11px!important}.internal-role-pill{min-height:36px!important}
.bybit-filter-summary{display:flex;flex-wrap:wrap;gap:7px;margin:-2px 0 12px}
.bybit-filter-summary span{display:inline-flex;align-items:center;min-height:28px;padding:0 9px;border-radius:999px;background:rgba(88,101,242,.07);border:1px solid rgba(112,123,255,.10);color:#aeb7cb;font-size:9px;font-weight:850}
.auto-cost-table th:nth-child(n+2),.auto-cost-table td:nth-child(n+2){text-align:right}.auto-cost-table td:first-child{font-weight:800;color:#dfe4f1}
.auto-cost-usd{font-weight:900;color:#b9c1d4}.auto-cost-cbr{color:#aeb6c7}.auto-cost-bybit{font-weight:900;color:#75dba8}.auto-cost-bybit.unavailable{color:#7f899d;font-weight:750}
.auto-cost-note{margin-top:10px;padding:9px 10px;border-radius:10px;background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.05);color:#7f899d;font-size:9.5px;line-height:1.5}
.owner-stats-columns{grid-template-columns:1.05fr .95fr!important}
@media(max-width:1000px){
  .internal-access-dock{left:12px!important;right:92px!important;top:78px!important;transform:none!important;max-width:none!important}
  .internal-access-dock.is-collapsed{transform:translateY(-12px)!important}.internal-dock-toggle{top:80px;right:10px}.owner-stats-columns{grid-template-columns:1fr!important}
}



/* ------------------------------------------------------------
   Internal toolbar: vertical left rail, outside the content flow.
   ------------------------------------------------------------ */
.internal-access-dock{
  left:18px!important;
  right:auto!important;
  top:50%!important;
  bottom:auto!important;
  transform:translateY(-50%)!important;
  width:170px!important;
  max-width:170px!important;
  min-height:0!important;
  padding:8px!important;
  border-radius:15px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  gap:7px!important;
  overflow:visible!important;
  transition:opacity .18s ease,transform .18s ease,visibility .18s ease!important;
}
.internal-access-dock.is-collapsed{
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
  transform:translate(-14px,-50%)!important;
}
.internal-role-pill{
  width:100%!important;
  min-height:38px!important;
  padding:0 10px!important;
  justify-content:flex-start!important;
  border-right:0!important;
  border-bottom:1px solid rgba(255,255,255,.07)!important;
}
.internal-tool-btn{
  width:100%!important;
  min-height:38px!important;
  padding:0 10px!important;
  text-align:left!important;
  white-space:nowrap!important;
}
.internal-dock-toggle{
  left:18px!important;
  right:auto!important;
  top:calc(50% - 248px)!important;
  transform:none!important;
  min-width:42px!important;
  min-height:40px!important;
  padding:0 10px!important;
}
.internal-dock-toggle #internalDockToggleText{display:none!important}
.internal-dock-toggle[aria-expanded="false"]{
  top:50%!important;
  transform:translateY(-50%)!important;
}
.internal-dock-toggle[aria-expanded="false"] #internalDockToggleText{display:none!important}

/* ------------------------------------------------------------
   Hero chibi in the free area opposite the headline.
   ------------------------------------------------------------ */
.hero-box{position:relative!important;overflow:hidden!important}
.hero-chibi{
  position:absolute;
  z-index:3;
  left:66%;
  top:50%;
  transform:translate(-50%,-50%);
  width:clamp(250px,22vw,360px);
  pointer-events:none;
  filter:drop-shadow(0 18px 28px rgba(104,78,255,.20));
}
.hero-chibi img{
  display:block;
  width:100%;
  height:auto;
  object-fit:contain;
}
.hero-brand-kicker,
.hero-box>h1,
.hero-box>p,
.hero-box>.hero-actions,
.hero-box>.hero-trust-row{
  position:relative;
  z-index:4;
}
.hero-box>h1,
.hero-box>p{max-width:560px!important}
.hero-art{z-index:2!important}

/* ------------------------------------------------------------
   Client chat: staff/customer profile panel exists only in staff view.
   ------------------------------------------------------------ */
.chat-modal-box:not(.staff-view) .chat-sidebar{
  display:none!important;
}
.chat-modal-box:not(.staff-view) .chat-layout{
  grid-template-columns:minmax(0,1fr)!important;
}
.chat-modal-box:not(.staff-view) .chat-main{
  width:100%!important;
}
.chat-modal-box:not(.staff-view) .chat-log{
  max-width:none!important;
}

/* Make staff panel explicitly employee-only. */
.chat-modal-box.staff-view .chat-sidebar{display:block!important}

/* Registration gate message */
.checkout-account-required{
  margin:0 0 13px;
  padding:12px 14px;
  border-radius:13px;
  border:1px solid rgba(88,101,242,.16);
  background:rgba(88,101,242,.07);
  color:#cdd3f8;
  font-size:12px;
  line-height:1.55;
}
.checkout-account-required strong{color:#fff}
.auth-legal-check span{line-height:1.55!important}

@media(max-width:1180px){
  .hero-chibi{left:70%;width:280px}
}
@media(max-width:960px){
  .hero-chibi{
    position:relative;
    left:auto;top:auto;
    transform:none;
    width:min(330px,78vw);
    margin:18px auto -8px;
  }
  .hero-art{opacity:.55}
}
@media(max-width:760px){
  .internal-access-dock{
    left:10px!important;
    width:154px!important;
    max-width:154px!important;
  }
  .internal-dock-toggle{left:10px!important}
}



/* Staff-only image sending */
.chat-compose:not(.is-closed){
  grid-template-columns:minmax(0,1fr) auto 118px!important;
}
.staff-image-upload{
  display:none;
  min-height:44px;
  padding:0 12px;
  border-radius:10px;
  align-items:center;
  justify-content:center;
  gap:6px;
  border:1px solid rgba(255,255,255,.07);
  background:#101620;
  color:#cfd5e4;
  cursor:pointer;
  font-size:10px;
  font-weight:850;
  white-space:nowrap;
}
.chat-modal-box.staff-view .staff-image-upload{display:flex}
.chat-modal-box.staff-view.chat-closed .staff-image-upload,
.chat-compose.is-closed .staff-image-upload{display:none!important}
.staff-image-upload:hover{border-color:rgba(112,123,255,.25);background:#151b27}
.staff-image-upload span{font-size:16px}
.chat-image-message{max-width:min(560px,84%)!important}
.chat-image-link{display:block;margin:4px 0 6px}
.chat-image-link img{
  display:block;
  max-width:min(420px,100%);
  max-height:420px;
  border-radius:14px;
  object-fit:contain;
  background:#0b1018;
  border:1px solid rgba(255,255,255,.07);
}
.chat-image-name{font-size:9.5px;color:#7e889b}
.credential-row{display:grid!important;grid-template-columns:74px minmax(0,1fr) auto!important;gap:8px!important;align-items:center!important}
.credential-copy-btn{
  min-height:30px;padding:0 9px;border-radius:8px;border:1px solid rgba(112,123,255,.16);
  background:rgba(88,101,242,.08);color:#bcc3ff;font:inherit;font-size:9px;font-weight:900;cursor:pointer
}
.manual-copy-note{color:#697388!important;font-size:8.5px!important}

/* Refund status */
.employee-status.refund{background:rgba(255,172,74,.08)!important;color:#f2c274!important}
.refund-confirm-btn{background:linear-gradient(135deg,#1f9f69,#43d18d)!important;border:0!important}

/* Finance / pricing */
.finance-target-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 12px}
.finance-target-controls label{padding:10px;border-radius:11px;background:#0e141d;border:1px solid rgba(255,255,255,.055);display:grid;gap:7px}
.finance-target-controls label>span{font-size:9.5px;color:#8993a7;font-weight:800}
.finance-target-controls label>div{display:flex;align-items:center;gap:6px}
.finance-target-controls input{width:100%;min-width:0;min-height:36px;padding:0 9px;border-radius:8px;border:1px solid rgba(255,255,255,.07);background:#0a0f17;color:#fff;font:inherit;font-size:12px}
.finance-target-controls b{font-size:11px;color:#7f899d}
.auto-cost-table{min-width:920px}
.price-warning{color:#ff999f!important;font-weight:900}
.price-ok{color:#79dbaa!important;font-weight:900}

/* Team manager */
.team-manager-box{width:min(1120px,96vw)!important;height:min(820px,94dvh)!important;max-height:94dvh!important;padding:0!important;overflow:hidden!important;display:flex!important;flex-direction:column!important}
.team-manager-head{padding:22px 24px 18px!important;background:#181e29;border-bottom:1px solid rgba(255,255,255,.065)}
.team-manager-head h3{font-size:28px!important;margin:5px 0 7px!important}
.team-manager-head p{margin:0;color:#a5aec0;font-size:12.5px;line-height:1.55;max-width:820px}
.team-manager-body{display:grid;grid-template-columns:.78fr 1.22fr;flex:1 1 auto;min-height:0;overflow:hidden}
.team-create-card,.team-list-card{padding:20px;overflow-y:auto;min-height:0}
.team-create-card{border-right:1px solid rgba(255,255,255,.06)}
.team-security-note{margin-top:12px;padding:12px;border-radius:12px;background:rgba(88,101,242,.06);border:1px solid rgba(112,123,255,.11);display:grid;gap:5px}
.team-security-note strong{font-size:11px}.team-security-note span{font-size:10px;line-height:1.55;color:#9ba5bb}
.team-manager-actions{display:flex;justify-content:flex-end;margin-top:13px}
.team-list{display:grid;gap:9px}
.team-member{
  display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:13px 14px;border-radius:13px;
  background:#0f141d;border:1px solid rgba(255,255,255,.06)
}
.team-member-main{display:grid;gap:5px;min-width:0}
.team-member-top{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.team-member-top strong{font-size:13.5px}
.team-role-chip,.team-status-chip{padding:4px 7px;border-radius:999px;font-size:8.5px;font-weight:900}
.team-role-chip{background:rgba(88,101,242,.09);color:#b6bdff}
.team-status-chip.pending{background:rgba(255,188,76,.08);color:#efc77e}
.team-status-chip.activation{background:rgba(104,122,255,.10);color:#b9c2ff}
.team-status-chip.active{background:rgba(67,209,141,.09);color:#79dda9}
.team-status-chip.suspended{background:rgba(237,66,69,.08);color:#ff999f}
.team-member-meta{display:flex;gap:7px 12px;flex-wrap:wrap;color:#7f899d;font-size:9.5px}
.team-member-stats{display:flex;gap:6px;flex-wrap:wrap}
.team-member-stats span{padding:5px 7px;border-radius:8px;background:rgba(255,255,255,.025);color:#9ba5b8;font-size:8.5px}
.team-member-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.team-member-actions button{min-height:33px;padding:0 9px;border-radius:8px;border:1px solid rgba(255,255,255,.07);background:#171d28;color:#d8deec;font:inherit;font-size:9px;font-weight:900;cursor:pointer}
.team-member-actions button.primary{background:rgba(88,101,242,.13);color:#c8cdff;border-color:rgba(112,123,255,.17)}
.team-member-actions button.danger{color:#ff999f;border-color:rgba(237,66,69,.13)}
.team-activation-code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;color:#eff1ff!important;font-weight:900!important}

@media(max-width:900px){
  .chat-compose:not(.is-closed){grid-template-columns:minmax(0,1fr) auto!important}
  .chat-compose:not(.is-closed) #chatSendButton{grid-column:1/-1;width:100%!important}
  .team-manager-body{grid-template-columns:1fr;overflow-y:auto}
  .team-create-card,.team-list-card{overflow:visible}
  .team-create-card{border-right:0;border-bottom:1px solid rgba(255,255,255,.06)}
  .finance-target-controls{grid-template-columns:1fr}
}



.finance-product-name{display:block;font-weight:850;color:#dfe4f1;white-space:nowrap}
.finance-product-status{display:block;margin-top:3px;color:#727c90;font-size:8.5px;font-weight:750}



.notification-sound-toggle{
  min-height:42px;padding:0 11px;border-radius:12px;border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.025);color:#dbe0ed;font:inherit;font-size:10.5px;font-weight:900;
  display:inline-flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;transition:.18s ease
}
.notification-sound-toggle:hover{background:rgba(88,101,242,.10);border-color:rgba(124,132,255,.20)}
.notification-sound-toggle.muted{opacity:.66}
.notification-sound-toggle span:first-child{font-size:14px}
.v83-toast-stack{position:fixed;right:18px;top:84px;z-index:12000;display:grid;gap:8px;pointer-events:none;width:min(360px,calc(100vw - 28px))}
.v83-toast{opacity:0;transform:translateY(-7px);padding:11px 13px;border-radius:12px;background:rgba(16,21,30,.97);border:1px solid rgba(255,255,255,.075);box-shadow:0 18px 44px rgba(0,0,0,.34);color:#dfe4ef;font-size:11px;line-height:1.45;transition:.2s ease;backdrop-filter:blur(18px)}
.v83-toast.show{opacity:1;transform:none}.v83-toast.success{border-color:rgba(67,209,141,.18);color:#b8edd1}.v83-toast.error{border-color:rgba(237,66,69,.20);color:#ffbdc1}.v83-toast.info{border-color:rgba(88,101,242,.20)}
.brand-logo-img,.hero-chibi img,.giveaway-sticker,.public-giveaway-visual img{-webkit-user-drag:none;user-select:none;-webkit-user-select:none}
@media(max-width:760px){.notification-sound-label{display:none}.notification-sound-toggle{width:42px;padding:0}.v83-toast-stack{right:10px;top:72px}}


/* SUBNOVA v86 discounts */

/* SUBNOVA v86 — discount card accents only; large standalone discounts block removed. */
/* Main catalog card: make discounts unmistakable. */
.plan{position:relative}
.plan.has-discount{
  border-color:rgba(255,91,112,.22)!important;
  background:
    radial-gradient(circle at 100% 0%,rgba(255,79,113,.10),transparent 28%),
    linear-gradient(180deg,rgba(25,22,34,.99),rgba(15,18,26,.99))!important;
  box-shadow:0 22px 54px rgba(88,45,82,.18)!important;
}
.plan.has-discount .plan-accent{
  background:linear-gradient(90deg,#ff4b6d,#ff9c3f,#9c63ff)!important;
  box-shadow:0 8px 24px rgba(255,79,103,.24)!important;
}
.plan-discount-corner{
  position:absolute;
  z-index:8;
  top:13px;
  right:14px;
  display:inline-flex;
  align-items:center;
  min-height:29px;
  padding:0 9px;
  border-radius:999px;
  color:#fff;
  font-size:10px;
  font-weight:950;
  background:linear-gradient(135deg,#ff3d65,#ff9b3f);
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 10px 22px rgba(255,66,99,.24);
}
.plan.has-discount .price{
  padding:10px 12px 11px;
  margin-left:-4px!important;
  margin-right:-4px!important;
  border-radius:14px;
  border:1px solid rgba(255,88,112,.11);
  background:linear-gradient(90deg,rgba(255,69,106,.075),rgba(255,176,60,.035),transparent);
}
.plan.has-discount .price strong{
  color:#fff!important;
  text-shadow:0 0 24px rgba(255,106,120,.12);
}
.old{
  position:relative;
}
.plan.has-discount .old{
  display:inline-flex!important;
  align-items:center;
  gap:5px;
  margin-top:8px!important;
  padding:5px 8px;
  border-radius:9px;
  color:#ffb4bd!important;
  background:rgba(255,72,98,.105);
  border:1px solid rgba(255,90,110,.14);
  text-decoration:line-through;
  text-decoration-color:#ff5067;
  text-decoration-thickness:2px;
  font-size:12px!important;
  font-weight:900!important;
}
.plan.has-discount .old::before{
  content:"Было";
  text-decoration:none;
  color:#ff7b8d;
  font-size:8px;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.4px;
}
.plan-saving-line{
  display:block;
  margin-top:6px;
  color:#ffc875;
  font-size:9px;
  font-weight:850;
}

/* Product manager: dedicated Discounts tab. */
.product-manager-tabs{
  display:flex;
  gap:7px;
  margin:0 0 12px;
  padding:4px;
  border-radius:12px;
  background:#0d131c;
  border:1px solid rgba(255,255,255,.055);
}
.product-manager-tab{
  flex:1;
  min-height:37px;
  border:0;
  border-radius:9px;
  background:transparent;
  color:#8993a7;
  font:inherit;
  font-size:10px;
  font-weight:900;
  cursor:pointer;
}
.product-manager-tab b{
  margin-left:5px;
  color:#cdd3e2;
}
.product-manager-tab.active{
  color:#fff;
  background:#171e2a;
  box-shadow:0 7px 17px rgba(0,0,0,.17);
}
.product-manager-tab.discount.active{
  color:#fff3f4;
  background:linear-gradient(135deg,rgba(255,64,101,.16),rgba(255,143,60,.10));
  box-shadow:inset 0 0 0 1px rgba(255,91,110,.11),0 7px 17px rgba(0,0,0,.17);
}
.product-manager-item.has-discount{
  border-color:rgba(255,83,108,.16)!important;
  background:linear-gradient(145deg,rgba(255,70,103,.055),#0f141d)!important;
}
.pm-item-discount{
  display:inline-flex;
  align-items:center;
  width:max-content;
  max-width:100%;
  min-height:23px;
  padding:0 7px;
  border-radius:7px;
  background:rgba(255,73,101,.09);
  border:1px solid rgba(255,87,107,.12);
  color:#ffb0ba;
  font-size:8.5px;
  font-weight:900;
}
.pm-discount-hint{
  display:block;
  margin-top:6px;
  color:#707b90;
  font-size:8.5px;
  line-height:1.45;
}
.pm-discount-hint.active{color:#ffbd79}
.pm-discount-hint.invalid{color:#ff8f9b}

@media(max-width:900px){
  .discount-grid{grid-template-columns:1fr}
}



/* SUBNOVA v86 — live product profit */
.auto-cost-profit{font-weight:950}
.auto-cost-profit.profit-positive{color:#78dda9}
.auto-cost-profit.profit-negative{color:#ff8f9b}
.auto-cost-profit.profit-zero{color:#f0c77c}


/* SUBNOVA v86 — session bootstrap */
html[data-mode="production"][data-surface="staff"]:not([data-session-ready="true"]) body{
  visibility:hidden;
}
html[data-mode="production"][data-surface="staff"][data-session-ready="true"] body{
  visibility:visible;
}
