* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; font-size: 16.5px; line-height: 1.55;
  background: linear-gradient(180deg, #241708 0, #170f06 340px, #120c06 100%) fixed, #120c06; color: #f7f1e6; }
a { color: #f5c542; text-decoration: none; }
a:hover { text-decoration: underline; }
header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px;
  background: linear-gradient(rgba(23,15,6,.97), rgba(23,15,6,.97)) padding-box, linear-gradient(90deg, #d4af37, #ff8c42, #d4af37) border-box;
  border-bottom: 3px solid transparent; position: sticky; top: 0; z-index: 10; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand:hover { text-decoration: none; }
.brand img { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-size: 1.35rem; font-weight: 800; color: #fff; }
.gold { color: #f5c542; }
.tagline { font-size: 0.78rem; color: #d8c9a8; max-width: 420px; }
.head-right { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
nav { display: flex; gap: 4px; flex-wrap: wrap; }
nav a { color: #f3e9d2; font-weight: 600; font-size: 0.97rem; padding: 9px 10px; border-radius: 10px; }
nav a:hover { color: #ffd964; background: rgba(245,197,66,.12); text-decoration: none; }
.userbox { display: flex; align-items: center; gap: 8px; }
main { max-width: 780px; margin: 0 auto; padding: 18px 12px 44px; }
footer { text-align: center; color: #b8a67e; font-size: 0.87rem; padding: 22px 10px 32px; }
.card { background: linear-gradient(180deg, #2a1e10, #211708); border: 1px solid #4a3517; border-radius: 20px;
  padding: 18px; margin-bottom: 16px; box-shadow: 0 6px 22px rgba(0,0,0,.35); }
.card.narrow { max-width: 440px; margin: 24px auto; }
h1, h2, h3 { margin-top: 0; }
.section-title { margin: 22px 0 12px; }

/* ---- hero ---- */
.hero { text-align: center; padding: 14px 4px 6px; }
.hero-banner { width: 100%; display: block; border-radius: 22px; border: 1px solid #4a3517;
  box-shadow: 0 10px 34px rgba(0,0,0,.45), 0 0 44px rgba(245,197,66,.14); margin-bottom: 20px; }
.hero-logo { width: 118px; height: 118px; border-radius: 26px; object-fit: cover; box-shadow: 0 0 34px rgba(245,197,66,.35); }
.hero h1 { font-size: 2.4rem; margin: 12px 0 4px; color: #fff; }
.hero-tag { color: #f5c542; font-weight: 600; }
.hero-friendly { font-size: 1.08rem; color: #ffe9bd; margin: 10px auto 2px; max-width: 560px; }
.open-line { color: #ffe9a8; font-weight: 700; font-size: 1.05rem; margin: 6px 0 0; }

/* ---- how it works ---- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 18px 0 20px; }
.step { background: linear-gradient(180deg, #2e2110, #221806); border: 1px solid #4a3517; border-radius: 18px;
  padding: 16px 12px; text-align: center; box-shadow: 0 4px 16px rgba(0,0,0,.3); }
.step .step-num { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px;
  border-radius: 50%; background: linear-gradient(180deg, #ffd964, #e08a2e); color: #241503; font-weight: 900; font-size: 1.05rem; margin-bottom: 6px; }
.step .step-icon { font-size: 1.7rem; display: block; margin: 2px 0 4px; }
.step b { display: block; font-size: 1.02rem; color: #fff; }
.step span { font-size: 0.9rem; color: #d8c9a8; }

/* ---- feature cards ---- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 6px 0 20px; }
.feat-card { display: block; border-radius: 18px; padding: 16px 14px; color: #f7f1e6; border: 1px solid #4a3517;
  background: linear-gradient(180deg, #2a1e10, #1f1507); box-shadow: 0 4px 16px rgba(0,0,0,.3); border-top: 4px solid #f5c542; }
.feat-card:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,.4); }
.feat-card .feat-icon { font-size: 1.8rem; display: block; margin-bottom: 6px; }
.feat-card b { display: block; font-size: 1.05rem; color: #fff; }
.feat-card span { font-size: 0.9rem; color: #d8c9a8; }
.feat-card.coral { border-top-color: #ff7a59; }
.feat-card.teal { border-top-color: #2ec4b6; }
.feat-card.violet { border-top-color: #9b7bff; }
.feat-card.pink { border-top-color: #ff6b9d; }
.feat-card.green { border-top-color: #7bc96f; }

/* ---- buttons & forms ---- */
.btn { display: inline-block; background: #38260f; color: #fff; border: 1px solid #5a401c; border-radius: 12px;
  padding: 10px 18px; min-height: 44px; font-size: 0.95rem; cursor: pointer; font-weight: 600; line-height: 1.35; }
.btn:hover { border-color: #f5c542; text-decoration: none; }
.btn.gold { background: linear-gradient(180deg, #ffd964, #e8a33d); color: #241503; border-color: #d4af37; box-shadow: 0 3px 12px rgba(245,197,66,.3); }
.btn.gold:hover { background: linear-gradient(180deg, #ffe184, #f0ae4a); }
.btn.ghost { background: transparent; }
.btn.small { padding: 7px 13px; min-height: 38px; font-size: 0.87rem; }
.btn.big { padding: 13px 26px; min-height: 52px; font-size: 1.08rem; border-radius: 14px; }
form.inline { display: inline; }
label { display: block; margin: 12px 0; font-size: 0.94rem; color: #e6d7b5; }
input, textarea, select { width: 100%; background: #170f06; border: 1px solid #4a3517; border-radius: 12px; color: #fff;
  padding: 11px 13px; margin-top: 5px; font-size: 1rem; min-height: 46px; }
textarea { min-height: 0; }
input:focus, textarea:focus { outline: 2px solid #d4af37; border-color: #d4af37; }
input.mini { width: 130px; display: inline-block; padding: 6px 9px; min-height: 38px; font-size: 0.85rem; }
label.check { display: flex; align-items: flex-start; gap: 9px; cursor: pointer; }
label.check input[type="checkbox"] { width: 20px; height: 20px; min-height: 0; margin-top: 2px; padding: 0; flex: 0 0 auto; accent-color: #d4af37; }
label.check input[type="radio"] { width: 20px; height: 20px; min-height: 0; margin-top: 2px; padding: 0; flex: 0 0 auto; accent-color: #d4af37; }
.fee-note { color: #ffe9a8; font-size: 0.93rem; margin-top: 8px; }
.err { background: #3d1710; border: 1px solid #c0532f; color: #ffc9b3; border-radius: 12px; padding: 10px 13px; }
.notice { background: #2e2205; border: 1px solid #d4af37; color: #ffe9a8; border-radius: 12px; padding: 10px 13px; font-size: 0.93rem; }
.details-block { background: rgba(245,197,66,.06); border: 1px solid #6b5222; border-radius: 14px; padding: 12px 16px; margin: 14px 0; }
.details-block h3 { margin: 0 0 8px; color: #ffd75e; }
.details-table { border-collapse: collapse; }
.details-table th { text-align: left; color: #ffe9a8; font-weight: 600; padding: 4px 14px 4px 0; vertical-align: top; white-space: nowrap; }
.details-table td { padding: 4px 0; }
.muted { color: #bfae8b; font-size: 0.9rem; }
.small { font-size: 0.82rem; }
.empty { text-align: center; padding: 26px 18px; border: 1.5px dashed #6b5222; border-radius: 20px;
  background: rgba(245,197,66,.05); color: #e6d7b5; margin-bottom: 16px; }
.empty .empty-icon { font-size: 2rem; display: block; margin-bottom: 6px; }

/* ---- posts, listings, chat ---- */
.post-head { display: flex; justify-content: space-between; margin-bottom: 6px; }
.post-body { font-size: 1.03rem; line-height: 1.5; }
.media { margin: 10px 0; }
.media img { width: 100%; border-radius: 14px; display: block; }
.media video { width: 100%; border-radius: 14px; }
.media iframe { width: 100%; aspect-ratio: 16/9; border-radius: 14px; }
.actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 10px 0; }
.comment-form { display: flex; gap: 8px; margin-top: 10px; }
.comment-form input { flex: 1; margin-top: 0; }
.comments { margin-top: 8px; }
.comment { padding: 7px 0; border-top: 1px solid #3a2a12; font-size: 0.96rem; }
.list-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 6px; border-bottom: 1px solid #3a2a12; color: #f3e9d2; }
a.list-row:hover { text-decoration: none; background: rgba(245,197,66,.07); border-radius: 10px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.listing .media img { height: 170px; object-fit: cover; }
.ad-card { border: 2px solid rgba(245,197,66,.55); }
.ad-card a { color: inherit; }
.ad-card a:hover { text-decoration: none; }
.ad-card h3 { margin: 6px 0 2px; }
.ad-media { background: #2a1d10; border-radius: 14px; padding: 8px; }
.ad-media img { width: 100%; max-height: 420px; object-fit: contain; border-radius: 10px; display: block; }
.price { color: #f5c542; font-weight: 800; font-size: 1.15rem; }
.price.big { font-size: 1.5rem; }
.badge { background: linear-gradient(180deg, #ffd964, #d4af37); color: #241503; border-radius: 20px; padding: 3px 11px; font-size: 0.76rem; font-weight: 800; vertical-align: middle; }
.badge.red { background: #d84f35; color: #fff; }
.badge.verified { background: linear-gradient(180deg, #43d69b, #1d9e6c); color: #fff; }
.thread { display: flex; flex-direction: column; gap: 6px; margin: 12px 0; }
.msg { max-width: 80%; }
.msg .bubble { background: #38260f; border-radius: 16px; padding: 9px 13px; display: inline-block; }
.msg.mine { align-self: flex-end; text-align: right; }
.msg.mine .bubble { background: linear-gradient(180deg, #ffd964, #e8a33d); color: #241503; }
ol.rules li { margin: 11px 0; line-height: 1.55; }
.items-list { margin: 8px 0; padding-left: 22px; line-height: 1.65; }

/* ---- shops & founding sellers ---- */
.avatar { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(180deg, #ffd964, #e08a2e); color: #241503; font-weight: 900; font-size: 1.45rem; flex: 0 0 auto;
  box-shadow: 0 3px 10px rgba(245,197,66,.35); }
.avatar.small { width: 38px; height: 38px; font-size: 1rem; }
.shop-id { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.shop-id h2 { margin: 0 0 2px; }
.founder-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.founder-chip { display: inline-flex; align-items: center; gap: 9px; background: #38260f; border: 1px solid #5a401c;
  border-radius: 999px; padding: 5px 15px 5px 5px; color: #f3e9d2; font-weight: 600; }
.founder-chip:hover { border-color: #f5c542; text-decoration: none; }

/* ---- notifications ---- */
.list-row.notif-unread { background: rgba(245,197,66,.09); border-left: 3px solid #f5c542; border-radius: 10px; padding-left: 10px; }

/* ---- presence, live chat & video calls ---- */
.online-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #6b5a3e;
  margin-right: 7px; vertical-align: middle; }
.online-dot.on { background: #57d977; box-shadow: 0 0 8px rgba(87,217,119,.85); }
.unread-dot { color: #ff6b9d; font-size: 0.8rem; }
.call-overlay { position: fixed; inset: 0; z-index: 60; background: rgba(18,11,4,.93);
  display: flex; align-items: center; justify-content: center; padding: 14px; }
.call-box { width: 100%; max-width: 640px; background: linear-gradient(180deg, #2a1e10, #211708);
  border: 1px solid #4a3517; border-radius: 20px; padding: 16px; box-shadow: 0 12px 40px rgba(0,0,0,.5); }
.call-status { font-size: 1.15rem; font-weight: 700; color: #ffe9bd; text-align: center; margin-bottom: 12px; }
.call-video-wrap { position: relative; background: #000; border-radius: 16px; overflow: hidden; aspect-ratio: 4/3; }
.call-video-wrap video#call-remote { width: 100%; height: 100%; object-fit: cover; display: block; }
.call-video-wrap video#call-local { position: absolute; right: 10px; bottom: 10px; width: 28%; aspect-ratio: 4/3;
  object-fit: cover; border-radius: 12px; border: 2px solid rgba(245,197,66,.7); background: #170f06; }
.call-pulse { position: absolute; top: 12px; left: 12px; font-size: 1.6rem; animation: callpulse 1.1s ease-in-out infinite; }
@keyframes callpulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.25); opacity: .55; } }
.call-btns { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 14px; }
.btn.call-end { background: #d84f35; border-color: #a83a24; color: #fff; }
.call-privacy { text-align: center; color: #bfae8b; font-size: 0.82rem; margin: 12px 0 0; }

/* ---- search & categories ---- */
.searchbox { display: flex; gap: 6px; align-items: center; }
.searchbox input { width: 175px; margin-top: 0; min-height: 38px; padding: 7px 11px; font-size: 0.9rem; }
.badge.tag { background: #38260f; color: #d8c9a8; border: 1px solid #5a401c; }
.cat-row { margin: 2px 0 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.chip { display: inline-block; padding: 7px 14px; border-radius: 999px; background: #2a1e10; border: 1px solid #5a401c;
  color: #f3e9d2; font-weight: 600; font-size: 0.9rem; }
.chip:hover { border-color: #f5c542; text-decoration: none; }
.chip.active { background: linear-gradient(180deg, #ffd964, #e8a33d); color: #241503; border-color: #d4af37; }
.sell-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.sell-tools form { display: flex; align-items: center; }
.sell-tools label.inline-label { display: flex; align-items: center; gap: 8px; margin: 0; }
.sell-tools select { width: auto; margin-top: 0; min-height: 40px; padding: 7px 10px; }

/* ---- reviews & favorites ---- */
.rating { color: #f5c542; font-weight: 700; white-space: nowrap; }
.rating-line { font-size: 1.12rem; font-weight: 800; color: #f5c542; margin: 2px 0 6px; }
.stars { display: inline-flex; flex-direction: row-reverse; gap: 2px; margin: 2px 0; position: relative; }
.stars input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; padding: 0; margin: 0; }
.stars label { font-size: 1.9rem; line-height: 1.1; cursor: pointer; opacity: .28; filter: grayscale(70%); margin: 0; }
.stars input:checked ~ label { opacity: 1; filter: none; }
.stars label:hover, .stars label:hover ~ label { opacity: .8; }
.card.review { padding-top: 14px; padding-bottom: 10px; }

/* ---- mobile ---- */
@media (max-width: 640px) {
  .searchbox input { width: 118px; }
  .brand-name { font-size: 1.12rem; }
  .tagline { display: none; }
  .hero h1 { font-size: 1.85rem; }
  .hero-logo { width: 96px; height: 96px; }
  .steps { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .card { padding: 15px; }
}

/* ============================================================
   COLORFUL UPGRADE + FRIENDLINESS PASS — 2026-11-26
   John's direction: "Make sure our website attractive — make it
   colorful" + "Make sure friendly user". Warm dark base stays;
   color comes in as glows, tints, ribbons and per-category hues.
   This block intentionally overrides earlier rules (same file,
   later position) so every feature above keeps working as-is.
   ============================================================ */
:root {
  --gold: #f5c542; --gold-2: #e8a33d; --coral: #ff7a59; --teal: #2ec4b6;
  --violet: #9b7bff; --pink: #ff6b9d; --sky: #4db2ff; --lime: #9ccc3c; --green: #7bc96f;
  --ink: #241503;
}

/* soft colorful aurora glows at the top of the warm base */
body { background:
  radial-gradient(640px 300px at 12% -60px, rgba(155,123,255,.16), rgba(155,123,255,0) 70%),
  radial-gradient(720px 320px at 88% -70px, rgba(46,196,182,.13), rgba(46,196,182,0) 70%),
  radial-gradient(560px 260px at 50% -50px, rgba(255,107,157,.10), rgba(255,107,157,0) 70%),
  linear-gradient(180deg, #241708 0, #170f06 340px, #120c06 100%) fixed, #120c06; }

/* header keeps its dark glass, but the underline is now a celebration ribbon */
header { background: linear-gradient(rgba(23,15,6,.97), rgba(23,15,6,.97)) padding-box,
  linear-gradient(90deg, #d4af37, #ff7a59, #ff6b9d, #9b7bff, #2ec4b6, #d4af37) border-box; }

/* ---- hero: glowing banner + rainbow ribbon under the welcome ---- */
.hero { position: relative; }
.hero-banner { border: 2px solid rgba(245,197,66,.55);
  box-shadow: 0 10px 34px rgba(0,0,0,.45), 0 0 38px rgba(255,122,89,.20), 0 0 70px rgba(155,123,255,.18); }
.hero-logo { box-shadow: 0 0 34px rgba(245,197,66,.35), 0 0 60px rgba(255,107,157,.18); }
.hero::after { content: ''; display: block; height: 5px; border-radius: 5px; max-width: 440px; margin: 20px auto 2px;
  background: linear-gradient(90deg, var(--gold), var(--coral), var(--pink), var(--violet), var(--sky), var(--teal), var(--lime)); }

/* ---- section headings get a small colorful accent bar ---- */
.section-title { display: flex; align-items: center; gap: 10px; }
.section-title::before { content: ''; flex: 0 0 auto; width: 6px; height: 1.1em; border-radius: 3px;
  background: linear-gradient(180deg, var(--gold), var(--coral), var(--pink), var(--violet)); }

/* ---- how-it-works: each step number gets its own color ---- */
.step { border-top: 3px solid rgba(245,197,66,.4); }
.step:nth-child(2) { border-top-color: rgba(46,196,182,.55); }
.step:nth-child(3) { border-top-color: rgba(255,107,157,.55); }
.step:nth-child(2) .step-num { background: linear-gradient(180deg, #5fe3d4, #159e8f); color: #04231f; }
.step:nth-child(3) .step-num { background: linear-gradient(180deg, #ff9ec2, #e04f86); color: #2b0716; }

/* ---- feature cards: full soft color washes, not just a top border ---- */
.feat-card { background: linear-gradient(180deg, rgba(245,197,66,.17), rgba(245,197,66,.05)); border-color: rgba(245,197,66,.45); }
.feat-card.coral { background: linear-gradient(180deg, rgba(255,122,89,.19), rgba(255,122,89,.05)); border-color: rgba(255,122,89,.5); border-top-color: #ff7a59; }
.feat-card.teal { background: linear-gradient(180deg, rgba(46,196,182,.18), rgba(46,196,182,.05)); border-color: rgba(46,196,182,.5); border-top-color: #2ec4b6; }
.feat-card.violet { background: linear-gradient(180deg, rgba(155,123,255,.19), rgba(155,123,255,.05)); border-color: rgba(155,123,255,.5); border-top-color: #9b7bff; }
.feat-card.pink { background: linear-gradient(180deg, rgba(255,107,157,.18), rgba(255,107,157,.05)); border-color: rgba(255,107,157,.5); border-top-color: #ff6b9d; }
.feat-card.green { background: linear-gradient(180deg, rgba(123,201,111,.18), rgba(123,201,111,.05)); border-color: rgba(123,201,111,.5); border-top-color: #7bc96f; }
.feat-card:hover { box-shadow: 0 10px 24px rgba(0,0,0,.42), 0 0 18px rgba(245,197,66,.13); }

/* ---- cards everywhere: a whisper of rainbow along the top edge ---- */
.card { position: relative;
  background: linear-gradient(180deg, rgba(255,217,100,.05), rgba(255,217,100,0) 64px), linear-gradient(180deg, #2a1e10, #211708); }
.card::before { content: ''; position: absolute; top: 0; left: 16px; right: 16px; height: 3px; border-radius: 0 0 4px 4px; pointer-events: none;
  background: linear-gradient(90deg, rgba(245,197,66,0), rgba(245,197,66,.6), rgba(255,122,89,.5), rgba(255,107,157,.5), rgba(155,123,255,.5), rgba(46,196,182,.5), rgba(46,196,182,0)); }

/* ---- buttons: secondary gets a soft colorful outline on hover ---- */
.btn { border-color: #7a5c2e; }
.btn:hover { border-color: var(--coral); box-shadow: 0 0 0 3px rgba(255,122,89,.16); }
.btn.gold:hover { box-shadow: 0 3px 12px rgba(245,197,66,.3); }

/* ---- badges keep their meanings, in color ----
   Founding Seller = gold (base .badge), SOLD = red (base .badge.red). */
.badge.verified { background: linear-gradient(180deg, #5fe3d4, #159e8f); color: #fff; }
.badge.community { background: linear-gradient(180deg, #b79cff, #7a5af5); color: #fff; }
.badge.drop { background: linear-gradient(180deg, #9be15d, #4c9a3f); color: #fff; }

/* ---- nav: bigger tap targets + a different warm color per link on hover ---- */
nav a { padding: 10px 11px; }
nav a:nth-child(6n+2):hover { background: rgba(255,122,89,.16); color: #ffb59f; }
nav a:nth-child(6n+3):hover { background: rgba(46,196,182,.16); color: #8ff0e4; }
nav a:nth-child(6n+4):hover { background: rgba(255,107,157,.16); color: #ffb3cd; }
nav a:nth-child(6n+5):hover { background: rgba(77,178,255,.16); color: #a8d8ff; }
nav a:nth-child(6n+6):hover { background: rgba(155,123,255,.18); color: #cdb9ff; }
.userbox > a { display: inline-block; padding: 10px 6px; }
footer a { display: inline-block; padding: 4px 6px; }

/* ---- category chips & tags: every category has its own color ----
   Inactive = soft wash + light tinted text; active chip = solid color. */
.chip { min-height: 44px; display: inline-flex; align-items: center; padding: 9px 16px; }
.chip.cat-anime { background: rgba(155,123,255,.16); color: #cdb9ff; border-color: rgba(155,123,255,.55); }
.chip.cat-anime.active { background: linear-gradient(180deg, #a58bff, #7a5af5); color: #fff; border-color: #7a5af5; }
.chip.cat-clothing { background: rgba(255,107,157,.15); color: #ffb3cd; border-color: rgba(255,107,157,.5); }
.chip.cat-clothing.active { background: linear-gradient(180deg, #ff8fb8, #e04f86); color: #fff; border-color: #e04f86; }
.chip.cat-electronics { background: rgba(77,178,255,.15); color: #a8d8ff; border-color: rgba(77,178,255,.5); }
.chip.cat-electronics.active { background: linear-gradient(180deg, #6fc2ff, #2b7fd4); color: #fff; border-color: #2b7fd4; }
.chip.cat-home { background: rgba(255,122,89,.15); color: #ffc0ab; border-color: rgba(255,122,89,.5); }
.chip.cat-home.active { background: linear-gradient(180deg, #ff9a76, #e85d3d); color: #fff; border-color: #e85d3d; }
.chip.cat-beauty { background: rgba(232,121,217,.15); color: #f7bcf0; border-color: rgba(232,121,217,.5); }
.chip.cat-beauty.active { background: linear-gradient(180deg, #f09ae6, #c44fb4); color: #fff; border-color: #c44fb4; }
.chip.cat-toys { background: rgba(156,204,60,.14); color: #d3ec9a; border-color: rgba(156,204,60,.5); }
.chip.cat-toys.active { background: linear-gradient(180deg, #b5dd6b, #7aa72f); color: #1d2b04; border-color: #7aa72f; }
.chip.cat-digital { background: rgba(46,196,182,.15); color: #8ff0e4; border-color: rgba(46,196,182,.5); }
.chip.cat-digital.active { background: linear-gradient(180deg, #5fe3d4, #159e8f); color: #04231f; border-color: #159e8f; }
.chip.cat-services { background: rgba(255,159,67,.15); color: #ffd3a1; border-color: rgba(255,159,67,.5); }
.chip.cat-services.active { background: linear-gradient(180deg, #ffbe78, #e07f24); color: #2b1503; border-color: #e07f24; }
.chip.cat-other { background: rgba(245,197,66,.13); color: #ffe9a8; border-color: rgba(245,197,66,.5); }
.chip.cat-other.active { background: linear-gradient(180deg, #ffd964, #e8a33d); color: #241503; border-color: #d4af37; }
.chip.cat-food { background: rgba(255,82,82,.15); color: #ffb8b8; border-color: rgba(255,82,82,.5); }
.chip.cat-food.active { background: linear-gradient(180deg, #ff7b7b, #e53935); color: #fff; border-color: #e53935; }
.chip.cat-cars { background: rgba(121,134,203,.16); color: #c5cdf2; border-color: rgba(121,134,203,.55); }
.chip.cat-cars.active { background: linear-gradient(180deg, #9fa8da, #5c6bc0); color: #fff; border-color: #5c6bc0; }
.chip.cat-handmade { background: rgba(161,136,127,.16); color: #dcc7bc; border-color: rgba(161,136,127,.55); }
.chip.cat-handmade.active { background: linear-gradient(180deg, #bcaaa4, #795548); color: #fff; border-color: #795548; }
.chip.cat-pets { background: rgba(255,202,40,.14); color: #ffecb3; border-color: rgba(255,202,40,.5); }
.chip.cat-pets.active { background: linear-gradient(180deg, #ffd54f, #ffb300); color: #2b1d00; border-color: #ffb300; }
.chip.cat-tickets { background: rgba(171,71,188,.16); color: #e1bee7; border-color: rgba(171,71,188,.55); }
.chip.cat-tickets.active { background: linear-gradient(180deg, #ba68c8, #8e24aa); color: #fff; border-color: #8e24aa; }
.chip.cat-plants { background: rgba(102,187,106,.15); color: #c8e6c9; border-color: rgba(102,187,106,.55); }
.chip.cat-plants.active { background: linear-gradient(180deg, #81c784, #43a047); color: #fff; border-color: #43a047; }
.chip.cat-books { background: rgba(38,198,218,.14); color: #b2ebf2; border-color: rgba(38,198,218,.5); }
.chip.cat-books.active { background: linear-gradient(180deg, #4dd0e1, #00acc1); color: #04202a; border-color: #00acc1; }
.chip:hover { border-color: #f5c542; }
.badge.tag.cat-anime { background: rgba(155,123,255,.2); color: #cdb9ff; border-color: rgba(155,123,255,.6); }
.badge.tag.cat-clothing { background: rgba(255,107,157,.18); color: #ffb3cd; border-color: rgba(255,107,157,.55); }
.badge.tag.cat-electronics { background: rgba(77,178,255,.18); color: #a8d8ff; border-color: rgba(77,178,255,.55); }
.badge.tag.cat-home { background: rgba(255,122,89,.18); color: #ffc0ab; border-color: rgba(255,122,89,.55); }
.badge.tag.cat-beauty { background: rgba(232,121,217,.18); color: #f7bcf0; border-color: rgba(232,121,217,.55); }
.badge.tag.cat-toys { background: rgba(156,204,60,.17); color: #d3ec9a; border-color: rgba(156,204,60,.55); }
.badge.tag.cat-digital { background: rgba(46,196,182,.18); color: #8ff0e4; border-color: rgba(46,196,182,.55); }
.badge.tag.cat-services { background: rgba(255,159,67,.18); color: #ffd3a1; border-color: rgba(255,159,67,.55); }
.badge.tag.cat-other { background: rgba(245,197,66,.16); color: #ffe9a8; border-color: rgba(245,197,66,.55); }
.badge.tag.cat-food { background: rgba(255,82,82,.18); color: #ffb8b8; border-color: rgba(255,82,82,.55); }
.badge.tag.cat-cars { background: rgba(121,134,203,.19); color: #c5cdf2; border-color: rgba(121,134,203,.6); }
.badge.tag.cat-handmade { background: rgba(161,136,127,.19); color: #dcc7bc; border-color: rgba(161,136,127,.6); }
.badge.tag.cat-pets { background: rgba(255,202,40,.17); color: #ffecb3; border-color: rgba(255,202,40,.55); }
.badge.tag.cat-tickets { background: rgba(171,71,188,.19); color: #e1bee7; border-color: rgba(171,71,188,.6); }
.badge.tag.cat-plants { background: rgba(102,187,106,.18); color: #c8e6c9; border-color: rgba(102,187,106,.6); }
.badge.tag.cat-books { background: rgba(38,198,218,.17); color: #b2ebf2; border-color: rgba(38,198,218,.55); }

/* ---- friendliness: 44px+ tap targets, readable text, no sideways scroll ---- */
.btn.small { min-height: 44px; padding: 9px 14px; }
.searchbox input { min-height: 44px; }
.sell-tools select { min-height: 44px; }
input.mini { min-height: 42px; }
.muted { font-size: 0.93rem; }
input::placeholder, textarea::placeholder { color: #bfae8b; opacity: 1; }
html, body { max-width: 100%; overflow-x: hidden; }
img, video, iframe { max-width: 100%; }
.post-body, .comment, .msg .bubble, .items-list { overflow-wrap: break-word; }

/* ---- memories posting prompts (2026-11-27) ---- */
.welcome-card { background: linear-gradient(180deg, #3a2a10, #2a1e0c); border: 1px solid #d4af37; }
.welcome-card p { margin: 0; font-size: 1.02rem; }
.composer-actions { margin: 2px 0 6px; }
.composer-hint { margin: 2px 0 10px; }
.composer-video-tip { display: block; margin-top: 5px; color: #ffe9a8; font-size: 0.93rem; }
.composer-video-tip[hidden] { display: none; }
.empty .btn { margin-top: 12px; }

/* ---- how to join (2026-11-27) ---- */
.hero-join { margin: 4px 0 0; font-size: 0.98rem; }
.join-steps .step p { margin: 10px 0 0; }

/* ---- chat box (2026-11-27) ---- */
.chatbox-bubble { position: fixed; right: 16px; bottom: 16px; z-index: 55;
  background: linear-gradient(180deg, #ffd964, #e8a33d); color: #241503; border: 1px solid #d4af37;
  border-radius: 999px; padding: 13px 22px; min-height: 52px; font-size: 1rem; font-weight: 800;
  font-family: inherit; cursor: pointer;
  box-shadow: 0 6px 22px rgba(0,0,0,.45), 0 3px 12px rgba(245,197,66,.3); }
.chatbox-bubble:hover { background: linear-gradient(180deg, #ffe184, #f0ae4a); }
.chatbox-panel { position: fixed; right: 16px; bottom: 80px; z-index: 55;
  width: min(92vw, 360px); max-height: min(72vh, 580px); display: flex; flex-direction: column;
  background: linear-gradient(180deg, #2a1e10, #211708); border: 1px solid #d4af37; border-radius: 18px;
  box-shadow: 0 14px 44px rgba(0,0,0,.55); overflow: hidden; }
.chatbox-panel[hidden] { display: none; }
.chatbox-head { display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 10px 14px; background: rgba(245,197,66,.12); border-bottom: 1px solid #4a3517; color: #ffe9bd; }
.chatbox-close { background: transparent; border: 1px solid #5a401c; color: #f3e9d2; border-radius: 10px;
  min-width: 44px; min-height: 44px; font-size: 1rem; cursor: pointer; }
.chatbox-close:hover { border-color: #f5c542; }
.chatbox-body { padding: 14px; overflow-y: auto; }
.chatbox-intro { margin: 0 0 10px; }
.chatbox-thread { display: flex; flex-direction: column; gap: 6px; max-height: 300px; overflow-y: auto; margin: 0 0 10px; padding-right: 2px; }
.chatbox-send { display: flex; gap: 8px; align-items: stretch; }
.chatbox-send input { flex: 1; width: auto; margin-top: 0; }
.chatbox-send .btn { flex: 0 0 auto; }
.chatbox-form label { margin: 0 0 10px; }
.chatbox-form input, .chatbox-form textarea { margin-top: 4px; }
.chatbox-err { margin: 8px 0 0; }
.chatbox-badge { display: inline-block; margin-left: 8px; background: #d84f35; color: #fff;
  border-radius: 999px; padding: 1px 8px; font-size: 0.78rem; font-weight: 800; vertical-align: middle; }
.chatbox-badge[hidden] { display: none; }
.chatbox-person { display: flex; align-items: center; gap: 8px; width: 100%; text-align: left;
  background: rgba(245,197,66,.06); border: 1px solid #4a3517; border-radius: 12px;
  padding: 9px 10px; margin: 0 0 8px; color: #f3e9d2; font: inherit; cursor: pointer; min-height: 48px; }
.chatbox-person:hover { border-color: #f5c542; }
.chatbox-person-main { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.chatbox-preview { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chatbox-team { color: #ffd964; font-size: 0.82rem; }
.chatbox-sub { margin: 12px 0 6px; font-weight: 700; color: #ffe9bd; }
.chatbox-with { margin: 8px 0 6px; font-size: 1.02rem; }
@media (max-width: 640px) {
  .chatbox-bubble { right: 12px; bottom: 12px; }
  .chatbox-panel { right: 12px; bottom: 76px; width: calc(100vw - 24px); max-height: 68vh; }
}

/* ---- People Pack: groups ---- */
.group-list { display: flex; flex-direction: column; gap: 10px; }
.group-card { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border: 1px solid var(--border, #e5d9b8); border-radius: 14px; text-decoration: none; color: inherit; background: var(--card, #fffdf5); }
.group-card:hover { border-color: #C99700; }
.group-icon { font-size: 34px; line-height: 1; }
.group-icon.big { font-size: 40px; vertical-align: middle; }
.group-meta { display: flex; flex-direction: column; gap: 2px; }
.group-desc { color: var(--muted, #777); font-size: 0.92em; }

/* ---- People Pack: stories ---- */
.stories-row { display: flex; gap: 14px; overflow-x: auto; padding: 12px 4px; }
.story-bubble { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 72px; text-decoration: none; color: inherit; }
.story-ring { width: 62px; height: 62px; border-radius: 20px 20px 20px 6px; padding: 3px; background: linear-gradient(160deg, #ffd964, #C99700); box-shadow: 0 3px 10px rgba(201,151,0,.35); }
.story-ring img, .story-ring .story-letter { width: 100%; height: 100%; border-radius: 17px 17px 17px 4px; object-fit: cover; display: flex; align-items: center; justify-content: center; background: #fff8ea; font-size: 26px; }
.story-name { font-size: 0.78em; max-width: 72px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.story-viewer img.story-full { max-width: 100%; border-radius: 14px; }

/* ---- People Pack: events ---- */
.event-card { display: flex; gap: 14px; align-items: flex-start; }
.event-date { min-width: 64px; text-align: center; background: linear-gradient(180deg, #C99700, #a87e00); color: #fff; border-radius: 12px; padding: 8px 4px; }
.event-date .dow { font-size: 0.75em; text-transform: uppercase; letter-spacing: 1px; }
.event-date .dom { font-size: 1.5em; font-weight: bold; line-height: 1.1; }
.event-date .mon { font-size: 0.8em; }
.event-past { opacity: 0.55; }
.meetup-place { font-size: 1.05em; margin: 2px 0; }
.rsvp-box { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 8px; padding: 8px 10px; background: var(--hatch-widget-surface-muted, #faf3dd); border: 1px solid #e8d48a; border-radius: 10px; }
.event-photo { max-width: 180px; border-radius: 12px; }

/* ---- People Pack: polls ---- */
.poll-box { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.poll-q { font-weight: bold; }
.poll-choice { position: relative; display: block; width: 100%; text-align: left; padding: 10px 12px; border: 1px solid var(--border, #e5d9b8); border-radius: 10px; background: var(--card, #fffdf5); cursor: pointer; overflow: hidden; font-size: 1em; }
.poll-bar { position: absolute; left: 0; top: 0; bottom: 0; background: rgba(201, 151, 0, 0.25); }
.poll-choice .poll-label { position: relative; }
.poll-choice .poll-pct { position: relative; float: right; font-weight: bold; }
.poll-choice.mine { border-color: #C99700; }

/* ---- People Pack: spotlight / post of the day / memories ---- */
.spotlight-card { border: 2px solid #C99700; }
.memory-card { border-left: 5px solid #ff7ac6; }

/* ---- Quick list category chips ---- */
.catchip input { position: absolute; opacity: 0; pointer-events: none; }
.catchip { cursor: pointer; }
.catchip input:checked + .chip { outline: 3px solid #C99700; font-weight: bold; }
.catchip input:focus-visible + .chip { outline: 3px solid #7a5af5; }

/* ---- jobs & services boards: service category tags ---- */
.badge.tag.svc-cleaning { background: rgba(77,178,255,.18); color: #a8d8ff; border-color: rgba(77,178,255,.55); }
.badge.tag.svc-repairs { background: rgba(255,122,89,.18); color: #ffc0ab; border-color: rgba(255,122,89,.55); }
.badge.tag.svc-tutoring { background: rgba(155,123,255,.2); color: #cdb9ff; border-color: rgba(155,123,255,.6); }
.badge.tag.svc-beauty { background: rgba(232,121,217,.18); color: #f7bcf0; border-color: rgba(232,121,217,.55); }
.badge.tag.svc-rides { background: rgba(156,204,60,.17); color: #d3ec9a; border-color: rgba(156,204,60,.55); }
.badge.tag.svc-yard { background: rgba(102,187,106,.18); color: #c8e6c9; border-color: rgba(102,187,106,.6); }
.badge.tag.svc-tech { background: rgba(46,196,182,.18); color: #8ff0e4; border-color: rgba(46,196,182,.55); }
.badge.tag.svc-other { background: rgba(245,197,66,.16); color: #ffe9a8; border-color: rgba(245,197,66,.55); }

/* Language picker + birthday field (2026-11-28) */
.langpick { display: inline-flex; align-items: center; gap: 4px; margin: 0; }
.langpick button { min-height: 44px; min-width: 44px; padding: 8px 10px; border-radius: 999px;
  border: 1px solid #7a5c2e; background: transparent; color: inherit; font-weight: 700; cursor: pointer; }
.langpick button.active { background: linear-gradient(180deg, #ffd968, #f5c542); color: #23180a; border-color: #f5c542; }
.bday-pick { display: flex; gap: 8px; }
.bday-pick select { flex: 1; }

/* Games Corner (/games) */
.snake-wrap { display: flex; justify-content: center; }
#snake-canvas { width: 100%; max-width: 400px; height: auto; border: 2px solid #f5c542; border-radius: 12px; background: #241708; touch-action: none; }
.snake-pad { display: grid; grid-template-columns: repeat(3, 60px); gap: 8px; justify-content: center; margin-top: 12px; }
.snake-dir { min-height: 52px; font-size: 1.3rem; padding: 6px 0; }
.game-score { font-size: 1.05rem; }
.game-msg { min-height: 1.4em; font-weight: 600; color: #f5c542; }
.memory-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 420px; margin: 0 auto; }
.memory-card { position: relative; height: 74px; padding: 0; background: none; border: none; cursor: pointer; perspective: 600px; }
.mc-inner { position: absolute; inset: 0; transition: transform .35s; transform-style: preserve-3d; }
.memory-card.flipped .mc-inner { transform: rotateY(180deg); }
.mc-face { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; border-radius: 12px; font-size: 2rem; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.mc-front { background: linear-gradient(160deg, #8a6420, #5a401c); color: #f5c542; border: 1px solid #f5c542; font-weight: 700; }
.mc-back { background: #38260f; border: 1px solid #5a401c; transform: rotateY(180deg); }
.memory-card.matched .mc-back { border-color: #7bc96f; box-shadow: 0 0 10px rgba(123,201,111,.45); }
.ttt-grid { display: grid; grid-template-columns: repeat(3, 84px); gap: 8px; justify-content: center; margin: 10px auto; }
.ttt-cell { height: 84px; font-size: 2.2rem; font-weight: 700; background: #38260f; color: #fff; border: 1px solid #5a401c; border-radius: 14px; cursor: pointer; }
.ttt-cell:disabled { cursor: default; }
.ttt-cell.win { background: #5a401c; border-color: #f5c542; color: #f5c542; }

/* ---- instant helper (chat box) ---- */
.helper-box { border: 1px solid rgba(46,196,182,.65); background: rgba(46,196,182,.07); border-radius: 14px; padding: 10px 12px; margin: 0 0 12px; }
.helper-head { margin: 0 0 2px; font-weight: 700; color: #ffe9bd; }
.helper-sub { margin: 0 0 8px; }
.helper-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
.helper-chip { min-height: 44px; padding: 8px 12px; border-radius: 999px; border: 1px solid #7a5c2e; background: #2a1d10; color: #f3e9d2; cursor: pointer; font-size: .9rem; }
.helper-chip:hover { border-color: #f5c542; }
.helper-log { display: flex; flex-direction: column; gap: 6px; max-height: 260px; overflow-y: auto; margin: 0 0 8px; padding-right: 2px; }
.helper-log[hidden] { display: none; }
.helper-bubble { border: 1px solid rgba(46,196,182,.55); }
.helper-form { display: flex; gap: 8px; align-items: stretch; }
.helper-form input { flex: 1; width: auto; margin-top: 0; }
.helper-form .btn { flex: 0 0 auto; }

/* ---- seller helper (sell + quick list) ---- */
.seller-helper { border: 1px solid rgba(245,197,66,.65); background: rgba(245,197,66,.06); border-radius: 14px; padding: 10px 12px; margin: 0 0 14px; }
.sh-head { margin: 0 0 2px; font-weight: 700; color: #ffe9bd; }
.sh-sub { margin: 0 0 8px; }
.sh-label { margin: 10px 0 2px; font-weight: 700; color: #ffe9bd; font-size: .92rem; }
.sh-result { margin: 0; white-space: pre-wrap; overflow-wrap: break-word; background: #2a1d10; border: 1px solid #7a5c2e; border-radius: 10px; padding: 8px 10px; }
.seller-helper .btn { margin-top: 8px; }

/* ---- anijam buddy (chat box) ---- */
.buddy-box { border: 1px solid rgba(155,123,255,.65); background: rgba(155,123,255,.07); border-radius: 14px; padding: 10px 12px; margin: 0 0 12px; }
.buddy-head { margin: 0 0 2px; font-weight: 700; color: #ffe9bd; }
.buddy-sub { margin: 0 0 8px; }
.buddy-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
.buddy-chip { min-height: 44px; padding: 8px 12px; border-radius: 999px; border: 1px solid #7a5c2e; background: #2a1d10; color: #f3e9d2; cursor: pointer; font-size: .9rem; }
.buddy-chip:hover { border-color: #9b7bff; }
.buddy-log { display: flex; flex-direction: column; gap: 6px; max-height: 260px; overflow-y: auto; margin: 0 0 8px; padding-right: 2px; }
.buddy-log[hidden] { display: none; }
.buddy-bubble { border: 1px solid rgba(155,123,255,.55); }
.buddy-form { display: flex; gap: 8px; align-items: stretch; }
.buddy-form input { flex: 1; width: auto; margin-top: 0; }
.buddy-form .btn { flex: 0 0 auto; }

/* AniJam Bubble Dock + clip action bar -- our own look (2026-11-30):
   a floating gold-rimmed bubble dock instead of an edge-to-edge app bar,
   and labeled pill controls under each clip instead of a floating side rail. */
body { padding-bottom: 108px; }
.bottom-nav { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 50; display: flex; justify-content: space-around; gap: 2px; max-width: 760px; margin: 0 auto; background: linear-gradient(180deg, #3a2a12, #241a0c); border: 2px solid #C99700; border-radius: 28px; box-shadow: 0 12px 32px rgba(0,0,0,.55), 0 0 0 4px rgba(245,197,66,.10); padding: 7px 6px; }
.bottom-nav a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: #f5ead2; text-decoration: none; font-size: .7rem; font-weight: 600; padding: 5px 0 4px; border-radius: 20px; }
.bottom-nav a:hover { background: rgba(245,197,66,.14); }
.bottom-nav .bn-icon { font-size: 1.3rem; line-height: 1.15; }
.bottom-nav .bn-plus { font-size: 1.3rem; line-height: 1; background: linear-gradient(135deg, #ffd964, #C99700); color: #1c1503; border-radius: 16px 16px 16px 5px; padding: 4px 15px 6px; font-weight: 900; box-shadow: 0 3px 10px rgba(201,151,0,.45); }
.clip-wrap { position: relative; }
.clip-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.clip-bar form { margin: 0; display: flex; }
.clip-pill { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid #7a5c2e; background: #2a1d10; color: #f3e9d2; font-size: .92rem; font-weight: 600; font-family: inherit; text-decoration: none; cursor: pointer; }
.clip-pill b { color: #ffd964; }
.clip-pill:hover { border-color: #f5c542; }
.clip-pill.on { background: linear-gradient(135deg, #ffd964, #C99700); color: #241503; border-color: #C99700; }
.clip-pill.on b { color: #241503; }
.chatbox-bubble { bottom: 104px; }
.chatbox-panel { bottom: 168px; }
.chat-switch { display: flex; gap: 10px; margin: 0 0 12px; }
.chat-switch a { flex: 1; text-align: center; }
