:root {
  --green: #1f7a4d; --green-dark: #155c39; --green-soft: #e6f3ec;
  --ink: #1d2320; --muted: #6b746f; --line: #e2e6e3; --bg: #f6f7f5; --card: #fff;
  --radius: 12px;
}
* { box-sizing: border-box; }
body { margin: 0; font: 15px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--bg); }
a { color: var(--green); }
h1 { font-size: 1.6rem; margin: .2em 0 .5em; }
.hidden { display: none !important; }
.muted { color: var(--muted); } .small { font-size: .85rem; }
code { background: #eef1ef; padding: 1px 5px; border-radius: 4px; }

.topbar { display: flex; align-items: center; justify-content: space-between; padding: 12px 24px; background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 1000; gap: 12px; flex-wrap: wrap; }
/* the Shank You logo: heavy condensed name, golf ball for the full stop (same as the app and holding page) */
.logo { font-family: "Archivo Narrow", "Arial Narrow", sans-serif; font-weight: 700; font-size: 1.6rem; letter-spacing: -.02em;
  color: #2b2e30; text-decoration: none; display: inline-flex; align-items: flex-end; line-height: 1; }
.logo .ball { display: inline-block; width: .2em; height: .2em; margin: 0 0 .12em .05em; border-radius: 50%;
  border: .06em solid currentColor; background: #fff; }
.logo .shank { width: .95em; height: .58em; margin: 0 0 .28em -.02em; overflow: visible; }
.topbar nav { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar nav a { text-decoration: none; color: var(--ink); font-weight: 500; }
.topbar nav a.btn { color: #fff; }
.demo-banner { background: #fff7d6; color: #6d5a00; text-align: center; font-size: .82rem; padding: 5px 16px; border-bottom: 1px solid #f0e3a6; }
.flashes { max-width: 1200px; margin: 12px auto 0; padding: 0 24px; }
.flash { background: var(--green-soft); border: 1px solid #bfe0cd; padding: 10px 14px; border-radius: 8px; margin-bottom: 6px; }

.btn { display: inline-block; background: var(--green); color: #fff; border: 0; border-radius: 8px; padding: 10px 18px; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--green-dark); }
.btn-sm { padding: 6px 12px; font-size: .9rem; }
.btn-ghost { background: #fff; color: var(--green); border: 1px solid var(--green); }
.btn-ghost:hover { background: var(--green-soft); }
.btn-wide { width: 100%; text-align: center; padding: 13px; font-size: 1.05rem; }
.linklike { background: none; border: 0; color: var(--muted); font: inherit; cursor: pointer; padding: 0; }
form.inline { display: inline; }

.page { max-width: 1100px; margin: 0 auto; padding: 20px 24px 60px; }
.narrow { max-width: 560px; margin: 0 auto; }
.browse { max-width: 1300px; margin: 0 auto; padding: 16px 24px 60px; }

/* search bar */
.searchbar { display: grid; grid-template-columns: 1fr auto auto; gap: 14px 20px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; }
.searchbar input[type=search] { font-size: 1.05rem; padding: 11px 14px; border: 1px solid var(--line); border-radius: 8px; width: 100%; }
.where { display: flex; gap: 8px; align-items: center; }
.where label { display: flex; gap: 6px; align-items: center; font-weight: 500; }
.radius { display: flex; flex-direction: column; min-width: 200px; }
.radius input { accent-color: var(--green); }
select, input, textarea { font: inherit; }
select { padding: 7px 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }

.browse-body { display: grid; grid-template-columns: 230px 1fr; gap: 20px; margin-top: 16px; }
.filters { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; align-self: start; position: sticky; top: 80px; }
.filters h3 { margin: 0 0 10px; }
.filters label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 12px; }
.filters select, .filters input { display: block; width: 100%; margin-top: 4px; font-weight: 400; padding: 7px 8px; border: 1px solid var(--line); border-radius: 8px; }
.price-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.results-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; gap: 10px; flex-wrap: wrap; }
.count { font-size: 1.05rem; }
.results-tools { display: flex; gap: 10px; align-items: center; }
.toggle { display: inline-flex; border: 1px solid var(--green); border-radius: 999px; overflow: hidden; }
.toggle button { background: #fff; border: 0; padding: 8px 16px; font: inherit; font-weight: 600; color: var(--green); cursor: pointer; }
.toggle button.active { background: var(--green); color: #fff; }

/* cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow .15s, transform .15s; }
.card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.08); transform: translateY(-2px); }
.thumb { position: relative; aspect-ratio: 4 / 3; background: #eee; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tag { position: absolute; left: 8px; top: 8px; background: rgba(255,255,255,.92); border-radius: 999px; padding: 2px 10px; font-size: .78rem; font-weight: 600; }
.tag.sold { background: #c0392b; color: #fff; }
.card-body { padding: 10px 12px 14px; }
.price { font-weight: 800; font-size: 1.2rem; }
.price.big { font-size: 2rem; color: var(--green-dark); }
.title { font-weight: 600; margin: 2px 0; }
.meta { color: var(--muted); font-size: .88rem; }
.dist { font-size: .88rem; margin-top: 6px; }
.empty { padding: 40px; text-align: center; background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); grid-column: 1 / -1; }

/* map */
.mapwrap #map { height: calc(100vh - 260px); min-height: 460px; border-radius: var(--radius); border: 1px solid var(--line); }
.hint { color: var(--muted); font-size: .85rem; }
.price-pin span { display: inline-block; background: var(--green); color: #fff; font-weight: 700; font-size: .8rem; padding: 3px 8px; border-radius: 999px; white-space: nowrap; box-shadow: 0 2px 6px rgba(0,0,0,.3); border: 2px solid #fff; transform: translate(-50%, -50%); }
.price-pin:hover span { background: var(--green-dark); }
.price-pin { background: none; border: 0; }
.you-pin { background: none; }
.you-pin span { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: #2563eb; color: #fff; font-weight: 700; font-size: .75rem; border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(37,99,235,.25); cursor: grab; }
.popup { text-decoration: none; color: var(--ink); display: block; width: 190px; }
.popup img { width: 100%; height: 100px; object-fit: cover; border-radius: 6px; margin-bottom: 4px; }

/* detail */
.back { display: inline-block; margin-bottom: 12px; text-decoration: none; }
.detail { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; }
.gallery > img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; background: #eee; }
.thumbs { display: flex; gap: 8px; margin-top: 8px; }
.thumbs img { width: 80px; height: 60px; object-fit: cover; border-radius: 6px; cursor: pointer; border: 1px solid var(--line); }
.specs { border-collapse: collapse; width: 100%; margin: 10px 0; }
.specs th { text-align: left; width: 100px; color: var(--muted); font-weight: 500; padding: 5px 0; }
.specs td { padding: 5px 0; }
.desc { white-space: pre-wrap; }
.seller { margin: 10px 0 16px; }
.box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin: 14px 0; }
.box h3 { margin-top: 0; }
.offer-form { display: flex; gap: 8px; align-items: center; margin-top: 12px; flex-wrap: wrap; }
.offer-form input { width: 110px; padding: 8px; border: 1px solid var(--line); border-radius: 8px; margin-left: 4px; }
textarea, .reply input, .sell-form input, .sell-form select, .sell-form textarea { width: 100%; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; margin: 4px 0 8px; display: block; }
.thread { display: flex; flex-direction: column; gap: 6px; margin: 10px 0; }
.msg { max-width: 80%; display: flex; flex-direction: column; }
.msg span { padding: 8px 12px; border-radius: 12px; }
.msg small { color: var(--muted); font-size: .72rem; margin: 2px 6px; }
.msg.mine { align-self: flex-end; text-align: right; } .msg.mine span { background: var(--green); color: #fff; }
.msg.theirs span { background: #eef1ef; }
.reply { display: flex; gap: 8px; align-items: center; } .reply input { margin: 0; }
.mini-map { height: 260px; border-radius: var(--radius); margin-top: 20px; border: 1px solid var(--line); }
.sold-badge { display: inline-block; background: #c0392b; color: #fff; font-weight: 800; padding: 3px 12px; border-radius: 6px; }
.offer-status { display: inline-block; font-size: .85rem; padding: 2px 10px; border-radius: 999px; background: #eef1ef; }
.status-accepted { background: var(--green-soft); color: var(--green-dark); }
.status-declined { background: #fde8e6; color: #a0302a; }
.status-pending { background: #fff4d6; color: #7a5b00; }

/* sell */
.sell-form fieldset { border: 1px solid var(--line); background: #fff; border-radius: var(--radius); padding: 14px 18px; margin: 0 0 16px; }
.sell-form legend { font-weight: 700; padding: 0 6px; }
.sell-form label { display: block; font-weight: 600; font-size: .9rem; }
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.dropzone { display: block; border: 2px dashed #bcd6c7; border-radius: var(--radius); padding: 22px; text-align: center; cursor: pointer; background: var(--green-soft); }
.dropzone input { display: none !important; }
.photo-preview { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.photo-preview img { width: 100px; height: 75px; object-fit: cover; border-radius: 6px; }
.payout { font-size: .95rem; }

/* checkout + dashboard */
.checkout-item { display: flex; gap: 14px; align-items: center; }
.checkout-item img { width: 110px; height: 82px; object-fit: cover; border-radius: 8px; }
.fees { width: 100%; border-collapse: collapse; margin: 10px 0; }
.fees th { text-align: left; font-weight: 500; padding: 7px 0; border-bottom: 1px solid var(--line); }
.fees td { text-align: right; padding: 7px 0; border-bottom: 1px solid var(--line); }
.fees td.big { font-size: 1.4rem; font-weight: 800; }
.fees tr.sub th { color: var(--muted); font-size: .85rem; padding-top: 14px; }
.test-pay { background: #fffbea; border-color: #f0e3a6; }
.dash { margin-bottom: 30px; }
.grid { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.grid th, .grid td { padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--line); }
.grid th { background: #f0f3f1; font-size: .85rem; }
.demo-list { padding-left: 18px; }

@media (max-width: 860px) {
  .searchbar { grid-template-columns: 1fr; }
  .browse-body { grid-template-columns: 1fr; }
  .filters { position: static; }
  .detail { grid-template-columns: 1fr; }
  .topbar, .page, .browse { padding-left: 16px; padding-right: 16px; }
  .mapwrap #map { height: 60vh; }
}

/* Secure Pay, boosts, trust badges */
.pill { display: inline-block; font-size: .75rem; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: #eef1ef; vertical-align: middle; }
.pill.gold, .tag.gold { background: #f6c945; color: #5a4300; }
.tag.gold { left: auto; right: 8px; }
.pill.shop { background: #e0e7ff; color: #3730a3; }
.pill.verified { background: var(--green-soft); color: var(--green-dark); }
.card.featured { border-color: #f6c945; box-shadow: 0 0 0 2px #f6c94555; }
.price-pin.gold span { background: #d9a400; }
.sold-badge.reserved, .tag.reserved { background: #b7791f; color: #fff; }
.seller-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; margin: 10px 0; }
.review { font-size: .88rem; margin-top: 6px; } .stars { color: #d9a400; }
.perks { list-style: none; padding: 0; margin: 10px 0; } .perks li { margin: 4px 0; }
.boost-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.sold-elsewhere { display: flex; gap: 8px; align-items: end; flex-wrap: wrap; font-size: .9rem; }
.sold-elsewhere select { display: block; margin-top: 4px; }
.fees tr.total th, .fees tr.total td { font-weight: 800; }
.how { padding-left: 20px; margin: 14px 0; line-height: 1.5; } .how li { margin-bottom: 6px; }
.state { display: inline-block; font-size: .82rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; margin-top: 4px; background: #eef1ef; }
.state-RESERVED, .state-AWAITING_CONFIRMATION { background: #fff4d6; color: #7a5b00; }
.state-COMPLETED, .state-HANDED_OVER { background: var(--green-soft); color: var(--green-dark); }
.state-DISPUTED { background: #fde8e6; color: #a0302a; }
.state-CANCELLED, .state-REFUNDED { background: #eef1ef; color: var(--muted); }
.address { font-size: 1.1rem; font-weight: 700; }
.code-box details summary { list-style: none; cursor: pointer; margin-bottom: 8px; }
.code-box details summary::-webkit-details-marker { display: none; }
.code { font-size: 2.4rem; font-weight: 800; letter-spacing: 6px; text-align: center; padding: 14px; border: 3px dashed var(--green); border-radius: 12px; margin: 8px 0; }
.code-form { display: flex; gap: 8px; } .code-form input { font-size: 1.5rem; letter-spacing: 6px; width: 170px; text-align: center; padding: 8px; border: 2px solid var(--line); border-radius: 8px; }
details.box summary { cursor: pointer; }
details.box form { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.box.warn { background: #fff4d6; border-color: #f0e3a6; }
.warn-text { color: #a0302a; }
.btn-danger { background: #c0392b; } .btn-danger:hover { background: #a0302a; }
.cancel-form { margin: 6px 0 16px; }
.cancel-top { margin: 10px 0 4px; }   /* Cancel viewing, under the viewing's card */
.timeline { list-style: none; padding: 0; } .timeline li { padding: 6px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.star-pick { display: flex; flex-direction: row-reverse; justify-content: flex-end; font-size: 1.8rem; }
.star-pick input { display: none; } .star-pick label { color: #ccc; cursor: pointer; }
.star-pick input:checked ~ label, .star-pick label:hover, .star-pick label:hover ~ label { color: #d9a400; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 10px 0 24px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; } .stat .n { font-size: 1.6rem; font-weight: 800; }

/* viewings, calendar, notifications */
.bell { position: relative; text-decoration: none; }
.bell .badge { position: absolute; top: -6px; right: -10px; background: #c0392b; color: #fff; font-size: .68rem; font-weight: 800; border-radius: 999px; padding: 1px 6px; }
.day-chips { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; margin: 8px 0; }
.chip { flex-shrink: 0; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px; font: inherit; font-size: .85rem; cursor: pointer; }
.chip.active { background: var(--green); border-color: var(--green); color: #fff; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 6px; margin-bottom: 10px; }
.slot { border: 1px solid #bcd6c7; background: #fff; border-radius: 8px; padding: 7px 4px; font: inherit; font-size: .85rem; cursor: pointer; color: var(--green-dark); }
.slot:hover { background: var(--green-soft); }
.slot.picked { background: var(--green); color: #fff; border-color: var(--green); }
.slot:disabled { color: #bbb; border-color: var(--line); text-decoration: line-through; cursor: not-allowed; background: #f6f6f6; }
.offer-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 6px; }   /* Book … | Cancel */
.offer-row form { margin: 0; }
/* Settings page */
.settings-links { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.btn.danger-link { color: #b04a2e; border-color: #b04a2e; }
.btn.danger-link:hover { background: #f6e3dc; }
/* Busy times page (seller's own calendar) */
.busy-grid .slot small { display: block; font-size: .7rem; opacity: .8; }
.busy-grid .slot.busy { background: var(--green-dark); color: #fff; border-color: var(--green-dark); }
.busy-grid .slot.weekly { background: #e9ece9; color: #5c6b60; text-decoration: none; }
.busy-grid .slot.booked { background: #fff6e0; color: #7a5a1e; border-color: #ecd9a8; text-decoration: none; }
.busy-day { margin-top: 14px; }
.busy-day-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 6px; }
.busy-week-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.busy-week-add { margin-top: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.busy-week-add .chip-pick { width: 100%; margin-bottom: 0; }
.btn:disabled { background: #9db8a8; cursor: not-allowed; }
.btn-lg { padding: 12px 26px; font-size: 1.05rem; }
.invite { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--green); border-radius: var(--radius); padding: 14px; margin: 14px 0; }
.invite-date { text-align: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; min-width: 58px; }
.invite-date .mon { background: #c0392b; color: #fff; font-size: .75rem; font-weight: 700; text-transform: uppercase; padding: 2px 0; }
.invite-date .day { font-size: 1.6rem; font-weight: 800; padding: 2px 0; }
.accept-row { display: flex; gap: 10px; align-items: flex-start; flex-wrap: wrap; }
.accept-row details summary { list-style: none; cursor: pointer; }
.accept-row details summary::-webkit-details-marker { display: none; }
.decline-form, .inline-form { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; align-items: center; }
.qr { display: flex; justify-content: center; padding: 12px; background: #fff; }
.qr-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.qr-form input { width: 100px; padding: 7px; border: 1px solid var(--line); border-radius: 8px; }
.center { text-align: center; word-break: break-all; }
.price-input { font-size: 1.4rem; width: 140px; padding: 8px; border: 2px solid var(--line); border-radius: 8px; }
.box.protect { border-color: #bfe0cd; background: var(--green-soft); }
.viewing-list { list-style: none; padding: 0; } .viewing-list li { padding: 5px 0; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.state-REQUESTED, .state-AWAITING_PRICE_OK, .state-AWAITING_PAYOUT_DETAILS { background: #fff4d6; color: #7a5b00; }
.state-ACCEPTED, .state-PROTECTED, .state-BOUGHT_IN_APP, .state-BOUGHT_OFF_APP { background: var(--green-soft); color: var(--green-dark); }
.state-DECLINED, .state-EXPIRED, .state-NOT_BOUGHT, .state-SOLD_TO_OTHER, .state-CANCELLED_LATE { background: #eef1ef; color: var(--muted); }
tr.needs-me td { background: #fffbea; }
.notif { display: flex; justify-content: space-between; gap: 10px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; text-decoration: none; color: var(--ink); }
.notif.unread { border-left: 4px solid var(--green); font-weight: 600; }

#book input[name=note] { width: 100%; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; margin: 4px 0 10px; }

/* fewer clicks: chips, to-do list, one-page purchase */
.field-label { font-weight: 600; font-size: .9rem; margin: 12px 0 4px; }
.chip-pick { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.chip-pick input { position: absolute; opacity: 0; width: 0; height: 0; margin: 0; padding: 0; border: 0; }
.chip-pick label { border: 1px solid #bcd6c7; background: #fff; color: var(--green-dark); border-radius: 999px; padding: 7px 13px; font-weight: 500; font-size: .9rem; cursor: pointer; display: inline-block; }
.chip-pick input:checked + label { background: var(--green); color: #fff; border-color: var(--green); }
.chip-pick input:focus-visible + label { outline: 2px solid var(--green-dark); outline-offset: 2px; }
.chip-pick input:disabled + label { opacity: .45; cursor: default; }   /* e.g. already picked the most times allowed */
.small-chips label { padding: 5px 10px; font-size: .82rem; }
details.more { margin: 10px 0 16px; } details.more summary { cursor: pointer; color: var(--green); font-weight: 600; margin-bottom: 8px; }
.sell-form > label, .sell-form .row label { display: block; font-weight: 600; font-size: .9rem; margin-top: 8px; }
.todo { background: #fffbea; border: 1px solid #f0e3a6; border-radius: var(--radius); padding: 12px 16px; margin: 0 0 20px; }
.todo h2 { font-size: 1.05rem; margin: 0 0 8px; }
.todo-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 8px 0; border-top: 1px solid #f0e3a6; }
.todo-row > div:first-child { flex: 1 1 200px; }
.invite-photo { width: 64px; height: 48px; object-fit: cover; border-radius: 8px; }
.invite-body { flex: 1; }
.big-actions { margin: 4px 0 16px; }
.big-actions .btn { min-width: 160px; }
.pay-box h3 { margin-bottom: 8px; }
.inline-price { font-size: 1.4rem; font-weight: 800; display: flex; align-items: center; gap: 4px; }
.fee-line { margin: 8px 0 12px; }
.sale-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.fees.compact th, .fees.compact td { padding: 4px 0; font-size: .9rem; }
.quick-review { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; margin: 6px 0 10px; }
.star-btn { background: #fff; border: 1px solid var(--line); border-radius: 8px; color: #d9a400; cursor: pointer; padding: 4px 6px; font-size: .8rem; }
.star-btn:hover { background: #fff4d6; }
details.problem summary { cursor: pointer; color: #a0302a; font-size: .9rem; margin: 6px 0; }
details.history { margin-top: 18px; } details.history summary { cursor: pointer; }

.booked-link { display: block; text-decoration: none; color: var(--ink); border-color: var(--green); }
.demo-buttons { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.detail > * { min-width: 0; }   /* long day-chip row scrolls inside the box instead of widening the page */
/* map bubbles with club icons */
.price-pin span { display: inline-flex; align-items: center; gap: 3px; }
.pin-ico { width: 15px; height: 15px; flex-shrink: 0; }
.price-pin.many span { background: #0f5132; }
.leaflet-popup-content hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }
.mapwrap { position: relative; }
.area-btn { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 1000; background: #fff; color: var(--green-dark); border: 0; border-radius: 999px; padding: 9px 18px; font: inherit; font-weight: 700; box-shadow: 0 2px 10px rgba(0,0,0,.25); cursor: pointer; }
.area-btn:hover { background: var(--green-soft); }

/* golfer profile matching */
.match { font-size: .82rem; margin-top: 6px; color: var(--green-dark); }
.box.fit { background: var(--green-soft); border-color: #bfe0cd; }

/* golf-store ads - always labelled Sponsored */
.card.sponsored { border: 1px dashed #d9a400; background: #fffdf3; display: flex; align-items: center; }
.card.sponsored .card-body { padding: 14px; }
.shop-pin span { display: inline-block; background: #fff; color: #5a4300; border: 2px solid #d9a400; font-weight: 700; font-size: .78rem;
  padding: 3px 8px; border-radius: 999px; white-space: nowrap; transform: translate(-50%, -50%); box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.shop-pin { background: none; border: 0; }
.sponsored-offer { display: block; text-decoration: none; color: var(--ink); border: 1px dashed #d9a400; background: #fffdf3; }
.ad-row { display: flex; flex-direction: column; gap: 6px; }
.ad-stats { font-size: .9rem; }

/* Bumped / Featured status tiles on your own listing (same words and colours as the app) */
.boost-tiles { display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0; }
.boost-tile { flex: 1 1 150px; display: flex; flex-direction: column; gap: 2px; border: 1.5px solid; border-radius: 14px; padding: 12px; }
.boost-tile strong { letter-spacing: .05em; font-size: .85rem; }
.boost-tile .left { font-size: 1.25rem; font-weight: 700; margin-top: 6px; }
.boost-tile .bar { height: 6px; border-radius: 3px; background: #E2D9C6; margin-top: 8px; overflow: hidden; display: block; }
.boost-tile .bar span { display: block; height: 6px; border-radius: 3px; }
.boost-bump { background: #E7EEE6; border-color: #1E3A2B; } .boost-bump strong { color: #1E3A2B; } .boost-bump .bar span { background: #1E3A2B; }
.boost-feature { background: #F3E6CC; border-color: #8A6A3A; } .boost-feature strong { color: #7A5A1E; } .boost-feature .bar span { background: #8A6A3A; }

/* show / hide password (base.html): the eye sits inside the box; a plain eye = tap to show, crossed out = tap to hide
   (the same as the phone app) */
.pw-wrap { position: relative; display: block; margin: 4px 0 8px; }
.pw-wrap input { margin: 0; }
.pw-wrap input { padding-right: 42px; }
.pw-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: 0; padding: 6px;
  color: var(--muted, #6b7280); cursor: pointer; line-height: 0; }
.pw-slash { display: none; }
.pw-eye.shown .pw-slash { display: inline; }
.btn-google { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; margin-top: 10px;
  background: #fff; color: #1f1f1f; border: 1px solid var(--line); }
.btn-google .g { color: #4285f4; font-weight: 700; font-size: 18px; }

/* the hidden attribute always wins over a display rule (e.g. the login page's name box, shown only for Create account) */
[hidden] { display: none !important; }

/* login page problems: a yellow box, not small grey text (Shane 2026-11-04) */
.login-msg.warn { background: #fff4d6; border: 1px solid #e8c766; color: #5c4400; padding: 10px 12px; border-radius: 8px;
  font-size: .95rem; font-weight: 600; }

/* "Are you sure?" inside the page (base.html), not the browser's pop-up, which some browsers block (Shane 2026-11-05) */
.sy-dialog { border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; max-width: min(420px, calc(100vw - 32px));
  box-shadow: 0 12px 40px rgba(0, 0, 0, .25); color: var(--ink); background: var(--card); }
.sy-dialog:not([open]) { display: none; }   /* browsers without <dialog> */
.sy-dialog::backdrop { background: rgba(20, 30, 24, .45); }
.sy-dialog p { margin: 0 0 16px; font-size: 1rem; line-height: 1.45; }
.sy-dialog-buttons { display: flex; gap: 10px; justify-content: flex-end; }

/* My Locker viewings: Open + Remove side by side (Shane 2026-11-05) */
.row-actions { white-space: nowrap; }
.row-actions form.inline { display: inline; margin-left: 6px; }
