/* Famillos side panel — brand palette: deep teal, coral, warm cream; a playful accent per tab */
:root {
  --bg: #f8f2ea;
  --surface: #ffffff;
  --surface-2: #fbf7f1;
  --ink: #0f2e38;
  --muted: #5a7480;
  --faint: #8aa3ad;
  --line: #ece3d6;

  --teal-900: #1d5266;
  --teal: #2e7590;
  --teal-2: #3d97a6;
  --sage: #86bcb5;
  --sky: #73b5bf;

  --coral: #ff6f5b;
  --sun: #ffb22e;
  --mint: #16a67a;
  --lilac: #7d6bf0;
  --pink: #ef5d97;
  --red: #e5484d;

  --accent: var(--coral);
  --accent-soft: color-mix(in srgb, var(--accent) 14%, var(--surface));
  --radius: 16px;
  --shadow: 0 1px 2px rgba(15, 46, 56, .05), 0 6px 18px -10px rgba(15, 46, 56, .25);
  --font: "Segoe UI Variable Display", "SF Pro Rounded", ui-rounded, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1c22; --surface: #12272f; --surface-2: #17313a; --ink: #e6f2f4; --muted: #9ab4bd;
    --faint: #6d8a94; --line: #23404a;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px -12px rgba(0,0,0,.6);
    color-scheme: dark;
  }
}

/* re-derive the soft tint wherever the accent changes */
[data-view], .banner, .onboard, .sheet { --accent-soft: color-mix(in srgb, var(--accent) 14%, var(--surface)); }
[data-view="clip"]     { --accent: var(--coral); }
[data-view="lists"]    { --accent: var(--teal-2); }
[data-view="deals"]    { --accent: var(--sun); }
[data-view="money"]    { --accent: var(--mint); }
[data-view="tasks"]    { --accent: var(--lilac); }
[data-view="activities"] { --accent: var(--pink); }

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--ink); font: 14px/1.45 var(--font); -webkit-font-smoothing: antialiased; }
body { min-width: 300px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
.i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.i.sm { width: 15px; height: 15px; }
.hidden { display: none !important; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 2px; border-radius: 8px; }

.app { min-height: 100vh; display: flex; flex-direction: column; padding-bottom: 84px; }

/* ── Header ── */
.top { display: flex; align-items: center; gap: 10px; padding: 12px 14px 8px; }
.top img { width: 34px; height: 34px; border-radius: 10px; box-shadow: var(--shadow); }
.brand { flex: 1; min-width: 0; }
.brand b { display: block; font-size: 16px; letter-spacing: -.01em; }
.brand small { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--faint); flex: none; }
.dot.ok { background: var(--mint); box-shadow: 0 0 0 3px color-mix(in srgb, var(--mint) 25%, transparent); }
.dot.busy { background: var(--sun); animation: pulse 1s infinite; }
.dot.err { background: var(--red); }
@keyframes pulse { 50% { opacity: .35; } }
.icon-btn { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 12px; background: var(--surface); color: var(--muted); box-shadow: var(--shadow); transition: transform .15s, color .15s; }
.icon-btn:hover { color: var(--ink); transform: rotate(-8deg); }

/* ── Hero ── */
.hero { margin: 4px 12px 0; padding: 14px; border-radius: 20px; color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(120% 140% at 100% 0%, #3d97a6 0%, transparent 55%), linear-gradient(135deg, #1d5266, #2e7590 60%, #3d97a6); box-shadow: var(--shadow); }
.hero::after { content: ""; position: absolute; width: 130px; height: 130px; right: -40px; bottom: -60px; border-radius: 50%; background: rgba(255,255,255,.08); }
.hero-row { display: flex; align-items: center; gap: 10px; position: relative; z-index: 1; }
.hero-emoji { width: 42px; height: 42px; border-radius: 14px; background: rgba(255,255,255,.18); display: grid; place-items: center; font-size: 22px; flex: none; }
.hero h2 { font-size: 15.5px; line-height: 1.25; letter-spacing: -.01em; }
.hero p { font-size: 12px; opacity: .85; }
.bar { height: 6px; border-radius: 99px; background: rgba(255,255,255,.22); margin-top: 10px; overflow: hidden; position: relative; z-index: 1; }
.bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #ffd166, #ff8a65); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 12px; position: relative; z-index: 1; }
.stat { background: rgba(255,255,255,.14); border-radius: 12px; padding: 7px 8px; text-align: left; color: #fff; transition: background .15s; min-width: 0; }
.stat:hover { background: rgba(255,255,255,.24); }
.stat b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat span { font-size: 10.5px; opacity: .85; white-space: nowrap; text-decoration: none; }
.hero-cta { color: #fff; text-decoration: underline; font-weight: 600; font-size: 12px; }

/* ── Main view ── */
main { padding: 12px; display: flex; flex-direction: column; gap: 12px; animation: rise .22s ease; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }
.card { background: var(--surface); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); }
.card.flat { box-shadow: none; border: 1px solid var(--line); }
.section-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 4px 2px -4px; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.row { display: flex; align-items: center; gap: 8px; }
.grow { flex: 1; min-width: 0; }
.stack { display: flex; flex-direction: column; gap: 10px; }

.banner { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: var(--accent-soft); font-size: 12.5px; }
.banner .i { color: var(--accent); margin-top: 1px; }
.banner.warn { --accent: var(--sun); }
.banner.info { --accent: var(--teal-2); }
.banner.good { --accent: var(--mint); }

/* ── Forms ── */
label.f { display: flex; flex-direction: column; gap: 4px; font-size: 11.5px; font-weight: 600; color: var(--muted); }
.input, input[type=text], input[type=number], input[type=email], input[type=password], input[type=date], select, textarea {
  width: 100%; padding: 9px 11px; border-radius: 11px; border: 1.5px solid var(--line); background: var(--surface-2); color: var(--ink);
  font-size: 13.5px; outline: none; transition: border-color .15s, background .15s; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); background: var(--surface); }
textarea { resize: vertical; min-height: 40px; }
.money-in { position: relative; }
.money-in { display: block; }
.money-in::before { content: attr(data-sym); position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 13.5px; }
.money-in input { padding-left: 30px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 10px 14px; border-radius: 12px; font-weight: 650; font-size: 13.5px; transition: transform .1s, filter .15s, background .15s; white-space: nowrap; text-decoration: none; }
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--accent); color: #fff; box-shadow: 0 6px 14px -8px var(--accent); }
[data-view="deals"] .btn.primary { color: #3b2600; }
.btn.primary:hover { filter: brightness(1.06); }
.btn.soft { background: var(--accent-soft); color: color-mix(in srgb, var(--accent) 75%, var(--ink)); }
.btn.ghost { background: var(--surface-2); color: var(--ink); border: 1px solid var(--line); }
.btn.block { width: 100%; }
.btn.sm { padding: 6px 10px; font-size: 12px; border-radius: 10px; }
.btn[disabled] { opacity: .5; pointer-events: none; }

.seg { display: flex; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 3px; gap: 2px; }
.seg button { flex: 1; padding: 7px 6px; border-radius: 9px; font-size: 12.5px; font-weight: 600; color: var(--muted); white-space: nowrap; text-decoration: none; }
.seg button.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 4px rgba(15,46,56,.12); }

.chips { display: flex; gap: 6px; overflow-x: auto; padding: 2px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 7px 11px; border-radius: 99px; background: var(--surface); border: 1.5px solid var(--line); font-size: 12.5px; font-weight: 600; white-space: nowrap; color: var(--ink); transition: all .15s; }
.chip.on { border-color: var(--accent); background: var(--accent-soft); }
.chip em { font-style: normal; font-size: 11px; color: var(--muted); background: var(--surface-2); border-radius: 99px; padding: 0 6px; }
.chip.add { color: var(--accent); border-style: dashed; }
.chip.suggest:hover { border-color: var(--accent); }

/* ── Clip ── */
.product { display: grid; grid-template-columns: 72px 1fr; gap: 12px; }
.thumb { width: 72px; height: 72px; border-radius: 14px; background: var(--surface-2) center/contain no-repeat; border: 1px solid var(--line); display: grid; place-items: center; font-size: 26px; overflow: hidden; }
.thumb.sm { width: 42px; height: 42px; border-radius: 11px; font-size: 18px; }
.title-in { font-weight: 650; font-size: 14px; min-height: 54px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.empty { text-align: center; padding: 22px 14px; color: var(--muted); }
.empty .big { font-size: 34px; display: block; margin-bottom: 6px; }
.empty b { color: var(--ink); display: block; margin-bottom: 2px; font-size: 14.5px; }
.price-drop { display: flex; align-items: center; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 99px; font-size: 11px; font-weight: 700; background: var(--surface-2); color: var(--muted); }
.pill.good { background: color-mix(in srgb, var(--mint) 16%, var(--surface)); color: var(--mint); }
.pill.bad { background: color-mix(in srgb, var(--red) 14%, var(--surface)); color: var(--red); }
.pill.aff { background: color-mix(in srgb, var(--sun) 22%, var(--surface)); color: #9a5b00; }

/* ── Lists ── */
.list-head { display: flex; align-items: center; gap: 10px; }
.list-head .emoji { font-size: 24px; }
.progress { height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; margin-top: 10px; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--teal-2), var(--sage)); border-radius: inherit; transition: width .4s; }
.items { display: flex; flex-direction: column; }
.item { display: flex; align-items: center; gap: 10px; padding: 10px 2px; border-top: 1px solid var(--line); }
.item:first-child { border-top: 0; }
.item .t { font-weight: 600; font-size: 13.5px; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.item .m { font-size: 11.5px; color: var(--muted); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-top: 2px; }
.item.done .t { text-decoration: line-through; color: var(--faint); }
.tick { width: 24px; height: 24px; border-radius: 8px; border: 2px solid var(--line); display: grid; place-items: center; flex: none; color: transparent; transition: all .15s; background: var(--surface); }
.tick:hover { border-color: var(--accent); }
.tick.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.tick.round { border-radius: 50%; }
.row-actions { display: flex; gap: 2px; opacity: .55; transition: opacity .15s; }
.item:hover .row-actions, .exp:hover .row-actions { opacity: 1; }
.mini { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; color: var(--muted); }
.mini:hover { background: var(--surface-2); color: var(--ink); }
.mini.danger:hover { color: var(--red); }
.avatar { width: 20px; height: 20px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 10px; font-weight: 800; color: #fff; flex: none; }
.avatar.a { background: var(--coral); }
.avatar.b { background: var(--lilac); }
.avatar.both { background: linear-gradient(135deg, var(--coral) 50%, var(--lilac) 50%); }
.quick-add { display: flex; gap: 6px; }

/* ── Deals ── */
.stage { background: linear-gradient(135deg, #fff3d6, #ffe0d1); color: #4a2a00; border-radius: 18px; padding: 14px; }
@media (prefers-color-scheme: dark) { .stage { background: linear-gradient(135deg, #3a2a10, #3b1f1a); color: #ffe2bf; } }
.stage h3 { font-size: 15px; }
.deal { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; }
.deal .t { font-weight: 650; }
.store { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.code { font-family: ui-monospace, monospace; font-size: 12px; padding: 4px 8px; border-radius: 8px; border: 1.5px dashed var(--sun); background: color-mix(in srgb, var(--sun) 10%, var(--surface)); display: inline-flex; gap: 6px; align-items: center; }
.disclose { font-size: 11px; color: var(--faint); text-align: center; padding: 0 10px; }
.disclose a { color: inherit; }

/* ── Money ── */
.balance { border-radius: 20px; padding: 16px; color: #fff; background: linear-gradient(135deg, #0f8a66, #16a67a 55%, #4cc79a); box-shadow: var(--shadow); }
.balance.owe { background: linear-gradient(135deg, #c2410c, #ff6f5b 60%, #ff9a7a); }
.balance.even { background: linear-gradient(135deg, #1d5266, #3d97a6); }
.balance .amt { font-size: 28px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; margin: 2px 0 4px; }
.balance .btn { background: rgba(255,255,255,.2); color: #fff; }
.balance .btn:hover { background: rgba(255,255,255,.3); }
.split-row { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; }
input[type=range] { flex: 1; accent-color: var(--mint); }
.exp { display: flex; align-items: center; gap: 10px; padding: 9px 2px; border-top: 1px solid var(--line); }
.exp:first-child { border-top: 0; }
.exp .cat { width: 34px; height: 34px; border-radius: 11px; background: var(--surface-2); display: grid; place-items: center; font-size: 16px; flex: none; }
.exp .amt { font-weight: 700; text-align: right; font-size: 13.5px; }
.exp .amt small { display: block; font-weight: 500; font-size: 11px; color: var(--muted); }
.month { font-size: 11px; font-weight: 700; color: var(--faint); text-transform: uppercase; letter-spacing: .06em; padding: 10px 2px 2px; }

/* ── Tasks ── */
.due { font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 99px; background: var(--surface-2); color: var(--muted); }
.due.today { background: color-mix(in srgb, var(--sun) 25%, var(--surface)); color: #9a5b00; }
.due.late { background: color-mix(in srgb, var(--red) 15%, var(--surface)); color: var(--red); }
.bell { color: var(--lilac); }
.toggle-bell { width: 40px; flex: none; display: grid; place-items: center; border-radius: 11px; border: 1.5px solid var(--line); background: var(--surface-2); color: var(--faint); }
.toggle-bell.on { color: var(--lilac); border-color: var(--lilac); background: color-mix(in srgb, var(--lilac) 12%, var(--surface)); }

/* ── Tab bar ── */
.tabbar { position: fixed; left: 8px; right: 8px; bottom: 8px; display: grid; grid-template-columns: repeat(6, 1fr); background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(12px); border-radius: 20px; padding: 6px; box-shadow: 0 10px 30px -10px rgba(15,46,56,.35), 0 0 0 1px var(--line); z-index: 20; }
.tabbar button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0; border-radius: 14px; font-size: 10px; letter-spacing: -.01em; min-width: 0; font-weight: 650; color: var(--faint); position: relative; transition: color .15s, background .15s; }
.tabbar button .i { width: 20px; height: 20px; }
.tabbar button.on { color: var(--tab); background: color-mix(in srgb, var(--tab) 13%, transparent); }
.tabbar button[data-tab="clip"]  { --tab: var(--coral); }
.tabbar button[data-tab="lists"] { --tab: var(--teal-2); }
.tabbar button[data-tab="deals"] { --tab: #e89a00; }
.tabbar button[data-tab="money"] { --tab: var(--mint); }
.tabbar button[data-tab="tasks"] { --tab: var(--lilac); }
.tabbar button[data-tab="activities"] { --tab: var(--pink); }
.tabbar button span:not(.badge) { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.badge { position: absolute; top: 2px; right: calc(50% - 20px); min-width: 16px; height: 16px; padding: 0 4px; border-radius: 99px; background: var(--coral); color: #fff; font-size: 10px; display: grid; place-items: center; }

/* ── Sheet (settings) ── */
.sheet-bg { position: fixed; inset: 0; background: rgba(8, 24, 30, .5); z-index: 40; animation: fade .2s; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; max-height: 92vh; overflow-y: auto; background: var(--bg); border-radius: 22px 22px 0 0; z-index: 41; padding: 8px 14px 24px; animation: up .25s cubic-bezier(.2,.9,.3,1.1); }
.sheet .grab { width: 40px; height: 4px; border-radius: 99px; background: var(--line); margin: 4px auto 10px; }
.sheet h2 { font-size: 18px; }
.sheet h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 16px 2px 6px; }
@keyframes up { from { transform: translateY(40%); opacity: .4; } }
@keyframes fade { from { opacity: 0; } }
.code-box { font-family: ui-monospace, monospace; font-size: 20px; font-weight: 700; letter-spacing: .12em; text-align: center; padding: 10px; border-radius: 12px; background: var(--surface-2); border: 1.5px dashed var(--teal-2); color: var(--teal); }
.err-text { color: var(--red); font-size: 12px; }
.link { color: var(--teal); font-weight: 600; text-decoration: none; }
.link:hover { text-decoration: underline; }

/* ── Toast ── */
#toast { position: fixed; left: 50%; bottom: 92px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: all .25s; z-index: 60; background: #10303b; color: #fff; padding: 10px 12px 10px 14px; border-radius: 14px; font-size: 13px; display: flex; align-items: center; gap: 12px; box-shadow: 0 12px 30px -10px rgba(0,0,0,.5); max-width: calc(100% - 24px); }
#toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
#toast button { color: #ffd166; font-weight: 700; }

/* ── Onboarding ── */
.onboard { min-height: 100vh; display: flex; flex-direction: column; padding: 22px 18px; gap: 16px;
  background: radial-gradient(120% 60% at 100% 0%, color-mix(in srgb, var(--sky) 35%, transparent), transparent 60%),
              radial-gradient(90% 50% at 0% 100%, color-mix(in srgb, var(--coral) 18%, transparent), transparent 60%), var(--bg); }
.onboard .logo { width: 64px; height: 64px; border-radius: 20px; box-shadow: var(--shadow); }
.onboard h1 { font-size: 26px; line-height: 1.15; letter-spacing: -.02em; }
.onboard h1 span { background: linear-gradient(90deg, var(--teal), var(--coral)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.feat { display: flex; gap: 12px; align-items: center; }
.feat .fi { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 18px; flex: none; }
.feat b { display: block; font-size: 13.5px; }
.feat span { font-size: 12px; color: var(--muted); }
.steps { display: flex; gap: 6px; }
.steps i { flex: 1; height: 4px; border-radius: 99px; background: var(--line); }
.steps i.on { background: var(--teal-2); }
.spacer { flex: 1; }

/* ── Activities ── */
.loc { background: var(--surface); border-radius: 14px; padding: 8px 8px 8px 12px; box-shadow: var(--shadow); font-size: 13px; }
.loc .i { color: var(--pink); vertical-align: -3px; }
.loc select { width: auto; padding: 6px 8px; font-size: 12.5px; }
.map { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); height: 190px; background: var(--surface-2); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.place { display: flex; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); align-items: flex-start; }
.place:first-child { border-top: 0; }
.place .grow { cursor: pointer; }
.place .t { font-weight: 650; font-size: 13.5px; line-height: 1.3; }
.place .m { font-size: 11.5px; color: var(--muted); display: flex; gap: 5px; flex-wrap: wrap; margin-top: 2px; }
.place.sel .t { color: var(--pink); }
.cat-ico { width: 34px; height: 34px; border-radius: 11px; background: color-mix(in srgb, var(--pink) 12%, var(--surface)); display: grid; place-items: center; font-size: 16px; flex: none; }
.facts { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.place-actions { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.place-actions .btn { padding: 5px 9px; font-size: 11.5px; }
.star { color: var(--faint); }
.star.on { color: var(--sun); }
.star.on .i { fill: var(--sun); }

/* ── Share sheet ── */
.share-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.share-wa { background: #25d366; color: #fff; }
button.link { background: none; padding: 0; font: inherit; color: var(--teal); font-weight: 600; cursor: pointer; }

/* ── Solo spending bars ── */
.catbars { display: grid; gap: 6px; margin-top: 12px; }
.cb { display: grid; grid-template-columns: 1fr 1.3fr auto; gap: 8px; align-items: center; font-size: 12px; }
.cb i { height: 6px; border-radius: 99px; background: rgba(255,255,255,.75); display: block; }
.cb b { font-size: 12px; }

/* ── Brand wordmark ── */
.wordmark, .wordmark-lg { font-family: "Fredoka", ui-rounded, "SF Pro Rounded", "Nunito", "Segoe UI Variable Display", system-ui, sans-serif; font-weight: 650; letter-spacing: -.01em; color: var(--teal-900); }
@media (prefers-color-scheme: dark) { .wordmark, .wordmark-lg { color: var(--ink); } }
.brand b.wordmark { font-size: 18px; }
.wordmark-lg { font-size: 22px; background: none !important; -webkit-background-clip: initial !important; color: var(--teal-900) !important; }

/* ── Registry & creator lists ── */
.vis-row { display: flex; align-items: center; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.vis-pill { display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border-radius: 99px; font-size: 12px; font-weight: 700; background: var(--surface-2); border: 1.5px solid var(--line); color: var(--muted); }
.vis-pill .i { width: 13px; height: 13px; }
.vis-pill.registry { background: color-mix(in srgb, var(--coral) 12%, var(--surface)); border-color: color-mix(in srgb, var(--coral) 45%, transparent); color: #c2410c; }
.vis-pill.creator { background: color-mix(in srgb, var(--sun) 18%, var(--surface)); border-color: color-mix(in srgb, var(--sun) 55%, transparent); color: #9a5b00; }
.link-row { display: flex; align-items: center; gap: 4px; margin-top: 8px; padding: 6px 6px 6px 10px; border-radius: 10px; background: var(--surface-2); font-size: 12px; min-width: 0; }
.link-row .link { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pill.gift { background: color-mix(in srgb, var(--coral) 14%, var(--surface)); color: #c2410c; }
ul.how { margin: 0 0 4px 18px; font-size: 12.5px; color: var(--muted); display: grid; gap: 4px; }
label.check { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; font-weight: 600; cursor: pointer; }
label.check input { width: 18px; height: 18px; accent-color: var(--coral); margin-top: 1px; flex: none; }
.creator-head { display: flex; gap: 12px; align-items: center; }
.avatar-pick { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; flex: none; cursor: pointer; background: linear-gradient(135deg, var(--coral), var(--sun)); display: grid; place-items: center; color: #fff; font-size: 28px; font-weight: 800; box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--line); }
.avatar-pick img { width: 100%; height: 100%; object-fit: cover; }
.danger-btn { background: color-mix(in srgb, var(--red) 10%, var(--surface)); color: var(--red); }
