/* PayzoPlus Global Opportunities — theme
   Edit the variables below to match your reference website's colours. */
:root {
  --bg: #f5f6fb;
  --surface: #ffffff;
  --ink: #111827;
  --ink-2: #4b5563;
  --ink-3: #8b93a3;
  --line: rgba(17, 24, 39, .08);
  --accent: #0071e3;          /* Apple blue */
  --accent-2: #d62976;        /* Instagram magenta */
  --accent-3: #4f5bd5;        /* Instagram indigo */
  --accent-4: #feda75;        /* Instagram yellow */
  --ig: linear-gradient(135deg, #feda75 0%, #fa7e1e 25%, #d62976 55%, #962fbf 80%, #4f5bd5 100%);
  --brand: linear-gradient(135deg, #0071e3, #4f5bd5 60%, #962fbf);
  --good: #16a34a;
  --warn: #f59e0b;
  --bad: #ef4444;
  --glass: rgba(255, 255, 255, .62);
  --glass-strong: rgba(255, 255, 255, .82);
  --glass-line: rgba(255, 255, 255, .9);
  --shadow-sm: 0 2px 8px rgba(30, 41, 90, .06);
  --shadow: 0 10px 30px rgba(30, 41, 90, .10), 0 2px 6px rgba(30, 41, 90, .05);
  --shadow-lg: 0 24px 60px rgba(30, 41, 90, .18);
  --r: 22px;
  --r-sm: 14px;
  --nav-h: 78px;
  --dock-w: 96px;
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -.02em; line-height: 1.15; }
p { margin: 0; }
a { color: var(--accent); text-decoration: none; }
.grad { background: var(--ig); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- background ---------- */
.bg-blobs { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: linear-gradient(180deg, #fafbff, #f1f3fb); }
.bg-blobs i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 22s ease-in-out infinite alternate; }
.bg-blobs i:nth-child(1) { width: 46vw; height: 46vw; left: -10vw; top: -12vw; background: #cfe3ff; }
.bg-blobs i:nth-child(2) { width: 40vw; height: 40vw; right: -8vw; top: 10vh; background: #ffd9ec; animation-delay: -6s; }
.bg-blobs i:nth-child(3) { width: 38vw; height: 38vw; left: 25vw; bottom: -14vw; background: #e4dcff; animation-delay: -12s; }
@keyframes drift { to { transform: translate3d(4vw, 3vh, 0) scale(1.08); } }

/* ---------- glass ---------- */
.glass {
  background: var(--glass); border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%);
  box-shadow: var(--shadow);
}
.card { border-radius: var(--r); padding: 20px; }

/* ---------- layout ---------- */
.shell { min-height: 100vh; padding-bottom: calc(var(--nav-h) + 28px + env(safe-area-inset-bottom)); }
.topbar {
  position: sticky; top: 10px; z-index: 30; margin: 10px 14px 0; padding: 10px 14px; border-radius: 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand-txt b { font-size: 16px; letter-spacing: -.02em; }
.brand-txt small { font-size: 11px; color: var(--ink-3); font-weight: 500; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 12px; background: var(--ig); color: #fff; font-weight: 800; font-size: 15px;
  display: grid; place-items: center; box-shadow: 0 6px 14px rgba(214, 41, 118, .35), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.top-title { font-weight: 700; font-size: 15px; display: none; }
.me-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); box-shadow: var(--shadow-sm); border: 1px solid var(--line); font-size: 12px; font-weight: 700; color: var(--ink-2); overflow: hidden; }
.me-btn .avatar { width: 100%; height: 100%; border-radius: 50%; }
main { padding: 16px 14px 0; max-width: 1240px; margin: 0 auto; }
.view { display: none; animation: rise .35s ease both; }
.view.active { display: block; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- navigation ---------- */
.dock { display: none; }
.tabbar {
  position: fixed; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 40;
  height: var(--nav-h); border-radius: 28px; display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; padding: 0 6px;
}
.nav-btn { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 2px; color: var(--ink-3); font-size: 11px; font-weight: 600; transition: color .2s, transform .2s; }
.nav-btn svg { width: 25px; height: 25px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nav-btn.active { color: var(--accent); }
.nav-btn:active { transform: scale(.94); }
.nav-btn .dot { position: absolute; top: 4px; left: 54%; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent-2); color: #fff; font-size: 10px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 2px #fff; }
.nav-btn.center { color: #fff; }
.nav-btn.center .plus {
  width: 58px; height: 58px; border-radius: 20px; margin-top: -26px; background: var(--ig); display: grid; place-items: center; color: #fff;
  box-shadow: 0 14px 28px rgba(214, 41, 118, .42), inset 0 2px 0 rgba(255, 255, 255, .5), inset 0 -4px 8px rgba(0, 0, 0, .12);
  transform: perspective(300px) rotateX(8deg); transition: transform .25s;
}
.nav-btn.center.active .plus, .nav-btn.center:hover .plus { transform: perspective(300px) rotateX(0) translateY(-3px) scale(1.04); }
.nav-btn.center svg { stroke-width: 2.4; width: 28px; height: 28px; }
.nav-btn.center span.lbl { color: var(--ink-3); margin-top: -2px; }
.nav-btn.center.active span.lbl { color: var(--accent); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; border-radius: 30px; padding: 26px 20px 22px; margin-bottom: 18px; background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(255,255,255,.55)); }
.hero h1 { font-size: clamp(28px, 6vw, 46px); font-weight: 800; max-width: 620px; }
.hero p.sub { color: var(--ink-2); margin-top: 10px; max-width: 520px; font-size: 15px; }
.hero-txt { position: relative; z-index: 2; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 99px; background: rgba(0, 113, 227, .09); color: var(--accent); margin-bottom: 12px; }
.orb { position: absolute; border-radius: 50%; z-index: 1; animation: float 7s ease-in-out infinite; }
.orb.o1 { width: 130px; height: 130px; right: 8%; top: -28px; background: radial-gradient(circle at 30% 28%, #fff 0, #ffd1e8 18%, #d62976 62%, #7b1d6b 100%); box-shadow: 0 30px 50px rgba(214,41,118,.3), inset -10px -14px 26px rgba(0,0,0,.18); }
.orb.o2 { width: 84px; height: 84px; right: 26%; bottom: -18px; background: radial-gradient(circle at 30% 28%, #fff 0, #c8dcff 20%, #0071e3 64%, #1b2f8f 100%); box-shadow: 0 22px 38px rgba(0,113,227,.28), inset -8px -10px 18px rgba(0,0,0,.2); animation-delay: -2s; }
.orb.o3 { width: 56px; height: 56px; right: 3%; bottom: 40px; background: radial-gradient(circle at 30% 28%, #fff 0, #fff3c2 22%, #fa7e1e 66%, #b3470a 100%); box-shadow: 0 16px 28px rgba(250,126,30,.3), inset -6px -8px 14px rgba(0,0,0,.18); animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-16px); } }
.cube-wrap { position: absolute; right: 12%; top: 50%; width: 90px; height: 90px; perspective: 600px; z-index: 1; margin-top: -10px; display: none; }
.cube { width: 100%; height: 100%; position: relative; transform-style: preserve-3d; animation: spin 16s linear infinite; }
.cube i { position: absolute; inset: 0; border-radius: 14px; border: 1px solid rgba(255,255,255,.85); background: linear-gradient(135deg, rgba(255,255,255,.75), rgba(150,170,255,.35)); backdrop-filter: blur(4px); box-shadow: inset 0 0 18px rgba(255,255,255,.7); }
.cube i:nth-child(1) { transform: translateZ(45px); }
.cube i:nth-child(2) { transform: rotateY(180deg) translateZ(45px); }
.cube i:nth-child(3) { transform: rotateY(90deg) translateZ(45px); }
.cube i:nth-child(4) { transform: rotateY(-90deg) translateZ(45px); }
.cube i:nth-child(5) { transform: rotateX(90deg) translateZ(45px); }
.cube i:nth-child(6) { transform: rotateX(-90deg) translateZ(45px); }
@keyframes spin { to { transform: rotateX(360deg) rotateY(360deg); } }

.search { position: relative; margin-top: 18px; max-width: 560px; }
.search input { width: 100%; height: 52px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); padding: 0 16px 0 46px; font-size: 15px; box-shadow: var(--shadow-sm); outline: none; transition: box-shadow .2s, border-color .2s; }
.search input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(0, 113, 227, .12); }
.search svg { position: absolute; left: 15px; top: 14px; width: 22px; height: 22px; stroke: var(--ink-3); fill: none; stroke-width: 2; stroke-linecap: round; }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 20px; position: relative; z-index: 2; }
.stat { background: var(--glass-strong); border: 1px solid var(--glass-line); border-radius: 18px; padding: 12px 14px; box-shadow: var(--shadow-sm); }
.stat b { display: block; font-size: 22px; letter-spacing: -.02em; }
.stat span { font-size: 12px; color: var(--ink-3); font-weight: 500; }

/* ---------- filters ---------- */
.filters { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 12px; scrollbar-width: none; align-items: center; }
.filters::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 8px 14px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink-2); transition: all .2s; box-shadow: var(--shadow-sm); }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.select { flex: none; height: 36px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); padding: 0 12px; font-size: 13px; font-weight: 600; color: var(--ink-2); box-shadow: var(--shadow-sm); max-width: 200px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin: 6px 2px 12px; }
.section-head h2 { font-size: 22px; font-weight: 800; }
.section-head span { color: var(--ink-3); font-size: 13px; }

/* ---------- listing grid ---------- */
.grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.lcard { position: relative; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); padding: 16px; box-shadow: var(--shadow); cursor: pointer; transition: transform .18s ease-out, box-shadow .2s; transform-style: preserve-3d; will-change: transform; }
.lcard:hover { box-shadow: var(--shadow-lg); }
.lcard.sponsored { border: 1.5px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--ig) border-box; }
.lcard .top { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-bottom: 10px; }
.tag { font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 99px; background: #eef2ff; color: var(--accent-3); letter-spacing: .01em; }
.tag.req { background: #fff1f6; color: var(--accent-2); }
.tag.off { background: #ecfdf3; color: var(--good); }
.tag.svc { background: #eff6ff; color: var(--accent); }
.tag.spon { background: var(--ig); color: #fff; }
.lcard h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.fact { background: #f6f7fb; border-radius: 12px; padding: 8px 10px; }
.fact small { display: block; font-size: 10.5px; color: var(--ink-3); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.fact b { font-size: 14px; }
.owner { display: flex; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.owner .who { flex: 1; min-width: 0; line-height: 1.25; }
.owner .who b { display: block; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.owner .who small { color: var(--ink-3); font-size: 12px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: inline-grid; place-items: center; color: #fff; font-weight: 700; font-size: 13px; flex: none; box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 4px 10px rgba(0,0,0,.12); }
.avatar.lg { width: 64px; height: 64px; font-size: 22px; }
.avatar.sm { width: 30px; height: 30px; font-size: 11px; }
.mini-follow { font-size: 12px; font-weight: 700; padding: 6px 11px; border-radius: 99px; border: 1px solid var(--line); background: #fff; color: var(--accent); }
.mini-follow.on { background: var(--accent); color: #fff; border-color: var(--accent); }
.empty { text-align: center; padding: 40px 16px; color: var(--ink-3); }
.empty .big { font-size: 42px; margin-bottom: 6px; }
.empty h3 { color: var(--ink); margin-bottom: 6px; }

/* ---------- categories ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 14px; font-size: 14px; }
.crumbs button { color: var(--accent); font-weight: 600; }
.crumbs span { color: var(--ink-3); }
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 22px; }
.cat-tile { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 16px; text-align: left; box-shadow: var(--shadow-sm); transition: transform .18s ease-out, box-shadow .2s; }
.cat-tile:hover { transform: translateY(-3px) rotateX(3deg); box-shadow: var(--shadow); }
.cat-tile .ico { font-size: 30px; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, #fff, #eef1ff); box-shadow: 0 8px 16px rgba(79, 91, 213, .15), inset 0 1px 0 #fff; margin-bottom: 10px; }
.cat-tile b { display: block; font-size: 14.5px; }
.cat-tile small { color: var(--ink-3); font-size: 12px; }

/* ---------- forms ---------- */
.seg { display: flex; padding: 4px; border-radius: 16px; background: rgba(17,24,39,.06); margin-bottom: 16px; gap: 2px; }
.seg button { flex: 1; padding: 9px 6px; border-radius: 12px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.seg button.on { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.form h3 { font-size: 20px; margin-bottom: 14px; }
.lbl { display: block; font-size: 12px; font-weight: 700; color: var(--ink-2); margin: 14px 0 6px; text-transform: uppercase; letter-spacing: .04em; }
.in { width: 100%; height: 46px; border-radius: 14px; border: 1px solid var(--line); background: #fff; padding: 0 14px; outline: none; font-size: 15px; transition: box-shadow .2s, border-color .2s; }
textarea.in { height: 100px; padding: 12px 14px; resize: vertical; }
.in:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(0,113,227,.12); }
.row2 { display: grid; grid-template-columns: 1fr; gap: 0 12px; }
.role-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.role input { position: absolute; opacity: 0; pointer-events: none; }
.role { position: relative; }
.role span { display: flex; align-items: center; gap: 8px; padding: 11px 12px; border-radius: 14px; background: #fff; border: 1.5px solid var(--line); font-size: 13px; transition: all .18s; }
.role span b { font-weight: 600; }
.role input:checked + span { border-color: var(--accent-2); background: #fff5fa; box-shadow: 0 6px 14px rgba(214,41,118,.15); }
.reg-row { display: grid; grid-template-columns: 130px 1fr; gap: 8px; margin-bottom: 8px; }
.hint { font-size: 12px; color: var(--ink-3); margin-top: 6px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 16px; font-weight: 700; font-size: 15px; transition: transform .15s, box-shadow .2s, opacity .2s; }
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--brand); color: #fff; box-shadow: 0 10px 22px rgba(0,113,227,.32), inset 0 1px 0 rgba(255,255,255,.35); }
.btn.ig { background: var(--ig); color: #fff; box-shadow: 0 10px 22px rgba(214,41,118,.32), inset 0 1px 0 rgba(255,255,255,.4); }
.btn.soft { background: #fff; border: 1px solid var(--line); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn.danger { background: #fff1f1; color: var(--bad); }
.btn.block { width: 100%; }
.btn.sm { height: 38px; padding: 0 14px; font-size: 13px; border-radius: 12px; }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* ---------- activity ---------- */
.list { display: flex; flex-direction: column; gap: 10px; }
.nrow { display: flex; gap: 12px; padding: 14px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); cursor: pointer; align-items: flex-start; transition: transform .15s; }
.nrow:hover { transform: translateY(-2px); }
.nrow.unread { background: linear-gradient(90deg, #f3f8ff, #fff); border-color: #cfe3ff; }
.nrow .nico { width: 42px; height: 42px; border-radius: 14px; background: #f1f3fb; display: grid; place-items: center; font-size: 20px; flex: none; }
.nrow .ntxt { flex: 1; min-width: 0; }
.nrow b { display: block; font-size: 14px; }
.nrow p { font-size: 13px; color: var(--ink-2); }
.nrow small { color: var(--ink-3); font-size: 11.5px; white-space: nowrap; }
.status { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 99px; }
.status.pending { background: #fff7e6; color: #b45309; }
.status.accepted { background: #ecfdf3; color: var(--good); }

/* ---------- wallet ---------- */
.wallet-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
.bal-card { position: relative; overflow: hidden; border-radius: 28px; padding: 24px; color: #fff; background: linear-gradient(135deg, #111827 0%, #2b2f6b 45%, #962fbf 100%); box-shadow: 0 24px 50px rgba(79, 91, 213, .35); transform: perspective(1000px) rotateX(2deg); }
.bal-card::before { content: ''; position: absolute; width: 220px; height: 220px; right: -60px; top: -80px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.55), rgba(255,255,255,0) 65%); }
.bal-card::after { content: ''; position: absolute; width: 160px; height: 160px; left: -40px; bottom: -70px; border-radius: 50%; background: radial-gradient(circle at 60% 40%, rgba(254,218,117,.45), rgba(254,218,117,0) 65%); }
.bal-card small { opacity: .75; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.bal-card h2 { font-size: 40px; margin: 6px 0 16px; font-weight: 800; }
.bal-card .acct { font-size: 13px; opacity: .85; position: relative; z-index: 2; }
.bal-card .btn { position: relative; z-index: 2; }
.txn { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.txn:last-child { border: 0; }
.txn small { color: var(--ink-3); display: block; font-size: 12px; }
.txn b.cr { color: var(--good); }
.txn b.dr { color: var(--ink); }
.refbox { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #f6f7fb; border: 1.5px dashed #c7cdf0; border-radius: 16px; padding: 12px 14px; margin: 12px 0; }
.refbox code { font-size: 22px; font-weight: 800; letter-spacing: .08em; }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.switch { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; }
.switch input { width: 46px; height: 26px; appearance: none; -webkit-appearance: none; background: #d1d5db; border-radius: 99px; position: relative; transition: background .2s; cursor: pointer; }
.switch input::after { content: ''; position: absolute; width: 22px; height: 22px; border-radius: 50%; background: #fff; top: 2px; left: 2px; transition: left .2s; box-shadow: 0 2px 4px rgba(0,0,0,.25); }
.switch input:checked { background: var(--good); }
.switch input:checked::after { left: 22px; }
.mini-list { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }

/* ---------- modal ---------- */
.overlay { position: fixed; inset: 0; z-index: 80; background: rgba(17, 24, 39, .38); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); display: flex; align-items: flex-end; justify-content: center; animation: fade .2s ease both; }
@keyframes fade { from { opacity: 0; } }
.sheet { width: 100%; max-width: 720px; max-height: 92vh; overflow-y: auto; background: rgba(255, 255, 255, .94); border-radius: 30px 30px 0 0; padding: 22px 20px calc(24px + env(safe-area-inset-bottom)); box-shadow: var(--shadow-lg); animation: slide .3s cubic-bezier(.2, .8, .2, 1) both; position: relative; }
@keyframes slide { from { transform: translateY(40px); opacity: 0; } }
.sheet .x { position: absolute; right: 16px; top: 16px; width: 34px; height: 34px; border-radius: 50%; background: #eef0f6; font-size: 16px; display: grid; place-items: center; z-index: 3; }
.sheet h2 { font-size: 22px; font-weight: 800; padding-right: 40px; }
.owner-card { display: flex; gap: 14px; align-items: center; padding: 14px; background: #f6f7fb; border-radius: 18px; margin: 16px 0; }
.owner-card .meta { flex: 1; min-width: 0; }
.owner-card b { font-size: 16px; }
.owner-card p { font-size: 13px; color: var(--ink-2); }
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.badge { font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 99px; background: #ecfdf3; color: var(--good); }
.badge.n { background: #eef2ff; color: var(--accent-3); }
.regs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.reg { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; font-size: 13px; }
.reg small { display: block; color: var(--ink-3); font-size: 10.5px; font-weight: 700; text-transform: uppercase; }
.channels { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 14px 0; }
.ch { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; color: var(--ink-2); padding: 10px 2px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .15s; }
.ch:hover { transform: translateY(-2px); }
.ch i { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-style: normal; font-size: 19px; color: #fff; }
.ch.wa i { background: #25d366; }
.ch.fb i { background: #1877f2; }
.ch.ig i { background: var(--ig); }
.ch.ms i { background: var(--brand); }
.ch.ph i { background: #111827; }
.ch.off { opacity: .4; pointer-events: none; }
.opt { display: flex; gap: 12px; align-items: center; padding: 14px; border: 1.5px solid var(--line); border-radius: 16px; background: #fff; margin-bottom: 10px; text-align: left; width: 100%; transition: all .18s; }
.opt.on { border-color: var(--accent); background: #f3f8ff; box-shadow: 0 6px 16px rgba(0,113,227,.15); }
.opt .oi { font-size: 24px; }
.opt b { display: block; font-size: 15px; }
.opt small { color: var(--ink-3); font-size: 12px; }
.chat { display: flex; flex-direction: column; gap: 8px; max-height: 44vh; overflow-y: auto; padding: 6px 2px 10px; }
.bub { max-width: 82%; padding: 10px 13px; border-radius: 18px; font-size: 14px; background: #eef0f6; align-self: flex-start; }
.bub.me { align-self: flex-end; background: var(--brand); color: #fff; }
.bub small { display: block; font-size: 10px; opacity: .65; margin-top: 2px; }
.send-row { display: flex; gap: 8px; margin-top: 8px; }
.plan { display: flex; justify-content: space-between; align-items: center; }
.amts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 12px 0; }

/* ---------- toast ---------- */
#toastRoot { position: fixed; top: 14px; left: 0; right: 0; z-index: 120; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; padding: 0 12px; }
.toast { pointer-events: auto; width: 100%; max-width: 420px; display: flex; gap: 12px; padding: 12px 14px; border-radius: 20px; background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border: 1px solid #fff; box-shadow: var(--shadow-lg); animation: drop .4s cubic-bezier(.2,.9,.3,1.2) both; cursor: pointer; }
.toast.out { animation: out .3s ease both; }
@keyframes drop { from { transform: translateY(-30px) scale(.95); opacity: 0; } }
@keyframes out { to { transform: translateY(-20px); opacity: 0; } }
.toast .nico { width: 38px; height: 38px; border-radius: 12px; background: #f1f3fb; display: grid; place-items: center; font-size: 19px; flex: none; }
.toast b { font-size: 13.5px; display: block; }
.toast p { font-size: 12.5px; color: var(--ink-2); }

/* ---------- responsive ---------- */
@media (min-width: 560px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .row2 { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .role-grid { grid-template-columns: repeat(3, 1fr); }
  .cube-wrap { display: block; }
  .overlay { align-items: center; }
  .sheet { border-radius: 30px; }
}
@media (min-width: 900px) {
  :root { --nav-h: 0px; }
  .tabbar { display: none; }
  .shell { padding-left: var(--dock-w); padding-bottom: 40px; }
  .dock {
    display: flex; flex-direction: column; align-items: center; gap: 28px; position: fixed; left: 14px; top: 14px; bottom: 14px; width: 76px; z-index: 40; padding: 16px 0; border-radius: 28px;
    background: var(--glass); border: 1px solid var(--glass-line); -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%); box-shadow: var(--shadow);
  }
  .dock-nav { display: flex; flex-direction: column; gap: 6px; flex: 1; justify-content: center; align-items: center; }
  .dock .nav-btn { width: 64px; border-radius: 16px; padding: 10px 0; }
  .dock .nav-btn:hover { background: rgba(0,0,0,.04); }
  .dock .nav-btn .dot { left: 50%; top: 2px; }
  .dock .nav-btn.center .plus { margin-top: 0; width: 54px; height: 54px; }
  .brand .logo-mark { display: none; }
  .top-title { display: block; }
  .topbar { margin: 14px 20px 0 12px; }
  main { padding: 22px 20px 0 12px; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .hero { padding: 40px 40px 34px; }
  .wallet-grid { grid-template-columns: 1.1fr 1fr; align-items: start; }
  .hero .orb.o1 { width: 190px; height: 190px; right: 6%; top: -40px; }
  .cube-wrap { right: 20%; width: 110px; height: 110px; }
  .cube i:nth-child(1) { transform: translateZ(55px); } .cube i:nth-child(2) { transform: rotateY(180deg) translateZ(55px); }
  .cube i:nth-child(3) { transform: rotateY(90deg) translateZ(55px); } .cube i:nth-child(4) { transform: rotateY(-90deg) translateZ(55px); }
  .cube i:nth-child(5) { transform: rotateX(90deg) translateZ(55px); } .cube i:nth-child(6) { transform: rotateX(-90deg) translateZ(55px); }
  .toast-root { top: 24px; }
}
@media (min-width: 1200px) {
  .grid { grid-template-columns: repeat(4, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
