* { 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; }
.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; }
.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; }
.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; }
.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; }

/* ---- mobile ---- */
@media (max-width: 640px) {
  .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; }
}
