:root {
  --brand: #E8920C;
  --brand-dark: #C97A06;
  --brand-soft: #FEF3DE;
  --ink: #1B2430;
  --ink-soft: #5A6B7B;
  --line: #E8EDF2;
  --bg: #F6F8FB;
  --card: #FFFFFF;
  --green: #22A06B;
  --amber: #F5A623;
  --red: #E5484D;
  --blue: #2F6FED;
  --shadow: 0 6px 24px rgba(27, 36, 48, 0.06);
  --shadow-lg: 0 12px 40px rgba(27, 36, 48, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1180px;
  --nav-h: 64px;
  --bottom-h: 68px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: 15px; color: var(--ink); }
h1, h2, h3, h4 { line-height: 1.2; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }

/* ============ Top nav ============ */
.topnav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topnav-inner { display: flex; align-items: center; gap: 14px; height: var(--nav-h); }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 20px; color: var(--ink); }
.brand .logo { width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(135deg, var(--brand), #F5B33D); display: grid; place-items: center; color: #fff; font-size: 18px; }
.brand span b { color: var(--brand); }
.nav-links { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav-links a { padding: 8px 12px; border-radius: 9px; font-weight: 600; font-size: 14px; color: var(--ink-soft); white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); background: var(--brand-soft); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border-radius: 12px; font-weight: 700; font-size: 14px; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-outline { border: 1.5px solid var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 14px; font-size: 13px; border-radius: 9px; }
.btn-green { background: var(--green); color: #fff; }
.btn-lg { padding: 14px 22px; font-size: 15px; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

.avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg,#6C5CE7,#3498DB); color: #fff; display: inline-grid; place-items: center; font-weight: 700; font-size: 15px; flex-shrink: 0; }
.avatar.sm { width: 28px; height: 28px; font-size: 12px; }
.avatar.lg { width: 64px; height: 64px; font-size: 26px; }

/* ============ Hero ============ */
/* ============ Hero ============ */
.btn-outline-light { border: 1.5px solid rgba(27,36,48,.18); color: var(--ink); background: #fff; }
.btn-outline-light:hover { border-color: var(--brand); color: var(--brand); }
.hero { background: linear-gradient(135deg, #FFF3EC 0%, #FFE4D6 55%, #FFD6C2 100%); padding: 48px 0 30px; position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; right: -120px; bottom: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.55), transparent 70%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 34px; align-items: center; }
@media(min-width:900px){ .hero-grid { grid-template-columns: 1.15fr 0.85fr; } }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--brand-dark); background: rgba(255,255,255,.6); border: 1px solid rgba(255,90,43,.25); padding: 6px 12px; border-radius: 999px; letter-spacing: .02em; }
.hero h1 { font-size: clamp(34px, 6vw, 56px); font-weight: 800; letter-spacing: -0.03em; margin-top: 16px; line-height: 1.05; }
.hero h1 span { color: var(--brand); }
.hero .sub { color: var(--ink-soft); font-size: 16.5px; margin-top: 14px; max-width: 500px; }
.hero-ctas { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.hero-ctas .btn { padding: 13px 22px; font-size: 15px; border-radius: 12px; }
.hero-trust-strip { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 26px; }
.hero-trust-strip .ts-item { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--ink); }
.hero-trust-strip .ts-item b { width: 22px; height: 22px; border-radius: 50%; background: #fff; color: var(--brand); display: grid; place-items: center; font-size: 12px; box-shadow: var(--shadow); }
.hero-visual { position: relative; min-height: 300px; }
.hv-card { position: absolute; border-radius: 20px; background: #fff; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; font-weight: 700; font-size: 14px; color: var(--ink); }
.hv-card em { font-style: normal; font-size: 44px; width: 92px; height: 92px; border-radius: 22px; display: grid; place-items: center; background: var(--hvc); color: #fff; box-shadow: 0 10px 24px -8px var(--hvc); }
.hv-c1 { top: 0; left: 4%; width: 46%; height: 220px; }
.hv-c2 { top: 20px; right: 0; width: 46%; height: 180px; }
.hv-c3 { bottom: 0; left: 22%; width: 42%; height: 150px; }
.hv-badge { position: absolute; top: -6px; right: 2%; background: var(--ink); color: #fff; border-radius: 999px; padding: 10px 16px; font-size: 13px; font-weight: 600; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 6px; }
.hv-badge b { color: var(--amber); font-size: 16px; }
@media(max-width:899px){ .hero-visual { display: none; } }
.search-card { background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); padding: 14px; margin-top: 26px; display: grid; gap: 10px; grid-template-columns: 1fr; }
@media(min-width:820px){ .search-card { grid-template-columns: 1.6fr 1fr 1fr auto; align-items: end; } }
.field label { display: block; font-size: 12px; font-weight: 600; color: var(--ink-soft); margin-bottom: 4px; letter-spacing: .02em; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 11px; background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); }
.search-btn { background: var(--brand); color: #fff; border-radius: 11px; padding: 13px 26px; font-weight: 800; font-size: 15px; }
.hero-examples { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.chip { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.chip:hover { border-color: var(--brand); color: var(--brand); }
.hero-stats { display: flex; gap: 28px; margin-top: 30px; flex-wrap: wrap; }
.hero-stats .num { font-size: 26px; font-weight: 800; }
.hero-stats .lbl { font-size: 13px; color: var(--ink-soft); }

/* ============ Sections ============ */
.section { padding: 40px 0; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.section-head h2 { font-size: 24px; font-weight: 800; }
.section-head .more { color: var(--brand); font-weight: 700; font-size: 14px; }
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media(min-width:640px){ .card-grid { grid-template-columns: repeat(3, 1fr); } }
@media(min-width:960px){ .card-grid { grid-template-columns: repeat(4, 1fr); } }

/* category tiles */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media(min-width:640px){ .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media(min-width:960px){ .cat-grid { grid-template-columns: repeat(4, 1fr); } }
.cat-card { background: #fff; border-radius: 14px; padding: 18px; display: flex; gap: 12px; align-items: center; box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .15s; }
.cat-card:hover { transform: translateY(-2px); }
.cat-card .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 24px; flex-shrink: 0; }
.cat-card .nm { font-weight: 700; font-size: 14px; }
.cat-card .ct { font-size: 12px; color: var(--ink-soft); }

/* listing card */
.listing-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); position: relative; transition: transform .15s; cursor: pointer; }
.listing-card:hover { transform: translateY(-3px); }
.listing-card .thumb { aspect-ratio: 4/3; background: #eef2f6; position: relative; }
.listing-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; top: 10px; left: 10px; font-size: 11px; font-weight: 800; padding: 4px 9px; border-radius: 8px; }
.badge-featured { background: var(--brand); color: #fff; }
.badge-bundle { background: var(--blue); color: #fff; }
.badge-verified { background: var(--green); color: #fff; }
.heart { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.9); display: grid; place-items: center; font-size: 16px; }
.listing-body { padding: 12px; }
.listing-body .t { font-weight: 700; font-size: 15px; line-height: 1.3; }
.listing-body .meta { color: var(--ink-soft); font-size: 12.5px; margin-top: 4px; display: flex; gap: 6px; align-items: center; }
.listing-body .price-row { display: flex; align-items: baseline; justify-content: space-between; margin-top: 8px; }
.price { font-weight: 800; font-size: 18px; }
.price small { font-weight: 500; font-size: 12px; color: var(--ink-soft); }
.rating { color: var(--amber); font-weight: 700; font-size: 13px; display: flex; align-items: center; gap: 3px; }
.owner-row { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.owner-row .nm { font-size: 13px; font-weight: 600; }

/* ============ Buttons bottom ============ */
.bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid var(--line); height: var(--bottom-h); display: flex; z-index: 60; }
.bottom-nav a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 10.5px; font-weight: 600; color: var(--ink-soft); }
.bottom-nav a .bx { font-size: 21px; }
.bottom-nav a.active { color: var(--brand); }

/* layout spacing with fixed bottoms */
main.page { padding-bottom: calc(var(--bottom-h) + 30px); }
@media(min-width:820px){ main.page { padding-bottom: 60px; } .bottom-nav { display: none; } }

/* ============ Owner banner ============ */
.ownbanner { background: linear-gradient(135deg, var(--ink), #2C3E50); color: #fff; border-radius: 18px; padding: 26px; display: flex; flex-direction: column; gap: 16px; position: relative; overflow: hidden; }
.ownbanner h2 { font-size: 26px; font-weight: 800; }
.ownbanner .earn-ex { display: flex; gap: 14px; flex-wrap: wrap; }
.earn-tag { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); padding: 10px 14px; border-radius: 12px; font-weight: 600; font-size: 13.5px; }
.earn-tag b { display: block; color: #FFB86B; font-size: 19px; }

/* ============ How it works ============ */
.steps { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
@media(min-width:820px){ .steps { grid-template-columns: repeat(4,1fr); } }
.step { background: #fff; padding: 18px; border-radius: 14px; border: 1px solid var(--line); }
.step .n { width: 30px; height: 30px; border-radius: 9px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-weight: 800; margin-bottom: 10px; }
.step h4 { margin-bottom: 4px; }
.step p { color: var(--ink-soft); font-size: 13px; }

/* ============ Listing detail ============ */
.detail-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media(min-width:900px){ .detail-grid { grid-template-columns: 1.5fr 1fr; } }
.gallery { position: relative; border-radius: var(--radius); overflow: hidden; background: #eef2f6; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.back-btn { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-soft); font-weight: 600; margin-bottom: 14px; }
.detail-card { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.detail-title { font-size: 25px; font-weight: 800; }
.detail-price-big { font-size: 30px; font-weight: 800; color: var(--brand); margin: 14px 0 4px; }
.detail-price-big small { font-size: 15px; color: var(--ink-soft); font-weight: 500; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0; }
.meta-pill { background: var(--bg); border-radius: 8px; padding: 7px 11px; font-size: 12.5px; font-weight: 600; color: var(--ink-soft); display: inline-flex; gap: 6px; align-items: center; }
.detail-desc { color: var(--ink-soft); font-size: 14.5px; margin-top: 12px; white-space: pre-line; }
.owner-card { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.owner-card .info .nm { font-weight: 700; }
.owner-card .info .sub { font-size: 12.5px; color: var(--ink-soft); }

/* booking widget */
.booking-box { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); border: 1px solid var(--line); position: sticky; top: calc(var(--nav-h) + 12px); }
.booking-box h3 { font-size: 18px; }
.price-line { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.price-line.total { border-bottom: none; font-weight: 800; font-size: 16px; padding-top: 12px; }
.price-line.deposit { color: var(--green); }
.price-line.fee { color: var(--red); }

/* ============ Forms ============ */
.form-card { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); border: 1px solid var(--line); max-width: 460px; margin: 0 auto; }
.form-card.wide { max-width: 640px; }
.form-title { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.form-sub { color: var(--ink-soft); font-size: 14px; margin-bottom: 20px; }
.form-row { margin-bottom: 14px; }
.form-row label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.form-row input, .form-row select, .form-row textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 11px; background: #fff; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: none; border-color: var(--brand); }
.form-row textarea { min-height: 90px; resize: vertical; }
.form-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tier-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tier-card { position: relative; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px; cursor: pointer; text-align: center; background: #fff; transition: border-color .15s, box-shadow .15s; }
.tier-card input { position: absolute; opacity: 0; pointer-events: none; }
.tier-card.on { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 20%, transparent); }
.tier-name { display: block; font-weight: 700; font-size: 14px; }
.tier-band { display: block; font-size: 11px; color: var(--ink-soft); margin-top: 2px; }
.tier-dep { display: inline-block; margin-top: 8px; font-size: 12px; font-weight: 700; color: var(--brand); background: color-mix(in srgb, var(--brand) 12%, #fff); padding: 3px 8px; border-radius: 20px; }
.dm-picker { grid-template-columns: 1fr 1fr; }
.dm-picker .tier-card { text-align: left; }
.dm-picker .tier-name { text-align: center; }
.dm-picker .tier-band { text-align: center; }
.toggle-row { display: flex; align-items: center; gap: 10px; }
.checkbox-label { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.toast-wrap { position: fixed; top: calc(var(--nav-h) + 10px); left: 50%; transform: translateX(-50%); z-index: 100; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.toast { background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 12px; font-size: 14px; font-weight: 600; box-shadow: var(--shadow-lg); animation: slideIn .25s; max-width: 90vw; }
.toast.success { background: var(--green); }
.toast.error { background: var(--red); }
.toast.warn { background: var(--amber); color: #3a2a00; }
@keyframes slideIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* modals */
.modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 80; display: grid; place-items: center; padding: 16px; }
.modal { background: #fff; border-radius: 18px; max-width: 480px; width: 100%; max-height: 85vh; overflow-y: auto; padding: 24px; }
.modal.wide { max-width: 760px; }
.modal h3 { font-size: 19px; margin-bottom: 14px; }
.close-x { float: right; font-size: 22px; color: var(--ink-soft); }

/* tabs */
.tabs { display: flex; gap: 8px; border-bottom: 1px solid var(--line); margin-bottom: 20px; overflow-x: auto; }
.tab { padding: 12px 16px; font-weight: 600; color: var(--ink-soft); border-bottom: 3px solid transparent; white-space: nowrap; }
.tab.active { color: var(--brand); border-bottom-color: var(--brand); }

/* stat cards */
.stat-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
@media(min-width:760px){ .stat-grid { grid-template-columns: repeat(4,1fr); } }
.stat-card { background: #fff; border-radius: 14px; padding: 18px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.stat-card .v { font-size: 26px; font-weight: 800; }
.stat-card .l { font-size: 12.5px; color: var(--ink-soft); margin-top: 2px; }
.stat-card .ic { font-size: 20px; }

/* list rows */
.list-row { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.list-row .body { flex: 1; min-width: 0; }
.list-row .body .t { font-weight: 700; font-size: 14.5px; }
.list-row .body .s { font-size: 12.5px; color: var(--ink-soft); }
.pill { font-size: 11px; font-weight: 800; padding: 4px 9px; border-radius: 999px; text-transform: capitalize; white-space: nowrap; }
.pill.pending, .pill.approved, .pill.active { background: var(--brand-soft); color: var(--brand-dark); }
.pill.completed, .pill.released, .pill.verified, .pill.succeeded { background: #E7F6EE; color: var(--green); }
.pill.cancelled, .pill.rejected, .pill.failed, .pill.dismissed { background: #FDEBEC; color: var(--red); }
.pill.disputed, .pill.under_review { background: #FEF6E7; color: #B7791F; }
.pill.returned { background: #FFF3E0; color: #C25E00; }
.pill.draft, .pill.paused { background: #EFF2F6; color: var(--ink-soft); }

/* chat */
.chat-thread { display: flex; flex-direction: column; gap: 10px; padding: 10px 0; }
.msg { max-width: 78%; padding: 10px 13px; border-radius: 14px; font-size: 14px; }
.msg.me { align-self: flex-end; background: var(--brand); color: #fff; border-bottom-right-radius: 4px; }
.msg.them { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg .time { display: block; font-size: 10.5px; opacity: .7; margin-top: 4px; }
.msg .warn { display: block; margin-top: 6px; font-size: 12px; background: rgba(255,255,255,.9); color: var(--red); border-radius: 8px; padding: 6px 8px; font-weight: 600; }
.msg.me .warn { color: #fff; background: rgba(0,0,0,.25); }
.chat-input { display: flex; gap: 8px; margin-top: 12px; }
.chat-input input { flex: 1; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; }
.chat-input button { background: var(--brand); color: #fff; border-radius: 12px; padding: 0 18px; font-weight: 700; }

/* agreement / legal */
.legal-box { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.legal-box pre, .legal-box .content { white-space: pre-wrap; font-family: inherit; font-size: 13.5px; color: var(--ink-soft); line-height: 1.7; }

/* bundles */
.bundle-items { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.bundle-item { display: flex; gap: 10px; align-items: center; background: var(--bg); padding: 10px 12px; border-radius: 10px; }
.bundle-item .em { font-size: 20px; }

/* earn dashboard */
.earn-hero { background: linear-gradient(135deg, var(--brand), #F5B33D); color: #fff; border-radius: 18px; padding: 24px; }
.earn-hero .amt { font-size: 38px; font-weight: 800; }
.earn-hero .lbl { opacity: .9; font-size: 14px; }
.top-earn { display: flex; flex-direction: column; gap: 10px; }
.top-earn-item { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); padding: 12px; border-radius: 12px; }
.top-earn-item .grow { flex: 1; }
.top-earn-item .t { font-weight: 700; font-size: 14px; }
.top-earn-item .amt { font-weight: 800; color: var(--brand); }

/* requests */
.req-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; margin-bottom: 12px; }
.req-card .t { font-weight: 700; font-size: 15px; }
.req-card .d { color: var(--ink-soft); font-size: 13px; margin-top: 4px; }

/* footer */
.footer { background: var(--ink); color: #C7D0DA; padding: 40px 0 90px; }
.footer a { color: #C7D0DA; }
.footer .logo { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media(min-width:760px){ .footer-grid { grid-template-columns: repeat(4,1fr); } }
.footer h4 { color: #fff; margin-bottom: 10px; font-size: 14px; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; }
.footer .tagline { margin-top: 10px; font-size: 13.5px; opacity: .9; }

/* empty / loading */
.empty { text-align: center; padding: 50px 20px; color: var(--ink-soft); }
.empty .em { font-size: 44px; margin-bottom: 10px; }
.spinner { width: 34px; height: 34px; border: 4px solid var(--line); border-top-color: var(--brand); border-radius: 50%; animation: spin 0.8s linear infinite; margin: 40px auto; }
@keyframes spin { to { transform: rotate(360deg); } }

/* auth switch */
.alt { text-align: center; font-size: 14px; margin-top: 16px; color: var(--ink-soft); }
.alt a { color: var(--brand); font-weight: 700; }

.notif-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--red); color:#fff; font-size:9px; display:grid; place-items:center; position:absolute; top:2px; right:2px; font-weight:800; }
.pos-rel { position: relative; }

.verified-chip { display:inline-flex; align-items:center; gap:3px; background:var(--green); color:#fff; font-size:10.5px; border-radius:999px; padding:2px 7px; font-weight:800; }
.loc-chip { display:inline-flex; align-items:center; font-size:10.5px; margin-left:3px; cursor:default; }
.trust-chip { display:inline-flex; align-items:center; gap:3px; font-size:10.5px; border-radius:999px; padding:2px 7px; font-weight:800; }
.trust-chip.High { background:#0d9488; color:#fff; }
.trust-chip.Moderate { background:#f59e0b; color:#fff; }
.trust-chip.Low { background:#ef4444; color:#fff; }
.trust-chip.New { background:var(--ink-soft); color:#fff; }

/* star rating picker */
.star-picker { display:flex; gap:4px; }
.star-picker .star { font-size:24px; color:#d1d5db; background:none; border:none; cursor:pointer; padding:0 2px; transition:color .15s; }
.star-picker .star.on { color:#f59e0b; }

/* evidence / proof display */
.evidence-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(96px,1fr)); gap:8px; }
.evidence-grid img { width:100%; height:80px; object-fit:cover; border-radius:8px; border:1px solid var(--line); }
.evidence-block { background:var(--bg); border-radius:10px; padding:10px; margin-top:8px; font-size:12.5px; }
.evidence-block .t { font-weight:700; margin-bottom:4px; }
.chat-log { max-height:180px; overflow:auto; }
.chat-line { padding:5px 8px; border-radius:8px; margin-bottom:4px; font-size:12px; background:#fff; border:1px solid var(--line); }
.sign-zone { border:2px dashed var(--line); border-radius:12px; padding:18px; text-align:center; color:var(--ink-soft); font-style:italic; }

/* tables */
.table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; }
.table th, .table td { padding: 11px 12px; text-align: left; font-size: 13px; border-bottom: 1px solid var(--line); }
.table th { background: var(--bg); font-weight: 700; color: var(--ink-soft); }
.table tr:last-child td { border-bottom: none; }
.table-wrap { overflow-x: auto; }

.grid-2-side { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 18px; }
@media(min-width:900px){ .grid-2-side { grid-template-columns: 2fr 1fr; } }

.admin-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media(min-width:980px){ .admin-grid { grid-template-columns: 240px 1fr; } }
.admin-side { background:#fff; border:1px solid var(--line); border-radius:14px; padding:12px; height:fit-content; }
.admin-side a { display:block; padding:11px 14px; border-radius:10px; font-weight:600; font-size:14px; color:var(--ink-soft); margin-bottom:2px; }
.admin-side a:hover, .admin-side a.active { background: var(--brand-soft); color: var(--brand); }

@media(min-width:820px){ .only-mobile { display:none; } }
