/* The free Marketplace pages: /shop, /sell, /chats, /shop-admin. Colours come from NextGen Cable's theme (market.js). */
:root { --accent2: #22D3EE; --grad: linear-gradient(135deg, var(--red), var(--accent2)); --radius: 14px; }
body { background: var(--bg); }
header { background: color-mix(in srgb, var(--bg) 85%, transparent); }
a { color: var(--accent2); }
.btn.primary { background: var(--grad); border: 0; padding: 12px 20px; box-shadow: 0 6px 20px color-mix(in srgb, var(--red) 35%, transparent); }
.btn { border-color: var(--line); background: var(--surface); }
input, select, textarea { width: 100%; padding: 11px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface-2); color: var(--text); font: inherit; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent2); }
input[type=checkbox] { width: auto; accent-color: var(--red); }
.ok { color: #6EE7B7; }
.deal { border-left: 4px solid var(--accent2); padding: 10px 14px; background: var(--surface); border-radius: 10px; color: var(--muted); font-size: 14px; margin: 0 0 18px; }

/* Facebook-style layout: a menu on the left, today's picks on the right. */
.mk { display: grid; grid-template-columns: 330px minmax(0, 1fr); min-height: calc(100vh - 65px); }
.side { background: var(--surface); border-right: 1px solid var(--line); padding: 18px 14px 24px; position: sticky; top: 0; align-self: start; height: calc(100vh - 65px); overflow-y: auto; }
.side h1 { font-size: 26px; margin: 0 6px 12px; }
.search { position: relative; margin: 0 0 12px; }
.search input { padding-left: 42px; border-radius: 999px; background: var(--surface-2); border-color: transparent; }
.search::before { content: "🔍"; position: absolute; left: 15px; top: 50%; transform: translateY(-50%); font-size: 15px; opacity: .8; }
.sn { display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 10px; border-radius: 10px; border: 0; background: none; color: var(--text); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; text-align: left; }
.sn:hover, .sn:focus-visible { background: var(--surface-2); outline: none; }
.sn.on { background: color-mix(in srgb, var(--red) 18%, var(--surface-2)); }
.sn i { width: 38px; height: 38px; border-radius: 999px; display: grid; place-items: center; background: var(--surface-2); font-style: normal; font-size: 19px; flex: none; }
.sn.on i { background: var(--grad); }
.create { display: flex; justify-content: center; margin: 10px 0 6px; width: 100%; }
.side h3 { margin: 18px 8px 6px; font-size: 17px; }
.side select { border-radius: 999px; }
.themes { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 8px 0; }
.themes button { width: 26px; height: 26px; border-radius: 999px; border: 2px solid var(--line); cursor: pointer; padding: 0; }
.themes button.on { border-color: var(--text); box-shadow: 0 0 0 2px var(--accent2); }
.feed { padding: 22px 28px 48px; min-width: 0; }
.hero { position: relative; overflow: hidden; border-radius: 18px; padding: 22px 26px; margin: 0 0 22px; background: var(--grad); color: #fff; }
.hero b { display: block; font-size: 24px; line-height: 1.2; }
.hero span { opacity: .92; }
.hero::after { content: "🛍"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%) rotate(-8deg); font-size: 74px; opacity: .35; }
.feedhead { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 12px; }
.feedhead h2 { margin: 0; font-size: 22px; }
.feedhead span { color: var(--accent2); font-weight: 600; font-size: 15px; }

/* Listing cards: square photo, price first, like Facebook Marketplace. */
.items { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 22px 14px; }
.item { background: none; border: 0; padding: 0; text-align: left; color: var(--text); font: inherit; cursor: pointer; display: flex; flex-direction: column; gap: 2px; border-radius: var(--radius); }
.item .ph { position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); margin-bottom: 6px; transition: transform .18s, box-shadow .18s; }
.item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.item .nopic { width: 100%; height: 100%; display: grid; place-items: center; font-size: 64px; background: linear-gradient(160deg, var(--surface-2), color-mix(in srgb, var(--red) 25%, var(--surface))); }
.item:hover img { transform: scale(1.06); }
.item:focus-visible { outline: none; }
.item:focus-visible .ph, .item:hover .ph { box-shadow: 0 0 0 3px var(--focus), 0 12px 30px rgba(0,0,0,.45); }
.item:focus-visible .ph { transform: scale(1.04); }
.item .price { font-weight: 800; font-size: 18px; }
.item b { font-weight: 500; font-size: 15px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.item .where { font-size: 13px; color: var(--muted); }
.badge { position: absolute; top: 10px; left: 10px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; color: #fff; background: var(--grad); box-shadow: 0 2px 8px rgba(0,0,0,.35); }
.badge.free { left: auto; right: 10px; background: #10B981; }
.empty { grid-column: 1 / -1; text-align: center; padding: 50px 20px; color: var(--muted); background: var(--surface); border-radius: 18px; border: 1.5px dashed var(--line); }
.empty b { display: block; font-size: 44px; margin-bottom: 6px; }

/* One ad: the photo on a dark stage, the details in a panel beside it. */
.ad { display: grid; grid-template-columns: minmax(0, 1fr) 400px; min-height: calc(100vh - 65px); }
.stage { position: relative; background: #000; display: grid; place-items: center; min-height: 420px; overflow: hidden; }
.stage .blur { position: absolute; inset: -40px; background-size: cover; background-position: center; filter: blur(40px) brightness(.45); }
.stage img.big { position: relative; max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; display: block; }
.stage .nopic { position: relative; font-size: 140px; }
.stage .nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 999px; border: 0; background: rgba(255,255,255,.85); color: #111; font-size: 26px; cursor: pointer; z-index: 2; }
.stage .nav.prev { left: 16px; } .stage .nav.next { right: 16px; }
.stage .close { position: absolute; top: 14px; left: 14px; z-index: 2; background: rgba(0,0,0,.55); color: #fff; border: 0; }
.stage .dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; gap: 8px; justify-content: center; z-index: 2; }
.stage .dots button { width: 64px; height: 48px; border-radius: 8px; border: 2px solid transparent; padding: 0; overflow: hidden; cursor: pointer; background: #222; }
.stage .dots button.on { border-color: #fff; }
.stage .dots img { width: 100%; height: 100%; object-fit: cover; display: block; }
.panel2 { background: var(--surface); padding: 22px 22px 30px; overflow-y: auto; max-height: calc(100vh - 65px); border-left: 1px solid var(--line); }
.panel2 h2 { margin: 0 0 4px; font-size: 26px; line-height: 1.2; }
.panel2 .price { font-size: 22px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.panel2 .listed { color: var(--muted); font-size: 14px; margin: 4px 0 14px; }
.acts { display: flex; gap: 8px; margin: 0 0 16px; }
.acts .btn { flex: 1; justify-content: center; padding: 10px 12px; }
.ask { background: var(--surface-2); border-radius: var(--radius); padding: 14px; margin: 0 0 16px; }
.ask b { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.ask .row { flex-wrap: nowrap; }
.ask input { flex: 1; border-radius: 999px; }
.sec { border-top: 1px solid var(--line); padding: 14px 0 4px; }
.sec h3 { margin: 0 0 8px; font-size: 17px; }
.sec .desc { white-space: pre-wrap; margin: 0; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: 15px; margin: 0 0 10px; }
.facts span { color: var(--muted); }
.seller { display: flex; align-items: center; gap: 12px; }
.avatar { width: 46px; height: 46px; border-radius: 999px; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 20px; flex: none; }
.seller small { display: block; color: var(--muted); }
.sec ul { padding-left: 20px; margin: 4px 0 8px; color: var(--muted); font-size: 14px; }
details.sec summary { cursor: pointer; font-weight: 700; font-size: 17px; }
.qr { background: #fff; color: #111; border-radius: var(--radius); padding: 16px; text-align: center; margin: 0 0 16px; }
.qr div { display: inline-block; margin: 8px 0; }

/* Phones: the menu becomes a strip on top, two cards per row, the ad page stacks. */
@media (max-width: 860px) {
  .mk, .ad { grid-template-columns: 1fr; min-height: 0; }
  .side { position: static; height: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 14px 12px; }
  .side h1 { font-size: 24px; }
  .side .menu, .side .catlist { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .side .sn { width: auto; flex: none; padding: 6px 12px 6px 6px; background: var(--surface-2); border-radius: 999px; }
  .side .sn i { width: 30px; height: 30px; font-size: 16px; }
  .side h3, .themes-title { display: none; }
  .side .catlist { margin-top: 8px; }
  .side select { margin-top: 8px; }
  .feed { padding: 16px 12px 40px; }
  .hero { padding: 16px 18px; } .hero b { font-size: 19px; } .hero::after { font-size: 50px; }
  .items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; }
  .item .price { font-size: 16px; } .item b { font-size: 14px; }
  .stage { min-height: 300px; } .stage img.big { max-height: 60vh; }
  .panel2 { max-height: none; border-left: 0; }
}

/* On the TV (inside the NextGen Cable app): bigger cards, focus glow, no website header. */
body.tv header, body.tv footer { display: none; }
body.tv .mk, body.tv .ad { min-height: 100vh; }
body.tv .side { height: 100vh; }
body.tv .panel2 { max-height: 100vh; }
body.tv .items { grid-template-columns: repeat(4, minmax(0, 1fr)); }
body.tv .sn:focus-visible, body.tv .btn:focus-visible { box-shadow: 0 0 0 3px var(--focus); }
.tvsell { background: var(--surface-2); border-radius: var(--radius); padding: 12px; margin: 10px 0; display: flex; gap: 12px; align-items: center; font-size: 14px; }
.tvsell div { background: #fff; padding: 6px; border-radius: 8px; line-height: 0; flex: none; }

/* Create listing (/sell): the form on the left, a live preview on the right. */
.create-wrap { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 860px) { .create-wrap { grid-template-columns: 1fr; } .preview { display: none; } }
form.grid { display: grid; gap: 12px; background: var(--surface); padding: 18px; border-radius: 18px; border: 1px solid var(--line); }
label b { display: block; margin-bottom: 4px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .two { grid-template-columns: 1fr; } }
.drop { display: grid; place-items: center; text-align: center; padding: 20px; border: 2px dashed var(--line); border-radius: var(--radius); background: var(--surface-2); cursor: pointer; color: var(--muted); }
.drop:hover { border-color: var(--accent2); }
.drop b { color: var(--text); font-size: 17px; }
.drop input { display: none; }
.pics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pics:empty { display: none; }
.pics span { position: relative; }
.pics img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; display: block; }
.pics span:first-child::after { content: "Cover"; position: absolute; left: 6px; bottom: 6px; font-size: 11px; font-weight: 800; padding: 1px 7px; border-radius: 999px; background: var(--grad); color: #fff; }
.pics button { position: absolute; top: 4px; right: 4px; border: 0; border-radius: 999px; background: rgba(0,0,0,.7); color: #fff; cursor: pointer; width: 26px; height: 26px; }
.preview { position: sticky; top: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.preview > b { display: block; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.preview .pv { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); min-height: 380px; }
.preview .pvimg { background: #000; display: grid; place-items: center; overflow: hidden; }
.preview .pvimg img { max-width: 100%; max-height: 420px; object-fit: contain; }
.preview .pvimg span { font-size: 80px; opacity: .6; }
.preview .pvtext { padding: 16px; }
.preview .pvtext h2 { margin: 0; font-size: 22px; overflow-wrap: anywhere; }
.preview .pvtext .price { font-weight: 800; font-size: 18px; }
.preview .pvtext p { white-space: pre-wrap; color: var(--muted); overflow-wrap: anywhere; }
.mine { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.mine .panel { display: grid; grid-template-columns: 84px 1fr; gap: 12px; align-items: center; border-radius: var(--radius); border-color: var(--line); }
.mine .panel img, .mine .panel .ic { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; display: grid; place-items: center; font-size: 36px; background: var(--surface-2); }
.mine .grow { min-width: 0; }
.mine .acts { grid-column: 1 / -1; flex-wrap: wrap; margin: 0; }
.mine .acts .btn { flex: 1 1 auto; padding: 7px 10px; font-size: 14px; }
.status { display: inline-block; font-size: 12px; font-weight: 800; padding: 2px 9px; border-radius: 999px; background: #10B981; color: #fff; }
.status.off { background: var(--line); color: var(--muted); }

/* Messages and admin pages. */
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 16px; }
.chip { padding: 6px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: transparent; color: var(--text); font: inherit; font-weight: 600; cursor: pointer; }
.chip.on { background: var(--grad); border-color: transparent; color: #fff; }
.convo { display: flex; gap: 12px; align-items: center; width: 100%; text-align: left; background: var(--surface); border: 2px solid transparent; border-radius: var(--radius); padding: 12px; color: var(--text); font: inherit; cursor: pointer; margin-bottom: 8px; }
.convo:hover { border-color: var(--accent2); }
.convo img, .convo .nopic { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; background: var(--surface-2); display: grid; place-items: center; flex: none; }
.convo .grow { flex: 1; min-width: 0; }
.convo .grow span { display: block; color: var(--muted); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dot { width: 10px; height: 10px; border-radius: 999px; background: var(--red); flex: none; }
.chat { display: flex; flex-direction: column; gap: 6px; margin: 12px 0; max-height: 60vh; overflow-y: auto; padding: 4px; }
.bubble { max-width: 78%; padding: 8px 14px; border-radius: 18px; background: var(--surface-2); white-space: pre-wrap; overflow-wrap: anywhere; }
.bubble.me { align-self: flex-end; background: var(--grad); color: #fff; }
.bubble small { display: block; opacity: .7; font-size: 11px; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 14px; }
.tab { padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: transparent; color: var(--text); font: inherit; font-weight: 700; cursor: pointer; }
.tab.on { background: var(--surface-2); border-color: var(--accent2); }
.mine.list { grid-template-columns: 1fr; }
.mine.list .panel { display: flex; flex-wrap: wrap; }
.mine.list .panel img { width: 80px; height: 60px; }
main.mkmain { padding: 0; }
.acts .btn { white-space: nowrap; }
.acts .btn.primary { flex: 1.3; }
.qr div { display: block; width: fit-content; margin: 10px auto; }
@media (max-width: 860px) { .themes { display: none; } .hero::after { display: none; } }
.feedhead select { margin-left: auto; width: auto; padding: 6px 10px; font-size: 14px; }
.feedhead span { white-space: nowrap; }
.item .sum { color: var(--text); font-size: 14px; opacity: .85; }
/* TV showroom: one listing at a time, full width, slow zoom, theme glow. */
.show { position: relative; display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; gap: 32px; width: 100%; height: 56vh; min-height: 420px;
  margin: 0 0 26px; padding: 0 44px 0 0; overflow: hidden; border: 0; border-radius: 26px; background: var(--surface); color: var(--text); text-align: left; cursor: pointer;
  box-shadow: 0 18px 60px rgba(0,0,0,.45), inset 0 0 0 1px var(--line); font: inherit; }
.show.hidden, .show.off { display: none; }
body.tv .show:not(.hidden):not(.off) ~ .hero { display: none; }
.show:focus-visible { outline: none; box-shadow: 0 0 0 4px var(--focus), 0 0 60px color-mix(in srgb, var(--red) 55%, transparent); }
.show .sbg { position: absolute; inset: -40px; background: center / cover; filter: blur(42px) saturate(1.4) brightness(.55); }
.show .simg { position: relative; width: 100%; height: 100%; object-fit: cover; border-radius: 26px 0 0 26px;
  -webkit-mask-image: linear-gradient(90deg, #000 78%, transparent); mask-image: linear-gradient(90deg, #000 78%, transparent); }
.show .simg.zoom { animation: kb 8s ease-out both; }
@keyframes kb { from { transform: scale(1.12) translateX(2%); opacity: .2; } 12% { opacity: 1; } to { transform: scale(1); } }
.show .sinfo { position: relative; display: flex; flex-direction: column; gap: 10px; animation: rise .7s ease-out both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.show .chip { align-self: flex-start; padding: 6px 14px; border-radius: 999px; background: color-mix(in srgb, var(--surface-2) 80%, transparent); font-weight: 600; font-size: 18px; }
.show .sinfo b { font-size: 40px; line-height: 1.15; }
.show .sprice { font-size: 46px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.show .ssum { font-size: 22px; color: var(--text); opacity: .9; }
.show small { margin-top: 8px; font-size: 16px; color: var(--muted); }
.show .sdots { position: absolute; left: 0; right: 0; bottom: 16px; display: flex; justify-content: center; gap: 8px; }
.show .sdots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.35); transition: width .3s; }
.show .sdots i.on { width: 30px; border-radius: 6px; background: var(--focus); }
/* Extras (2026-10-11): saved hearts, price drops, filters, alerts, quick questions, badges, video tour. */
.cell { position: relative; display: flex; flex-direction: column; }
.heart { position: absolute; top: 8px; right: 8px; width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(0,0,0,.45); color: #fff; font-size: 20px; line-height: 38px; backdrop-filter: blur(6px); transition: transform .15s; }
.heart:hover { transform: scale(1.12); } .heart.on { color: #ff4d6d; background: rgba(255,255,255,.9); }
.cell:has(.badge.free) .heart { top: 40px; }
.badge.drop { top: auto; bottom: 10px; left: 10px; background: #e53935; color: #fff; }
.item .price s { color: var(--muted); font-weight: 500; font-size: 14px; margin-left: 4px; }
.drop { color: #ff6b6b; font-weight: 700; margin: 2px 0 4px; }
.chipbtn { padding: 6px 12px; font-size: 14px; white-space: nowrap; }
.chipbtn.on { box-shadow: inset 0 0 0 2px var(--accent2); }
.feedhead { flex-wrap: wrap; }
.filters { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: end; margin: -2px 0 16px; padding: 14px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.filters label { display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
.filters input, .filters select { width: 130px; padding: 8px 10px; }
.alertbar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 16px; padding: 10px 14px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); font-weight: 600; }
.chip { border: 1px solid var(--line); background: var(--surface-2); color: var(--text); border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 14px; cursor: pointer; }
.chip:hover, .chip:focus-visible { border-color: var(--accent2); outline: none; }
.chip.hot { background: var(--grad); color: #fff; border: 0; }
.chip.x { padding: 6px 9px; margin-left: -4px; }
.chip.offer { border-color: var(--accent2); }
.quick { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.btn.wa { background: #25D366; color: #fff; border: 0; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.badges span { font-size: 13px; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); }
.btn.tour { position: absolute; left: 50%; bottom: 74px; transform: translateX(-50%); z-index: 3; background: var(--grad); color: #fff; border: 0; font-size: 18px; padding: 12px 22px; }
.tourbox { position: absolute; inset: 0; z-index: 4; background: #000; display: grid; }
.tourbox iframe { width: 100%; height: 100%; border: 0; }
.tourbox .close { position: absolute; top: 14px; left: 14px; z-index: 5; }
#radius { margin-top: 8px; }
body.tv .heart { display: none; }
.panel2 .acts { flex-wrap: wrap; }
.panel2 .acts .btn { flex: 1 1 auto; justify-content: center; text-align: center; }
/* NextGen Bazaar Stage 1 "Safe" (2026-10-14): fair price, trust badges, safe meet spots, scam warnings, meet-ups. */
.badge.fairb { left: auto; right: 8px; top: auto; bottom: 8px; background: #0F766E; color: #fff; }
.badge.fairb.great { background: #15803D; }
.fair { margin: 6px 0 2px; font-weight: 600; font-size: 15px; color: var(--muted); }
.fair.great, .fair.fair { color: #34D399; }
.badges .tb-shield { background: #15803D; color: #fff; border-color: transparent; }
.badges .tb-area { border-color: #34D399; }
.badges .tb-stars { border-color: var(--accent2); }
.badges .tb-warn { border-color: #F87171; color: #FCA5A5; }
.badges .tb-score { background: var(--grad); color: #fff; border-color: transparent; font-weight: 700; }
.where .shield { font-style: normal; }
.spots { display: grid; gap: 8px; }
.spot { display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); color: var(--text); text-decoration: none; }
.spot small { color: var(--muted); }
a.spot:hover, a.spot:focus-visible { border-color: var(--accent2); outline: none; }
.scam { display: block; margin-top: 6px; padding: 6px 10px; border-radius: 10px; background: #7F1D1D; color: #FEE2E2; font-size: 13px; line-height: 1.35; }
.meet { display: grid; gap: 6px; }
.meet .row { gap: 6px; flex-wrap: wrap; }
.meetbox, .dealbox { display: grid; gap: 8px; margin: 10px 0; }
.upcoming { padding: 10px 14px; border-radius: 12px; border: 1px solid var(--accent2); margin-bottom: 12px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.hint { padding: 8px 12px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); margin: 8px 0; font-size: 14px; }
.stars button { font-size: 26px; background: none; border: 0; color: var(--muted); cursor: pointer; padding: 0 2px; }
.stars button.on { color: #FBBF24; }

/* Earning (2026-10-14): Featured (paid Boost) and Sponsored (local business) cards. */
.badge.feat { background: linear-gradient(135deg, #F59E0B, #EA580C); color: #fff; }
.badge.spon { left: auto; right: 10px; background: rgba(17,24,39,.78); color: #fff; font-weight: 700; }
.item.sponsor { text-decoration: none; color: inherit; outline: 2px dashed color-mix(in srgb, currentColor 22%, transparent); outline-offset: -2px; }
.item.sponsor .sum { -webkit-line-clamp: 3; }
.cell:has(.sponsor) .heart { display: none; }
#dSponsor:not(:empty) { margin-top: 14px; }
#dSponsor .item.sponsor { display: grid; grid-template-columns: 120px 1fr; column-gap: 12px; align-items: start; }
#dSponsor .item.sponsor .ph { grid-row: span 3; aspect-ratio: 1; }
.boostbox { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; flex-basis: 100%; width: 100%; grid-column: 1 / -1; }
.boostbox > .small { flex-basis: 100%; }
.featon { color: #EA580C; font-weight: 700; }
