/* =========================================================
   Taste My Trip (TMT) — styles
   Brand: Taste My Trip — white base with orange / navy / green / sky-blue accents
   ========================================================= */
:root {
  /* Taste My Trip palette — from the logo: orange "Taste", navy "My", green "Trip", sky-blue globe, red map pin */
  --brand: #f2600c; --brand-d: #d24e05; --brand-soft: #fff1e8;
  --navy: #0b2c63; --navy-soft: #eaf0fa; --green: #2e8b0f; --green-d: #237008; --green-soft: #eaf6e3;
  --sky: #29b6f2; --sky-soft: #e6f7fe; --pin: #e8141f;
  --gold: #f5a623; --gold-soft: #fff4dd;
  --ink: #13213b; --ink-2: #44506a; --muted: #8590a6;
  --paper: #ffffff; --soft: #f6f6f7; --card: #ffffff; --line: #ececee;
  --ok: #1f9d55; --warn: #d98200;
  --r: 16px; --r-sm: 10px;
  --shadow: 0 1px 2px rgba(31,26,23,.06), 0 8px 24px rgba(31,26,23,.08);
  --shadow-lg: 0 30px 80px rgba(31,26,23,.25);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --display: 'Fraunces', Georgia, serif;
  --header-h: 68px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); line-height: 1.6; font-size: 16px; text-align: center; }
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.hp { position: absolute; left: -9999px; }
.display { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 4.4vw, 48px); line-height: 1.1; margin: 0 0 8px; letter-spacing: -.01em; }
.lead { font-size: clamp(16px, 2vw, 19px); color: var(--ink-2); margin: 0 auto 28px; max-width: 640px; }
.page { padding: 48px 0 72px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1.5px solid transparent; border-radius: 999px;
  padding: 11px 22px; font-weight: 700; font-size: 15px; transition: transform .15s, background .2s, box-shadow .2s, border-color .2s; text-decoration: none !important; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(242,96,12,.28); }
.btn-primary:hover { background: var(--brand-d); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-ok { background: var(--ok); color: #fff; }
.btn-danger { background: #fff; color: var(--brand); border-color: #f3c4c6; }
.btn-danger:hover { background: var(--brand); color: #fff; }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-lg { padding: 14px 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.88); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); }
.header-inner { position: relative; display: flex; align-items: center; justify-content: center; gap: 28px; min-height: var(--header-h); padding: 8px 64px; flex-wrap: wrap; }
.brand img { height: 44px; width: auto; }
.main-nav { display: flex; gap: 4px; flex-wrap: wrap; justify-content: center; }
.main-nav a { padding: 8px 16px; border-radius: 999px; color: var(--ink-2); font-weight: 600; font-size: 15px; transition: background .2s, color .2s; text-decoration: none; }
.main-nav a:hover { background: var(--brand-soft); color: var(--brand); }
.main-nav a.active { background: var(--ink); color: #fff; }
.main-nav a.nav-submit { background: var(--brand); color: #fff; box-shadow: 0 4px 12px rgba(242,96,12,.3); }
.main-nav a.nav-submit:hover { background: var(--brand-d); }
.user-chip { position: relative; }
.chip-btn { border: 0; background: none; padding: 0; }
.avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--gold)); color: #fff; font-weight: 800; }
.chip-menu { position: absolute; right: 0; top: 48px; background: #fff; border-radius: var(--r-sm); box-shadow: var(--shadow-lg); padding: 6px; min-width: 190px; text-align: left; z-index: 60; }
.chip-menu a, .chip-menu button { display: block; width: 100%; text-align: left; padding: 9px 12px; border: 0; background: none; border-radius: 8px; color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; }
.chip-menu a:hover, .chip-menu button:hover { background: var(--paper); }
.chip-name { padding: 8px 12px; font-size: 12px; color: var(--muted); border-bottom: 1px solid var(--line); margin-bottom: 4px; }

/* ---------- City bar ---------- */
.city-bar { background: #fff; border-bottom: 1px solid var(--line); }
.city-scroll { display: flex; gap: 8px; padding: 12px 16px; overflow-x: auto; scrollbar-width: none; justify-content: safe center; align-items: center; }
.city-scroll::-webkit-scrollbar { display: none; }
.city-btn { flex: none; border: 1.5px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: 14px; transition: all .2s; }
.city-btn small { color: var(--muted); font-weight: 600; margin-left: 2px; }
.city-btn:hover { border-color: var(--brand); color: var(--brand); }
.city-btn.active { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 4px 12px rgba(242,96,12,.25); }
.city-btn.active small { color: rgba(255,255,255,.8); }
.city-more select { appearance: none; border: 1.5px dashed var(--brand); background: #fff; border-radius: 999px; padding: 8px 18px; font-weight: 700; font-size: 14px; color: var(--brand); cursor: pointer; }
.city-more select.active { background: var(--brand); color: #fff; border: 1.5px solid var(--brand); }

/* ---------- Map ---------- */
.map-wrap { position: relative; isolation: isolate; z-index: 0; }
.main-map { width: 100%; height: clamp(420px, 68vh, 760px); background: #f1f1f3; }
.map-fallback { height: 100%; display: grid; place-content: center; justify-items: center; gap: 12px; color: var(--muted); padding: 24px; }
.spinner { width: 34px; height: 34px; border: 3px solid var(--line); border-top-color: var(--brand); border-radius: 50%; animation: spin .8s linear infinite; margin: 20px auto; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Explore ---------- */
.explore { padding: 26px 0 64px; }
.filters { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-bottom: 28px; }
.cat-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.chip { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 14px; font-size: 14px; font-weight: 600; color: var(--ink-2); transition: all .2s; }
.chip:hover { border-color: var(--c, var(--brand)); }
.chip.active { background: var(--c, var(--brand)); border-color: var(--c, var(--brand)); color: #fff; }
.search { width: min(480px, 100%); padding: 13px 20px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; text-align: center; outline: none; transition: border-color .2s, box-shadow .2s; }
.search:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.card { background: var(--card); border-radius: var(--r); overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 6px 18px rgba(0,0,0,.06); outline: 1px solid var(--line); cursor: pointer; transition: transform .2s, box-shadow .2s; text-align: center; border: 0; padding: 0; color: inherit; display: flex; flex-direction: column; justify-content: flex-start; font: inherit; }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(31,26,23,.14); }
.card-img { aspect-ratio: 4/3; position: relative; background: var(--line); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-badge { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); background: rgba(255,255,255,.94); border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.card-img { width: 100%; }
.card-body { padding: 14px 16px 18px; width: 100%; }
.card-title { font-weight: 800; font-size: 17px; line-height: 1.3; margin: 0 0 4px; }
.card-city { font-size: 13px; color: var(--brand); font-weight: 700; }
.card-kw { font-size: 13px; color: var(--muted); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.empty { margin-top: 30px; }

/* ---------- Pages ---------- */
.prose { max-width: 760px; margin: 0 auto 32px; font-size: 17px; color: var(--ink-2); }
.prose h1, .prose h2 { font-family: var(--display); color: var(--ink); font-size: clamp(28px, 4vw, 42px); line-height: 1.15; margin: 0 0 16px; }
.prose h3 { color: var(--ink); }
.prose img, .prose iframe { margin: 20px auto; border-radius: var(--r); max-width: 100%; }
.stats { display: flex; justify-content: center; gap: 16px; margin: 0 auto 36px; flex-wrap: wrap; }
.stats div { background: #fff; border-radius: var(--r); padding: 20px 30px; box-shadow: var(--shadow); outline: 1px solid var(--line); min-width: 140px; }
.stats b { display: block; font-family: var(--display); font-size: 38px; color: var(--brand); line-height: 1; }
.stats span { color: var(--muted); font-weight: 600; font-size: 14px; }
.city-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; margin-top: 20px; }
.city-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; aspect-ratio: 4/3; border-radius: var(--r); overflow: hidden; color: #fff; text-decoration: none !important; box-shadow: var(--shadow); background: linear-gradient(135deg, var(--brand), var(--gold)); }
.city-img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .5s; }
.city-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 35%, rgba(0,0,0,.7)); }
.city-card:hover .city-img { transform: scale(1.07); }
.city-name, .city-count { position: relative; z-index: 1; }
.city-name { font-family: var(--display); font-size: 26px; font-weight: 700; }
.city-count { font-size: 13px; font-weight: 600; opacity: .9; margin-bottom: 16px; }
.contact-form { max-width: 620px; margin: 0 auto; }
.row-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 8px 0 28px; }

/* ---------- Forms ---------- */
.stack { display: flex; flex-direction: column; gap: 12px; }
.stack input, .stack textarea, .stack select, .fld input, .fld textarea, .fld select, .inline-form input, .pane-tools input, .pane-tools select, .loc-search {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: #fff; outline: none; transition: border-color .2s, box-shadow .2s; text-align: center; }
.stack input:focus, .stack textarea:focus, .fld input:focus, .fld textarea:focus, .fld select:focus, .loc-search:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
textarea { resize: vertical; min-height: 90px; text-align: left !important; }
.fld { display: block; margin-bottom: 20px; }
.fld > span { display: block; font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.fld > span em { font-weight: 500; font-style: normal; color: var(--muted); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.check { display: flex; gap: 8px; align-items: center; justify-content: center; font-weight: 600; margin: 4px 0 18px; }
.code-input { font-size: 30px !important; letter-spacing: 12px; font-weight: 800; text-align: center; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; padding: 16px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(24,18,15,.62); backdrop-filter: blur(4px); animation: fade .2s ease; }
.modal-card { position: relative; background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); width: 100%; min-width: 0; max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain; padding: 34px 30px 30px; animation: pop .28s cubic-bezier(.2,.9,.3,1.2); }
.modal-sm { max-width: 420px; }
.modal-lg { max-width: 880px; }
.modal-x { position: sticky; float: right; top: -18px; margin: -18px -12px 0 0; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--paper); font-size: 26px; line-height: 1; color: var(--ink-2); z-index: 5; }
.modal-x:hover { background: var(--brand); color: #fff; }
.modal-x:focus { outline: none; }
.modal-x:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.modal-logo { height: 40px; width: auto; margin: 0 auto 12px; }
.modal h2 { margin: 0 0 6px; font-family: var(--display); font-size: 28px; }
.modal .small { margin-top: 16px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin: 14px 0; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.g-wrap { display: flex; justify-content: center; min-height: 0; margin-top: 14px; }
.big-emoji { font-size: 46px; }
body.modal-open { overflow: hidden; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.97); } }

/* ---------- Post detail ---------- */
.post-title { font-family: var(--display); font-size: clamp(26px, 4vw, 38px); line-height: 1.15; margin: 4px 0 6px; }
.post-sub { color: var(--ink-2); font-size: 17px; margin: 0 auto 16px; max-width: 640px; }
.post-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 18px; }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 4px 12px; border-radius: 999px; background: var(--paper); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.tag-red { background: var(--brand-soft); color: var(--brand); }
.tag-status { background: var(--gold-soft); color: #8a5a00; }
.post-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 20px 0 6px; }
.post-section { margin-top: 30px; }
.post-section h3 { font-family: var(--display); font-size: 24px; margin: 0 0 12px; }
.post-desc { color: var(--ink-2); white-space: pre-line; max-width: 680px; margin: 0 auto; }
.post-by { font-size: 13px; color: var(--muted); margin-top: 26px; }

/* Slider */
.slider { position: relative; border-radius: var(--r); overflow: hidden; background: #111; }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 16/10; display: grid; place-items: center; }
.slide img { width: 100%; height: 100%; object-fit: contain; cursor: zoom-in; }
.sl-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); font-size: 22px; box-shadow: var(--shadow); transition: transform .2s, opacity .2s; z-index: 2; }
.sl-nav:hover { transform: translateY(-50%) scale(1.1); }
.sl-prev { left: 12px; } .sl-next { right: 12px; }
.sl-count { position: absolute; bottom: 12px; right: 12px; background: rgba(0,0,0,.55); color: #fff; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 3px 10px; }
.sl-thumbs { display: flex; gap: 8px; justify-content: safe center; overflow-x: auto; padding: 10px 2px 2px; scrollbar-width: thin; }
.sl-thumbs button { flex: none; width: 66px; height: 48px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; padding: 0; opacity: .6; transition: all .2s; background: none; }
.sl-thumbs button.on { border-color: var(--brand); opacity: 1; }
.sl-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.slider:fullscreen .slide { aspect-ratio: auto; height: 100vh; }

/* Videos */
.videos { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.videos .vid { width: calc((100% - 28px) / 3); }
.vid { position: relative; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; background: #000; cursor: pointer; border: 0; padding: 0; }
.vid img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s, opacity .3s; }
.vid:hover img { transform: scale(1.05); opacity: .85; }
.vid::after { content: ''; position: absolute; left: 50%; top: 50%; width: 54px; height: 38px; transform: translate(-50%,-50%); border-radius: 10px; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M8 5v14l11-7z'/%3E%3C/svg%3E") center/22px no-repeat; box-shadow: 0 4px 14px rgba(0,0,0,.4); }
.vid iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vid.playing::after { display: none; }
.videos .vid.wide { width: 100%; }

/* ---------- Submit form ---------- */
.submit-heading { text-align: center; }
.post-form { margin-top: 22px; }
.drop { display: grid; place-items: center; position: relative; border: 2px dashed #dcdce0; border-radius: var(--r); background: var(--paper); cursor: pointer; transition: border-color .2s, background .2s; overflow: hidden; }
.drop:hover, .drop.over { border-color: var(--brand); background: var(--brand-soft); }
.drop { background: var(--soft); }
.drop-cover { aspect-ratio: 16/9; max-height: 250px; width: 100%; }
.drop-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.drop-cover.has .drop-hint { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); background: rgba(255,255,255,.92); padding: 5px 14px; border-radius: 999px; font-size: 13px; z-index: 1; white-space: nowrap; }
.drop-small { padding: 18px; margin-top: 10px; }
.drop-hint { font-weight: 600; color: var(--ink-2); font-size: 14px; padding: 8px; }
.gal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.gal-grid:empty { display: none; }
.gal-item { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--line); }
.gal-item img { width: 100%; height: 100%; object-fit: cover; }
.gal-item button { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(0,0,0,.65); color: #fff; font-size: 16px; line-height: 1; }
.gal-item button:hover { background: var(--brand); }
.gal-item .cover-btn { left: 4px; right: auto; width: auto; border-radius: 999px; padding: 0 8px; font-size: 11px; font-weight: 700; }
.loc-row { display: flex; gap: 8px; }
.loc-row input { flex: 1; }
.loc-search { margin-top: 8px; }
.pick-map { height: 300px; border-radius: var(--r); overflow: hidden; margin-top: 10px; background: #f1f1f3; }
.pick-empty { height: 100%; display: grid; place-items: center; color: var(--muted); font-size: 14px; padding: 20px; }
.loc-read { font-size: 13px; color: var(--muted); margin-top: 8px; font-weight: 600; }
.loc-read.ok { color: var(--ok); }
.yt-rows { display: flex; flex-direction: column; gap: 12px; margin-bottom: 12px; }
.yt-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.yt-cell { display: flex; flex-direction: column; gap: 6px; }
.yt-thumb { aspect-ratio: 16/9; border-radius: 10px; background: var(--paper) center/cover no-repeat; border: 1.5px dashed var(--line); display: grid; place-items: center; color: var(--muted); font-size: 12px; }
.yt-thumb.has { border: 0; position: relative; }
.yt-thumb.has::after { content: '▶'; width: 34px; height: 24px; display: grid; place-items: center; background: var(--brand); color: #fff; border-radius: 7px; font-size: 11px; }
.yt-cell input { padding: 9px 10px !important; font-size: 13px; }
.form-foot { text-align: center; margin-top: 10px; }
.progress { height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; margin: 0 auto 14px; max-width: 400px; }
.progress div { height: 100%; width: 0; background: linear-gradient(90deg, var(--brand), var(--gold)); transition: width .2s; }

/* ---------- Toasts ---------- */
.toasts { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; width: min(440px, calc(100% - 32px)); pointer-events: none; }
.toast { background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 14px; box-shadow: var(--shadow-lg); font-weight: 600; font-size: 14px; animation: pop .25s ease; pointer-events: auto; }
.toast.err { background: var(--brand); }
.toast.ok { background: var(--ok); }

/* ---------- Footer (white, red accents — the red logo always sits on white) ---------- */
.site-footer { background: #fff; color: var(--ink-2); padding: 48px 16px 28px; border-top: 4px solid var(--brand); }
.footer-inner { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.footer-logo { height: 58px; width: auto; }
.footer-tag { margin: 0; color: var(--muted); max-width: 520px; }
.footer-auth { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.socials, .footer-nav { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.socials a, .footer-nav a { color: var(--ink-2); font-weight: 600; font-size: 14px; }
.socials a:hover, .footer-nav a:hover { color: var(--brand); }
.copy { font-size: 13px; color: var(--muted); margin: 8px 0 0; }

/* ---------- Account / Admin lists ---------- */
.my-list, .a-list { display: flex; flex-direction: column; gap: 10px; max-width: 920px; margin: 0 auto; }
.a-row { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 14px; padding: 10px 14px; box-shadow: 0 1px 2px rgba(0,0,0,.04); outline: 1px solid var(--line); text-align: left; }
.a-row img, .a-row .ph { width: 64px; height: 48px; border-radius: 8px; object-fit: cover; flex: none; background: var(--line); }
.a-main { flex: 1; min-width: 0; }
.a-title { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a-sub { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a-act { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.pill { display: inline-block; font-size: 11px; font-weight: 800; padding: 2px 9px; border-radius: 999px; text-transform: uppercase; letter-spacing: .03em; vertical-align: middle; }
.pill.pending { background: var(--gold-soft); color: #8a5a00; }
.pill.approved { background: #e3f6ea; color: var(--ok); }
.pill.rejected, .pill.blocked { background: var(--brand-soft); color: var(--brand); }
.admin-stats { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 10px 0 24px; }
.admin-stats div { background: #fff; border-radius: 14px; padding: 12px 22px; box-shadow: var(--shadow); font-size: 13px; color: var(--muted); font-weight: 600; }
.admin-stats b { display: block; font-size: 26px; color: var(--ink); }
.admin-stats .hot b { color: var(--brand); }
.tabs { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.tabs button { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 16px; font-weight: 700; font-size: 14px; }
.tabs button.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.tabs .badge { background: var(--brand); color: #fff; border-radius: 99px; font-size: 11px; padding: 1px 7px; margin-left: 4px; }
.pane-tools, .inline-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 0 auto 18px; max-width: 920px; }
.pane-tools input, .pane-tools select, .inline-form input { width: auto; flex: 1; min-width: 140px; padding: 9px 12px; }
.inline-form .w-icon { flex: 0 0 64px; min-width: 0; } .inline-form .w-num { flex: 0 0 80px; min-width: 0; }
.inline-form input[type=color] { flex: 0 0 52px; min-width: 0; padding: 4px; height: 42px; }
.a-row input.inl { padding: 7px 10px; border: 1.5px solid var(--line); border-radius: 8px; width: 100%; }
.settings-form { max-width: 820px; margin: 0 auto; text-align: center; }
.settings-form h3 { font-family: var(--display); font-size: 22px; margin: 30px 0 14px; border-top: 1px solid var(--line); padding-top: 24px; }
.settings-form h3:first-child { border: 0; padding-top: 0; margin-top: 0; }
.msg-body { white-space: pre-line; font-size: 14px; color: var(--ink-2); margin-top: 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
@media (max-width: 760px) {
  .header-inner { gap: 6px; padding: 10px 8px 8px; flex-direction: column; }
  .brand img { height: 38px; }
  .main-nav { gap: 2px; flex-wrap: nowrap; overflow-x: auto; width: 100%; justify-content: safe center; scrollbar-width: none; }
  .main-nav a { padding: 6px 11px; font-size: 14px; flex: none; }

  .city-scroll { justify-content: flex-start; }
  .main-map { height: 62vh; }
  .modal { padding: 0; align-items: end; }
  .modal-card { border-radius: 22px 22px 0 0; max-height: 94dvh; padding: 28px 18px 22px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .videos .vid { width: calc((100% - 14px) / 2); }
  .yt-row { grid-template-columns: 1fr; }
  .a-row { flex-wrap: wrap; }
  .a-act { width: 100%; justify-content: center; }
  .sl-nav { width: 36px; height: 36px; font-size: 18px; }
}
@media (max-width: 460px) { .videos .vid { width: 100%; } .card-title { font-size: 15px; } .card-body { padding: 10px 10px 14px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* =========================================================
   v2 components
   ========================================================= */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.btn-red { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(242,96,12,.32); }
.btn-red:hover { background: var(--brand-d); }
.btn-nearby { font-size: 17px; padding: 15px 34px; margin-top: 4px; }
.link { background: none; border: 0; padding: 0; color: var(--brand); font-weight: 700; font-size: inherit; cursor: pointer; }
.link:hover { text-decoration: underline; }
.you-are { margin: 16px 0 14px; font-size: 18px; color: var(--ink-2); }
.you-are b { color: var(--brand); letter-spacing: .02em; }
.you-are small { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
.filters-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 220px)); gap: 12px; justify-content: center; margin: 0 auto 18px; }
.dd { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.dd select { appearance: none; width: 100%; padding: 11px 36px 11px 16px; border: 1.5px solid var(--line); border-radius: 12px; font-weight: 600; font-size: 15px; color: var(--ink); text-transform: none; letter-spacing: 0; text-align: center; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23e3262e' stroke-width='2' fill='none'/%3E%3C/svg%3E") right 14px center no-repeat; }
.dd select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.active-filter { display: flex; gap: 10px; justify-content: center; align-items: center; margin: 0 0 18px; flex-wrap: wrap; }
.pager-wrap { overflow: hidden; padding: 6px 4px 10px; margin: 0 -4px; scroll-margin-top: 90px; }
.pager { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.pager button { min-width: 42px; height: 42px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; color: var(--ink); transition: all .2s; }
.pager button:hover:not([disabled]) { border-color: var(--brand); color: var(--brand); }
.pager button.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.pager button[disabled] { opacity: .35; cursor: default; }
.pager span { align-self: center; color: var(--muted); }
.slide-l { animation: slideL .45s cubic-bezier(.2,.8,.2,1); }
.slide-r { animation: slideR .45s cubic-bezier(.2,.8,.2,1); }
@keyframes slideL { from { opacity: 0; transform: translateX(60px); } }
@keyframes slideR { from { opacity: 0; transform: translateX(-60px); } }
.rate-badge { position: absolute; bottom: 10px; right: 10px; background: rgba(255,255,255,.95); color: var(--ink); font-size: 12px; font-weight: 800; border-radius: 999px; padding: 3px 9px; }
.rate-badge.top { background: var(--brand); color: #fff; }
.a-title .rate-badge { position: static; display: inline-block; outline: 1px solid var(--line); }
.dist-badge { position: absolute; bottom: 10px; left: 10px; background: rgba(28,28,30,.8); color: #fff; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 3px 9px; }
.card-kw { color: var(--brand) !important; opacity: .8; }

/* Avatars */
.av { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex: none; display: inline-grid; place-items: center; background: var(--brand); color: #fff; font-weight: 800; font-size: 14px; vertical-align: middle; }
.av-sm { width: 30px; height: 30px; font-size: 13px; }
.av-md { width: 44px; height: 44px; font-size: 18px; }
img.avatar { object-fit: cover; }
.avatar { background: var(--brand) !important; }
.chip-name small { display: block; color: var(--muted); font-weight: 500; }

/* Post popup */
.by-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; background: var(--soft); margin: 0 48px 16px 0; text-align: left; color: var(--ink); text-decoration: none !important; transition: background .2s; }
.by-bar:hover { background: var(--brand-soft); }
.by-txt { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.by-txt small { color: var(--muted); font-size: 12px; }
.by-txt b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.by-more { margin-left: auto; color: var(--brand); font-weight: 700; font-size: 13px; white-space: nowrap; }
.post-group { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: -6px 48px 14px 0; }
.gnav { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 5px 12px 5px 10px; font-weight: 700; font-size: 13px; max-width: 42%; transition: all .2s; }
.gnav span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gnav:hover { border-color: var(--brand); color: var(--brand); }
.gnext { padding: 5px 10px 5px 12px; }
.gcount { font-size: 12px; color: var(--muted); font-weight: 600; text-align: center; }
.tag-hash { background: var(--brand-soft); color: var(--brand); text-decoration: none !important; }
.tag-hash:hover { background: var(--brand); color: #fff; }
.rating { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 26px; margin: 0 0 18px; }
.rate-avg { display: flex; align-items: center; gap: 10px; }
.rate-avg > b { font-family: var(--display); font-size: 34px; line-height: 1; color: var(--ink); }
.rate-avg > b.top { color: var(--brand); }
.rate-avg small { color: var(--muted); font-size: 12px; }
.top-tag { color: var(--brand); font-weight: 800; }
.stars { display: inline-flex; gap: 1px; }
.st { font-size: 17px; color: #d9d9de; line-height: 1; }
.st.on { color: var(--brand); }
.stars-in .st { background: none; border: 0; padding: 2px; font-size: 24px; cursor: pointer; transition: transform .1s, color .1s; }
.stars-in .st:hover { transform: scale(1.2); }
.stars-in .st.hov { color: var(--brand); }
.stars-in:hover .st.on:not(.hov) { color: #d9d9de; }
.rate-me { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 13px; color: var(--muted); font-weight: 600; }
.my-val { color: var(--brand); }
.comments { text-align: left; max-width: 680px; margin-left: auto; margin-right: auto; }
.comments h3 { text-align: center; }
.cm { display: flex; gap: 10px; padding: 10px 0; }
.cm-main { flex: 1; min-width: 0; }
.cm-head { font-size: 14px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.cm-head a { color: var(--ink); }
.cm-head small { color: var(--muted); }
.cm-body { margin: 3px 0 4px; white-space: pre-line; color: var(--ink-2); font-size: 15px; overflow-wrap: anywhere; }
.cm-act { display: flex; gap: 14px; font-size: 13px; }
.cm-replies { margin-left: 40px; border-left: 2px solid var(--line); padding-left: 12px; }
.cm-replies:empty { display: none; }
.cm-hidden { opacity: .6; }
.cm-form { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; align-items: flex-end; }
.cm-form textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; min-height: 70px; outline: none; }
.cm-form textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.replying { align-self: stretch; font-size: 13px; color: var(--muted); }
.notice { background: var(--soft); border-radius: 12px; padding: 12px 16px; font-size: 14px; color: var(--ink-2); text-align: center; }
.modal-card .post-body.slide-l, .modal-card .post-body.slide-r { overflow: hidden; }
.tag-preview { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 8px; }
.check-terms { align-items: flex-start; text-align: left; font-size: 13px; font-weight: 500; color: var(--ink-2); line-height: 1.45; }
.check-terms input { margin-top: 3px; flex: none; accent-color: var(--brand); }
.check input { accent-color: var(--brand); }
.grid-2.tight { gap: 6px; }

/* Notice bar (comment unlock) */
.notice-bar { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 90; width: min(620px, calc(100% - 24px)); background: #fff; border: 2px solid var(--brand); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 14px 44px 14px 18px; font-size: 14px; text-align: left; animation: pop .3s ease; }
.notice-bar button { position: absolute; right: 10px; top: 8px; border: 0; background: none; font-size: 22px; color: var(--muted); }

/* Profile page */
.profile { padding-bottom: 64px; }
.pf-cover { height: 190px; background: linear-gradient(120deg, #f2600c, #ff5a4e 55%, #ff8a3d); position: relative; overflow: hidden; }
.pf-cover::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 20% 120%, rgba(255,255,255,.25), transparent 50%), radial-gradient(circle at 85% -20%, rgba(255,255,255,.2), transparent 45%); }
.pf-head { margin-top: -70px; position: relative; }
.pf-avatar { width: 140px; height: 140px; border-radius: 50%; border: 5px solid #fff; box-shadow: 0 10px 30px rgba(0,0,0,.18); margin: 0 auto 12px; overflow: hidden; background: var(--brand); display: grid; place-items: center; }
.pf-avatar img { width: 100%; height: 100%; object-fit: cover; }
.pf-avatar span { color: #fff; font-size: 58px; font-weight: 800; }
.pf-name { font-family: var(--display); font-size: clamp(28px, 4vw, 40px); margin: 0; line-height: 1.15; }
.verified { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 15px; vertical-align: middle; font-family: var(--font); }
.pf-user { color: var(--muted); margin: 2px 0 10px; font-weight: 600; }
.pf-rating { margin-bottom: 18px; }
.pf-rating .big { font-size: 22px; font-weight: 800; margin-right: 4px; }
.pf-rating .big.top { color: var(--brand); }
.pf-stats { display: inline-flex; gap: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; margin-bottom: 18px; flex-wrap: wrap; justify-content: center; }
.pf-stats div { padding: 12px 24px; border-right: 1px solid var(--line); min-width: 100px; }
.pf-stats div:last-child { border-right: 0; }
.pf-stats b { display: block; font-size: 22px; line-height: 1.1; }
.pf-stats span { font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.pf-bio { max-width: 620px; margin: 0 auto 18px; font-size: 17px; color: var(--ink-2); }
.pf-contact, .pf-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 14px; }
.pf-contact a { background: var(--soft); border-radius: 999px; padding: 7px 14px; color: var(--ink); font-weight: 600; font-size: 14px; }
.sl { border-radius: 999px; padding: 7px 15px; font-weight: 700; font-size: 14px; color: #fff; background: var(--ink); text-decoration: none !important; transition: transform .15s; }
.sl:hover { transform: translateY(-2px); }
.sl-fb { background: #1877f2; } .sl-ig { background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af); } .sl-yt { background: #ff0000; }
.sl-tt { background: #111; } .sl-x { background: #111; } .sl-in { background: #0a66c2; } .sl-wa { background: #25d366; } .sl-pin { background: #e60023; } .sl-web { background: var(--brand); }
.pf-gallery { max-width: 760px; margin: 22px auto 0; }
.pf-posts { margin-top: 44px; }
.section-title { font-family: var(--display); font-size: clamp(24px, 3vw, 32px); margin: 0 0 16px; }

/* Account / profile editor */
.profile-form { max-width: 760px; margin: 0 auto 50px; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px; }
.pf-edit-avatar { display: flex; justify-content: center; margin-bottom: 20px; }
.avatar-pick { position: relative; width: 120px; height: 120px; border-radius: 50%; overflow: hidden; cursor: pointer; background: var(--brand); display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0,0,0,.15); }
.avatar-pick img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.avatar-pick span { color: #fff; font-size: 48px; font-weight: 800; }
.avatar-pick em { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0,0,0,.55); color: #fff; font-size: 12px; font-style: normal; font-weight: 700; padding: 5px 0; }
.url-preview { margin: -10px 0 16px; word-break: break-all; }
.links-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.link-row { display: flex; gap: 8px; }
.link-row input { flex: 1; }
.sub-h { font-size: 17px; margin: 26px 0 12px; }
.vis-row { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.vis-row input:not([type=checkbox]) { flex: 1; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm); outline: none; text-align: center; }
.vis-row input:focus { border-color: var(--brand); }
.switch { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--ink-2); cursor: pointer; flex: none; }
.switch input { display: none; }
.switch span { width: 40px; height: 23px; border-radius: 99px; background: #d4d4d8; position: relative; transition: background .2s; }
.switch span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 17px; height: 17px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.switch input:checked + span { background: var(--brand); }
.switch input:checked + span::after { transform: translateX(17px); }
.unlock-card { max-width: 760px; margin: 0 auto 22px; border: 2px solid var(--brand); border-radius: 18px; padding: 16px 20px; background: #fff; }
.unlock-card p { margin: 4px 0 12px; color: var(--ink-2); font-size: 14px; }
.prog { display: grid; grid-template-columns: 190px 1fr 90px; gap: 10px; align-items: center; font-size: 13px; text-align: left; margin-bottom: 6px; }
.prog .bar { height: 8px; background: var(--soft); border-radius: 99px; overflow: hidden; }
.prog .bar i { display: block; height: 100%; background: var(--brand); border-radius: 99px; }
.prog b { text-align: right; }

@media (max-width: 760px) {
  .filters-3 { grid-template-columns: 1fr 1fr; }
  .filters-3 .dd:first-child { grid-column: 1 / -1; }
  .by-bar { margin-right: 44px; }
  .by-more { display: none; }
  .gnav { max-width: 38%; font-size: 12px; }
  .gcount { font-size: 11px; }
  .pf-cover { height: 140px; }
  .pf-stats div { padding: 10px 14px; min-width: 76px; }
  .profile-form { padding: 20px 14px; }
  .vis-row { flex-wrap: wrap; justify-content: center; }
  .prog { grid-template-columns: 1fr 70px; }
  .prog .bar { grid-column: 1 / -1; grid-row: 2; }
  .cm-replies { margin-left: 18px; }
}

.a-row img.av, .a-row .av { width: 44px; height: 44px; border-radius: 50%; }
[data-list="users"] .a-row, [data-list="comments"] .a-row { flex-wrap: wrap; }
[data-list="users"] .a-main { flex: 1 1 320px; }
[data-list="users"] .a-act { flex: 1 1 100%; justify-content: flex-end; }

/* =========================================================
   v3 components
   ========================================================= */
/* Header tools: language + account */
.header-tools { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; align-items: center; gap: 4px; border: 1.5px solid var(--line); border-radius: 999px; padding: 4px 6px 4px 10px; background: #fff; cursor: pointer; }
.lang:hover { border-color: var(--brand); }
.lang select { border: 0; background: transparent; font-weight: 600; font-size: 13px; color: var(--ink); max-width: 112px; cursor: pointer; outline: none; }
.nav-dd { display: inline-flex; }
.nav-dd > button { border: 0; background: none; padding: 8px 16px; border-radius: 999px; color: var(--ink-2); font-weight: 600; font-size: 15px; }
.nav-dd > button:hover, .nav-dd > button[aria-expanded="true"] { background: var(--brand-soft); color: var(--brand); }
.nav-dd > button.active { background: var(--ink); color: #fff; }
.dd-menu { position: fixed; z-index: 70; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); padding: 6px; min-width: 210px; text-align: left; border: 1px solid var(--line); }
.dd-menu a { display: block; padding: 9px 14px; border-radius: 9px; color: var(--ink); font-weight: 600; font-size: 14px; text-decoration: none; }
.dd-menu a:hover { background: var(--brand-soft); color: var(--brand); }
/* hide Google Translate's own toolbar */
.goog-te-banner-frame, iframe.skiptranslate, .goog-te-balloon-frame, #goog-gt-tt, .goog-tooltip, .VIpgJd-ZVi9od-ORHb-OEVmcd, .VIpgJd-ZVi9od-aZ2wEe-wOHMyf { display: none !important; }
body { top: 0 !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
.paywall-bar { background: var(--brand); color: #fff; padding: 9px 16px; font-weight: 600; font-size: 14px; }
.paywall-bar a { color: #fff; text-decoration: underline; }

/* Map pins: small red pin + post name + category · keywords. Box only on hover. */
.mkw { position: relative; font-family: var(--font); cursor: pointer; }
.pin { display: flex; align-items: center; gap: 6px; white-space: nowrap; transform: translateX(calc(50% - 8px)); }
.pin-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--brand); border: 2.5px solid #fff; box-shadow: 0 1px 5px rgba(0,0,0,.4); flex: none; display: grid; place-items: center; color: #fff; font-size: 8px; line-height: 1; }
.mkw.top .pin-dot { width: 20px; height: 20px; font-size: 10px; }
.pin-txt { display: flex; flex-direction: column; line-height: 1.15; text-align: left; text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 4px #fff; max-width: 150px; }
.pin-txt b { font-size: 11.5px; font-weight: 800; color: var(--ink); overflow: hidden; text-overflow: ellipsis; }
.pin-txt small { font-size: 9.5px; color: var(--brand); font-weight: 700; overflow: hidden; text-overflow: ellipsis; }
.mk { display: none; position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 150px; background: #fff; border-radius: 12px; box-shadow: 0 10px 28px rgba(0,0,0,.3); padding: 5px; text-align: center; border: 2px solid var(--brand); z-index: 2; }
.mk::after { content: ''; position: absolute; left: 50%; bottom: -9px; transform: translateX(-50%); border: 8px solid transparent; border-bottom: 0; border-top-color: var(--brand); }
.mkw.open .mk { display: block; animation: pop .18s ease; }
.mkw.open .pin-txt { visibility: hidden; }
.mkw.nolabel .pin-txt { visibility: hidden; }
.mkw.nolabel:hover .pin-txt { visibility: visible; }
.mk-t { font-size: 12px; font-weight: 800; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 1px 3px 4px; color: var(--ink); }
.mk img { width: 100%; height: 84px; object-fit: cover; border-radius: 8px; background: var(--soft); }
.mk-k { font-size: 10px; color: var(--brand); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 4px 3px 1px; font-weight: 600; }
.mk-r { position: absolute; top: 26px; right: 10px; background: var(--brand); color: #fff; font-size: 10px; font-weight: 800; border-radius: 999px; padding: 1px 6px; }
.mk-n { position: absolute; top: -9px; left: -9px; background: var(--ink); color: #fff; font-size: 10px; font-weight: 800; border-radius: 999px; padding: 2px 6px; border: 2px solid #fff; }
/* "You are here" — person-shaped pin */
.me-pin { display: flex; flex-direction: column; align-items: center; filter: drop-shadow(0 3px 6px rgba(0,0,0,.3)); pointer-events: none; }
.me-label { background: #1a73e8; color: #fff; font-family: var(--font); font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 999px; margin-bottom: 3px; white-space: nowrap; }
.me-pin svg { animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-3px); } }

/* Search */
.search-row { display: flex; justify-content: center; margin: 4px 0 14px; }
.search-row .search { width: min(560px, 100%); }
.chip-sub { background: var(--brand); color: #fff !important; border-color: var(--brand); text-decoration: none !important; }
.locked { padding: 40px 10px; }
.locked-note { margin-top: 18px; }

/* Recommended (top-rated, same city) */
.reco { display: flex; gap: 12px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x mandatory; justify-content: safe center; }
.reco-item { flex: 0 0 170px; scroll-snap-align: start; position: relative; border: 0; padding: 0; background: #fff; border-radius: 14px; overflow: hidden; outline: 1px solid var(--line); text-align: center; transition: transform .2s; }
.reco-item:hover { transform: translateY(-3px); }
.reco-item img { width: 100%; height: 110px; object-fit: cover; }
.reco-t { display: block; padding: 8px 8px 10px; font-weight: 700; font-size: 13px; line-height: 1.3; }
.reco-item .rate-badge { top: 8px; bottom: auto; right: 8px; }
.top-strip { margin: 0 auto 26px; max-width: 1000px; }
.top-strip h3 { font-family: var(--display); font-size: 22px; margin: 0 0 10px; }

/* Register pitch & gate */
.pitch { font-size: 15px; color: var(--ink); margin: 6px 0 4px; line-height: 1.45; }
.pitch b { color: var(--brand); }
.gate-msg { margin: 6px 0; border: 1.5px solid var(--brand); background: var(--brand-soft); color: var(--ink); font-weight: 600; }
body.guest .card { cursor: pointer; }

/* About team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 240px)); gap: 18px; justify-content: center; margin: 0 auto 36px; }
.team-card { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 22px 16px; border-radius: 20px; outline: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none !important; transition: transform .2s, box-shadow .2s; }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tc-av { width: 86px; height: 86px; border-radius: 50%; overflow: hidden; background: var(--brand); color: #fff; font-size: 34px; font-weight: 800; display: grid; place-items: center; margin-bottom: 8px; }
.tc-av img { width: 100%; height: 100%; object-fit: cover; }
.tc-role { color: var(--brand); font-weight: 700; font-size: 13px; }
.team-card small { color: var(--muted); font-size: 13px; }
.tc-stat { font-weight: 700; }

/* Contact info */
.contact-info { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 0 auto 30px; max-width: 900px; }
.contact-info a { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 190px; padding: 18px 20px; border-radius: 18px; outline: 1px solid var(--line); color: var(--ink); text-decoration: none !important; }
.contact-info a:hover { outline-color: var(--brand); }
.contact-info span { font-size: 24px; }
.contact-info small { color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: 11px; }

/* Legal pages: centred column, readable lists */
.legal { max-width: 820px; }
.legal ul { display: inline-block; text-align: left; margin: 0 auto; }
.legal h3 { margin-top: 28px; }

/* Subscription */
.alert { max-width: 640px; margin: 0 auto 18px; padding: 12px 18px; border-radius: 14px; background: var(--soft); font-weight: 600; }
.alert.ok { background: #e3f6ea; color: #14683a; }
.alert.err { background: var(--brand-soft); color: var(--brand); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 200px)); gap: 14px; justify-content: center; margin: 10px auto 24px; }
.plan { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 22px 14px; border-radius: 20px; border: 2px solid var(--line); background: #fff; cursor: pointer; transition: all .2s; }
.plan input { position: absolute; opacity: 0; }
.plan:has(input:checked) { border-color: var(--brand); box-shadow: 0 10px 26px rgba(242,96,12,.18); transform: translateY(-3px); }
.plan b { font-size: 18px; }
.plan .price { font-family: var(--display); font-size: 30px; color: var(--brand); line-height: 1.1; }
.plan small { color: var(--muted); }
.plan-tag { position: absolute; top: -11px; background: var(--brand); color: #fff; font-size: 11px; font-weight: 800; border-radius: 999px; padding: 2px 10px; }
.sub-terms { max-width: 640px; margin: 0 auto 18px; justify-content: center; }
.pay-box { max-width: 720px; margin: 0 auto 22px; padding: 22px; border-radius: 20px; outline: 1px solid var(--line); }
.pay-box h3 { margin: 0 0 6px; }
.pay-details { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; margin: 14px 0; text-align: left; }
.pay-details > div { flex: 1 1 260px; background: var(--soft); border-radius: 14px; padding: 14px 18px; }
.pay-details h4 { margin: 0 0 8px; }
.pay-details dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 0; font-size: 14px; }
.pay-details dt { color: var(--muted); }
.pay-details dd { margin: 0; font-weight: 700; word-break: break-all; }
.manual-form { max-width: 460px; margin: 0 auto; }
.manual-form select { padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm); text-align: center; background: #fff; }
.pay-history { max-width: 720px; margin: 10px auto 0; }

/* Admin extras */
.switch.big { font-size: 15px; margin-bottom: 6px; }
.switch small { font-weight: 500; }
.a-row.undone { opacity: .55; }
.team-rows { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; }
.team-rows .link-row input { padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; }
.rte { border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; text-align: left; }
.rte-bar { display: flex; flex-wrap: wrap; gap: 2px; padding: 6px; background: var(--soft); border-bottom: 1px solid var(--line); }
.rte-bar button { border: 0; background: #fff; border-radius: 7px; padding: 5px 9px; font-size: 13px; font-weight: 600; color: var(--ink); }
.rte-bar button:hover, .rte-bar button.on { background: var(--brand); color: #fff; }
.rte-area { min-height: 160px; max-height: 520px; overflow: auto; padding: 14px 18px; outline: none; font-size: 15px; max-width: none; margin: 0; text-align: center; }
.rte textarea { border: 0 !important; border-radius: 0 !important; font-family: ui-monospace, Menlo, monospace; font-size: 13px; min-height: 220px; }
code { background: var(--soft); padding: 1px 6px; border-radius: 6px; font-size: .9em; }

@media (max-width: 760px) {
  .header-tools { top: 10px; transform: none; right: 8px; gap: 6px; }
  .lang { padding: 3px 4px 3px 7px; }
  .lang select { max-width: 70px; font-size: 12px; }
  .header-inner { padding-top: 8px; }
  .plans { grid-template-columns: 1fr 1fr; }
}
.check input[type=checkbox], .stack .check input { width: auto !important; flex: none; padding: 0; margin: 3px 0 0; box-shadow: none; }
.check { width: 100%; }
.check > span { flex: 1; }
.main-nav { align-items: center; }
.nav-dd > button { white-space: nowrap; }
@media (max-width: 760px) {
  .nav-dd { flex: none; }
  .nav-dd > button { padding: 6px 11px; font-size: 14px; }
  .main-nav { justify-content: flex-start; padding: 2px 8px; }
}
@media (max-width: 420px) {
  .main-nav a, .nav-dd > button { padding: 6px 8px; font-size: 13px; }
}

/* =========================================================
   Taste My Trip brand layer
   ========================================================= */
a { color: var(--navy); }
a:hover { color: var(--brand); }
.display, .prose h1, .prose h2, .section-title, .modal h2, .post-title, .pf-name, .post-section h3, .settings-form h3 { color: var(--navy); }
.display::after { content: ''; display: block; width: 72px; height: 4px; margin: 14px auto 0; border-radius: 4px; background: linear-gradient(90deg, var(--brand), var(--navy) 50%, var(--green)); }
.brand img { height: 78px; width: auto; }
.modal-logo { height: 76px; }
.footer-logo { height: 120px; }
.main-nav a.active, .nav-dd > button.active, .tabs button.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.main-nav a:hover, .nav-dd > button:hover, .nav-dd > button[aria-expanded="true"] { background: var(--brand-soft); color: var(--brand); }
.main-nav a.nav-submit { background: var(--green); color: #fff; box-shadow: 0 4px 12px rgba(46,139,15,.32); }
.main-nav a.nav-submit:hover { background: var(--green-d); color: #fff; }
.btn-primary { background: var(--brand); }
.btn-primary:hover { background: var(--brand-d); color: #fff; }
.btn-ok { background: var(--green); }
.btn-red, .btn-nearby { background: linear-gradient(135deg, #ff7a1a, var(--brand) 55%, #e2470a); color: #fff; }
.btn-red:hover { background: linear-gradient(135deg, var(--brand), var(--brand-d)); color: #fff; }
.you-are b { color: var(--brand); }
.city-btn.active { background: var(--brand); border-color: var(--brand); }
.city-more select { border-color: var(--sky); color: var(--navy); background-color: var(--sky-soft); }
.avatar, .av, .pf-avatar, .avatar-pick, .tc-av { background: linear-gradient(135deg, var(--navy), var(--sky)) !important; }
.rate-badge.top, .top-tag { background: var(--green); color: #fff; }
.top-tag { background: none; color: var(--green); }
.rate-avg > b.top, .pf-rating .big.top { color: var(--green); }
.card-city { color: var(--navy); }
.card-kw { color: var(--green) !important; opacity: 1; }
.tag-hash { background: var(--green-soft); color: var(--green); }
.tag-hash:hover { background: var(--green); color: #fff; }
.tag-red { background: var(--sky-soft); color: var(--navy); }
.pager button.on { background: var(--navy); border-color: var(--navy); }
.dd select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23f2600c' stroke-width='2' fill='none'/%3E%3C/svg%3E"); }
.search:focus, .dd select:focus { border-color: var(--sky); box-shadow: 0 0 0 4px var(--sky-soft); }
/* map pins keep the logo's red location-pin colour */
.pin-dot { background: var(--pin); }
.pin-txt b { color: var(--navy); }
.pin-txt small { color: var(--brand); }
.mk { border-color: var(--pin); }
.mk::after { border-top-color: var(--pin); }
.mk-r { background: var(--green); }
.mk-k { color: var(--green); }
/* footer: white with the logo's three-colour stripe */
.site-footer { border-top: 0; position: relative; }
.site-footer::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--brand) 0 33%, var(--navy) 33% 66%, var(--green) 66%); }
.socials a:hover, .footer-nav a:hover { color: var(--brand); }
.pf-cover { background: linear-gradient(120deg, var(--brand) 0%, #ff9a3d 30%, var(--sky) 68%, var(--navy) 100%); }
.paywall-bar { background: var(--navy); }
.chip-sub { background: var(--green); border-color: var(--green); }
.plan .price { color: var(--brand); }
.plan:has(input:checked) { border-color: var(--brand); }
.plan-tag { background: var(--green); }
.unlock-card, .notice-bar { border-color: var(--sky); }
.prog .bar i { background: linear-gradient(90deg, var(--brand), var(--green)); }
.gate-msg { border-color: var(--sky); background: var(--sky-soft); }
.pitch b { color: var(--navy); }
.stats b { color: var(--brand); }
.stats div:nth-child(2) b { color: var(--navy); }
.stats div:nth-child(3) b { color: var(--green); }
.verified { background: var(--sky); }
.tc-role { color: var(--green); }
.toast.ok { background: var(--green); }
.toast.err { background: var(--pin); }
.progress div { background: linear-gradient(90deg, var(--brand), var(--sky), var(--green)); }
@media (max-width: 760px) { .brand img { height: 60px; } .footer-logo { height: 96px; } }

/* Creator invitation banner */
.promo { margin: 8px auto 30px; max-width: 980px; }
.promo-in { position: relative; overflow: hidden; border-radius: 26px; padding: 34px 28px 26px;
  background: radial-gradient(circle at 0% 0%, rgba(242,96,12,.14), transparent 45%), radial-gradient(circle at 100% 100%, rgba(41,182,242,.18), transparent 50%), radial-gradient(circle at 100% 0%, rgba(46,139,15,.10), transparent 40%), #fff;
  border: 1.5px solid var(--line); box-shadow: 0 14px 40px rgba(11,44,99,.08); }
.promo-in::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--brand), var(--navy), var(--green)); }
.promo-badge { display: inline-block; background: var(--green-soft); color: var(--green); font-weight: 800; font-size: 13px; border-radius: 999px; padding: 5px 14px; margin-bottom: 12px; }
.promo-title { font-family: var(--display); color: var(--navy); font-size: clamp(22px, 3.2vw, 34px); line-height: 1.22; margin: 0 auto 18px; max-width: 820px; }
.promo-hl { background: linear-gradient(90deg, var(--brand), #ff8a1f 50%, var(--green)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.promo-hl sup, .promo-title sup { color: var(--brand); -webkit-text-fill-color: var(--brand); font-size: .55em; }
.promo-act { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.promo-note { margin: 16px auto 0; font-size: 12.5px; color: var(--muted); max-width: 620px; }
.promo-note a { font-weight: 700; }
.pf-head + .container .promo, .profile > .container > .promo { margin-top: 36px; }
@media (max-width: 760px) { .promo-in { padding: 28px 16px 20px; border-radius: 20px; } }
.prose [id] { scroll-margin-top: 120px; }

/* Backup & Update */
.bk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 1100px; margin: 0 auto; text-align: left; }
.bk-card { border-radius: 22px; outline: 1px solid var(--line); padding: 24px; background: #fff; position: relative; }
.bk-card h3 { margin: 6px 0 6px; color: var(--navy); font-family: var(--display); font-size: 22px; }
.bk-card h4 { margin: 22px 0 6px; font-size: 16px; }
.bk-tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .08em; border-radius: 999px; padding: 3px 10px; color: #fff; }
.bk-site { background: var(--navy); } .bk-user { background: var(--green); }
.bk-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--ink-2); background: var(--soft); border-radius: 12px; padding: 10px 14px; }
.bk-upload { display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap; }
.bk-upload .drop { flex: 1 1 220px; margin: 0; padding: 12px; }
.bk-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0; }
.bk-row select { flex: 1 1 240px; padding: 9px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; font-size: 13.5px; }
.bk-card .row-actions { justify-content: flex-start; margin: 10px 0 0; }
.bk-log { max-width: 1100px; margin: 22px auto 0; text-align: left; }
.bk-log pre { background: var(--soft); border-radius: 12px; padding: 12px; font-size: 12px; white-space: pre-wrap; max-height: 260px; overflow: auto; }
@media (max-width: 900px) { .bk-grid { grid-template-columns: 1fr; } }

/* =========================================================
   v3.3 — pins, promo strip, nearby, reset, links/videos, autocomplete, bulk
   ========================================================= */
/* Post pins: red teardrop like "You are here" (no animation) + white label */
.mkw .pin { display: flex; flex-direction: column; align-items: center; gap: 3px; transform: none; white-space: nowrap; filter: drop-shadow(0 3px 5px rgba(0,0,0,.28)); }
.pin-lbl { display: flex; flex-direction: column; align-items: center; background: #fff; border-radius: 9px; padding: 3px 9px 4px; line-height: 1.15; max-width: 170px; box-shadow: 0 0 0 1.5px rgba(255,255,255,.9); }
.pin-lbl b { font-size: 11.5px; font-weight: 800; color: var(--navy); overflow: hidden; text-overflow: ellipsis; max-width: 152px; }
.pin-lbl small { font-size: 9.5px; font-weight: 700; color: var(--brand); overflow: hidden; text-overflow: ellipsis; max-width: 152px; }
.pin-ico { position: relative; width: 40px; height: 52px; display: block; }
.pin-ico svg { display: block; }
.pin-emoji { position: absolute; top: 9px; left: 0; width: 40px; text-align: center; font-size: 14px; line-height: 20px; }
.pin-top { position: absolute; top: -4px; right: -6px; width: 17px; height: 17px; border-radius: 50%; background: var(--green); color: #fff; font-size: 10px; display: grid; place-items: center; border: 2px solid #fff; }
.pin-n { position: absolute; top: -4px; left: -6px; min-width: 17px; height: 17px; border-radius: 9px; background: var(--navy); color: #fff; font-size: 10px; font-weight: 800; display: grid; place-items: center; border: 2px solid #fff; padding: 0 3px; }
.mkw .pin-dot, .mkw .pin-txt { display: none; }
.mkw.nolabel .pin-lbl { visibility: hidden; }
.mkw.nolabel:hover .pin-lbl { visibility: visible; }
.mkw.open .pin-lbl { visibility: hidden; }
.mkw .mk { bottom: 58px; }
.mkw:hover .pin-ico svg path, .mkw.open .pin-ico svg path { fill: #c40f19; }

/* Promo: one compact line under the menu */
.promo-strip { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 7px 14px; background: linear-gradient(90deg, var(--brand-soft), var(--sky-soft) 60%, var(--green-soft)); border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--navy); line-height: 1.35; }
.promo-txt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.promo-hl { color: var(--brand); }
.promo-ast { color: var(--brand); font-weight: 800; text-decoration: none !important; margin-left: 1px; }
.promo-btn { flex: none; border: 0; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 800; font-size: 12.5px; padding: 5px 13px; }
.promo-btn:hover { background: var(--brand-d); }
@media (max-width: 760px) { .promo-strip { font-size: 12px; gap: 8px; padding: 6px 10px; } .promo-txt { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } }

/* Nearby button = same size as the city buttons */
.city-btn.nearby-btn { background: linear-gradient(135deg, #ff7a1a, var(--brand)); border-color: var(--brand); color: #fff; }
.city-btn.nearby-btn:hover { color: #fff; filter: brightness(1.05); }
.city-btn.nearby-btn.active { background: var(--navy); border-color: var(--navy); }
.you-are { margin-top: 4px; }

/* Reset button beside the three drop-downs */
.filters-3 { grid-template-columns: repeat(3, minmax(0, 220px)) auto; align-items: end; }
.reset-btn { width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font-size: 20px; color: var(--brand); font-weight: 800; transition: all .2s; }
.reset-btn:hover { border-color: var(--brand); background: var(--brand-soft); transform: rotate(-90deg); }
@media (max-width: 760px) { .filters-3 { grid-template-columns: 1fr 1fr auto; } .filters-3 .dd:first-child { grid-column: 1 / -1; } }

/* Location autocomplete */
.ac-wrap { position: relative; flex: 1; min-width: 0; }
.ac-wrap input { width: 100%; }
.ac-list { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 4px); margin: 0; padding: 4px; list-style: none; background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); text-align: left; max-height: 300px; overflow: auto; }
.ac-list li { padding: 8px 12px; border-radius: 8px; cursor: pointer; display: flex; flex-direction: column; line-height: 1.3; }
.ac-list li b { font-size: 14px; color: var(--navy); }
.ac-list li small { font-size: 12px; color: var(--muted); }
.ac-list li:hover, .ac-list li.on { background: var(--sky-soft); }
.ac-list .ac-foot { cursor: default; font-size: 10.5px; color: var(--muted); align-items: flex-end; padding: 4px 8px; }
.ac-list .ac-foot:hover { background: none; }
.ac-list .ac-empty { cursor: default; font-size: 13px; color: var(--muted); }

/* Videos from any platform + source note; post links */
.vid { color: #fff; }
.vid-brand { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; font-size: 18px; letter-spacing: .02em; }
.vid-tag { position: absolute; left: 8px; bottom: 8px; background: rgba(0,0,0,.6); color: #fff; font-size: 11px; font-weight: 700; border-radius: 999px; padding: 2px 8px; }
.vt-facebook { background: #1877f2; } .vt-instagram { background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af); } .vt-tiktok { background: #111; }
.vt-vimeo { background: #1ab7ea; } .vt-dailymotion { background: #0d0d0d; } .vt-other { background: var(--navy); }
.vid.playing .vid-tag { display: none; }
.vid.vertical { aspect-ratio: 9/16; max-height: 640px; }
.vid-source { font-size: 12px; color: var(--muted); margin: 10px 0 0; font-style: italic; }
.post-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.yt-thumb.vt-facebook, .yt-thumb.vt-instagram, .yt-thumb.vt-tiktok, .yt-thumb.vt-vimeo, .yt-thumb.vt-dailymotion, .yt-thumb.vt-other { color: #fff; font-weight: 800; font-size: 13px; border: 0; }
.yt-thumb.has:not([style*="url"])::after { display: none; }
.plink input { padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; text-align: left; }
.plink input[data-ll] { flex: 0 0 38%; }

/* Bulk selection */
.bulk-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: flex-start; max-width: 920px; margin: 0 auto 10px; padding: 8px 12px; border-radius: 12px; background: var(--soft); text-align: left; }
.bulk-bar .check { width: auto; margin: 0; font-size: 13px; }
.bulk-n { font-size: 13px; color: var(--muted); font-weight: 700; margin-right: auto; }
.a-row .sel { width: 18px; height: 18px; flex: none; accent-color: var(--brand); cursor: pointer; }
.a-row:has(.sel:checked) { outline: 2px solid var(--brand); background: var(--brand-soft); }
.sel-ph { width: 18px; flex: none; }
.vid-brand { display: none; }

/* v3.4 — admin switches, offline bar, human check, hidden bad words, small location line */
.switches { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 920px; margin: 0 auto 22px; }
.sw-card { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 20px; border-radius: 18px; outline: 1.5px solid var(--line); background: #fff; text-align: left; }
.sw-card b { display: block; font-size: 16px; color: var(--navy); }
.sw-card small { color: var(--muted); font-size: 12.5px; }
.switch.big span { width: 54px; height: 30px; }
.switch.big span::after { width: 24px; height: 24px; }
.switch.big input:checked + span { background: var(--green); }
.switch.big input:checked + span::after { transform: translateX(24px); }
.switches.site-off .sw-card:first-child { outline-color: var(--pin); background: #fff5f5; }
.offline-bar { background: var(--pin); color: #fff; padding: 9px 16px; font-weight: 700; font-size: 14px; }
.offline-bar a { color: #fff; text-decoration: underline; }
.captcha { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.cap-row { display: flex; gap: 8px; align-items: center; justify-content: center; width: 100%; }
.cap-row img { border-radius: 10px; flex: none; }
.stack .cap-row input { width: 110px; flex: 1; min-width: 0; }
.cap-new { width: 40px; height: 44px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; font-size: 18px; color: var(--brand); flex: none; }
.cap-note { color: var(--muted); font-size: 12px; }
.secret-box { border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; margin-bottom: 8px; }
.secret-mask { padding: 16px; background: repeating-linear-gradient(45deg, #f6f6f7 0 10px, #fff 10px 20px); color: var(--muted); font-weight: 700; font-size: 14px; }
.secret-box textarea { border: 0 !important; width: 100%; }
.you-are-sm { margin: 0; padding: 5px 12px; font-size: 13px; color: var(--ink-2); background: #fff; border-bottom: 1px solid var(--line); text-align: center; }
.you-are-sm b { font-size: 13px; }
.you-are-sm small { display: inline; margin: 0 0 0 4px; font-size: 12px; }
@media (max-width: 760px) { .switches { grid-template-columns: 1fr; } }

/* ===== v3.5: footer "Other" pages, sign-in security card ===== */
.footer-other{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px 16px;margin:4px 0 14px;font-size:13.5px}
.footer-other a{color:inherit;opacity:.85;text-decoration:none}.footer-other a:hover{opacity:1;text-decoration:underline}
.footer-other .fo-h{font-weight:700;opacity:.6;text-transform:uppercase;letter-spacing:.06em;font-size:11.5px}
.sec-card{max-width:760px;margin:0 auto 26px;text-align:left;border:1.5px solid var(--line,#e7eaf0);border-radius:18px;padding:18px 20px;background:#fff}
.sec-head{display:flex;gap:16px;justify-content:space-between;align-items:flex-start}
.sec-head h3{margin:0 0 4px;font-size:16.5px;color:var(--navy,#0b2c63)}.sec-head p{margin:0}
.sec-btns{display:flex;gap:8px;flex-shrink:0}
.tfa-setup{margin-top:14px;padding-top:14px;border-top:1px dashed var(--line,#e7eaf0);text-align:center}
.tfa-setup ol{text-align:left;max-width:520px;margin:0 auto 10px;padding-left:20px}
.tfa-qr{width:200px;height:200px;margin:6px auto;border-radius:12px;overflow:hidden;border:1.5px solid var(--line,#e7eaf0)}
.tfa-qr svg{width:100%;height:100%;display:block}
.tfa-key code{font-size:14px;letter-spacing:.06em;background:#f3f6fb;padding:3px 8px;border-radius:6px;user-select:all}
.tfa-form{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-top:8px}.tfa-form .code-input{max-width:170px}
.tfa-devs{margin-top:14px;padding-top:12px;border-top:1px dashed var(--line,#e7eaf0)}.tfa-devs h4{margin:0 0 8px;font-size:14px}
.dev-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:6px 0;font-size:14px}
.sec-row{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:14px;padding-top:12px;border-top:1px dashed var(--line,#e7eaf0);font-weight:600}
@media (max-width:600px){.sec-head{flex-direction:column}}

/* ===== v3.6: admin panel with a side menu ===== */
.adm { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: 26px; max-width: 1360px; margin: 0 auto; padding: 22px 20px 60px; text-align: left; align-items: start; }
.adm-side { position: sticky; top: calc(var(--header-h) + 12px); background: #fff; border: 1.5px solid var(--line); border-radius: 18px; padding: 12px 10px; display: flex; flex-direction: column; gap: 2px; max-height: calc(100vh - var(--header-h) - 30px); overflow: auto; }
.adm-title { font-family: var(--display); font-size: 22px; font-weight: 700; color: var(--navy); padding: 4px 12px 8px; }
.adm-group { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 12px 12px 4px; }
.adm-side button { display: flex; align-items: center; gap: 10px; width: 100%; border: 0; background: none; padding: 9px 12px; border-radius: 11px; font: 600 14.5px var(--font); color: var(--ink-2); cursor: pointer; text-align: left; }
.adm-side button .ic { width: 22px; text-align: center; }
.adm-side button .lb { flex: 1; }
.adm-side button:hover { background: var(--soft); color: var(--ink); }
.adm-side button.active { background: var(--navy); color: #fff; }
.adm-side .badge { background: var(--brand); color: #fff; border-radius: 99px; font-size: 11px; padding: 1px 7px; }
.adm-main { min-width: 0; }
.pane-h { font-family: var(--display); font-size: 28px; color: var(--navy); margin: 2px 0 16px; display: flex; align-items: center; gap: 10px; }
.adm .admin-stats { justify-content: flex-start; margin: 0 0 18px; }
.adm .switches { justify-content: flex-start; margin: 0 0 16px; }
.adm .settings-form, .adm .pane-tools, .adm .a-list { max-width: none; margin-left: 0; margin-right: 0; text-align: left; }
.adm .fld, .adm .settings-form h3 { text-align: left; }
.hint { color: var(--muted); font-size: 13px; margin: 4px 0 12px; }
.subtabs { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1.5px solid var(--line); margin: 0 0 18px; }
.subtabs button { border: 0; background: none; padding: 9px 14px; font: 700 14px var(--font); color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1.5px; cursor: pointer; }
.subtabs button.active { color: var(--navy); border-bottom-color: var(--brand); }
.seg { display: inline-flex; background: var(--soft); border-radius: 999px; padding: 3px; margin-bottom: 14px; }
.seg button { border: 0; background: none; padding: 6px 14px; border-radius: 999px; font: 700 13px var(--font); color: var(--ink-2); cursor: pointer; }
.seg button.active { background: #fff; color: var(--navy); box-shadow: var(--shadow); }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 0 0 16px; }
.kpis > div { background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.kpis b { display: block; font-size: 22px; color: var(--ink); line-height: 1.2; }
.kpis span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.kpis span small { display: block; font-weight: 500; }
.kpis .money b { color: var(--green); } .kpis .hot b { color: var(--brand); }
.kpis.sm { grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); } .kpis.sm > div { padding: 8px 10px; } .kpis.sm b { font-size: 18px; }
.chart-card { background: #fff; border: 1.5px solid var(--line); border-radius: 16px; padding: 14px 16px; margin: 0 0 16px; text-align: left; }
.chart-card h3 { margin: 0 0 10px; font-size: 15.5px; color: var(--navy); }
.chart-card h4 { margin: 14px 0 6px; font-size: 13px; color: var(--ink-2); }
.adm .grid-2, .creator .grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.adm .grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.bchart { position: relative; display: flex; align-items: flex-end; gap: 0; padding: 18px 0 20px; border-bottom: 1.5px solid var(--line); }
.bc-max { position: absolute; top: 0; left: 0; font-size: 11px; color: var(--muted); }
.bc-col { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; position: relative; }
.bc-stack { width: 70%; height: 100%; display: flex; flex-direction: column-reverse; justify-content: flex-start; }
.bc-stack i { display: block; width: 100%; border-radius: 3px 3px 0 0; min-height: 0; }
.bc-stack i + i { border-radius: 3px 3px 0 0; }
.bc-col:hover .bc-stack i { filter: brightness(1.1); }
.bc-lbl { position: absolute; bottom: -19px; font-size: 10.5px; color: var(--muted); white-space: nowrap; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin: 0 4px 0 8px; vertical-align: -1px; }
.legend .l1 { background: var(--brand); } .legend .l2 { background: var(--navy); }
.hbar { display: grid; grid-template-columns: 120px 1fr 40px; align-items: center; gap: 8px; font-size: 13px; margin: 4px 0; }
.hbar span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hbar i { display: block; height: 10px; border-radius: 6px; background: var(--brand); min-width: 2px; }
.hbar.stars { grid-template-columns: 34px 1fr 40px; } .hbar.stars i { background: var(--gold); }
.hbar b { text-align: right; }
.toplist { margin: 0; padding-left: 20px; font-size: 13.5px; }
.toplist li { margin: 4px 0; } .toplist li b { float: right; color: var(--ink-2); margin-left: 8px; }
table.mini { width: 100%; border-collapse: collapse; font-size: 13.5px; margin-top: 8px; }
table.mini th, table.mini td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.mini th { color: var(--muted); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.audit-sum { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.audit-badge { font-weight: 800; padding: 8px 14px; border-radius: 12px; margin-right: 6px; }
.audit-badge.ok { background: var(--green-soft); color: var(--green-d); } .audit-badge.bad { background: #fdeceb; color: #b3141c; }
.audit-row { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: start; padding: 9px 0; border-bottom: 1px solid var(--line); }
.audit-row:last-child { border-bottom: 0; }
.audit-row p { margin: 3px 0 0; font-size: 13px; color: var(--ink-2); }
.audit-row.fail b { color: #b3141c; } .audit-row.warn b { color: var(--warn); }
.audit-row .ai { font-size: 17px; line-height: 1.3; }
.tip-card { background: var(--gold-soft); border-radius: 14px; padding: 12px 16px; margin: 14px 0; font-size: 13.5px; }
.tip-card ul { margin: 6px 0 0; padding-left: 18px; }
.mapp-detail { grid-column: 1 / -1; width: 100%; padding: 8px 0 4px; }
@media (max-width: 900px) {
  .adm { grid-template-columns: 1fr; padding-top: 10px; gap: 12px; }
  .adm-side { position: static; flex-direction: row; overflow-x: auto; max-height: none; padding: 6px; border-radius: 14px; gap: 4px; }
  .adm-title, .adm-group { display: none; }
  .adm-side button { white-space: nowrap; width: auto; padding: 8px 12px; }
}

/* ===== v3.6: ads, post page, profile privacy, creator rewards ===== */
.ad-wrap { max-width: 1100px; margin: 22px auto; padding: 0 16px; text-align: center; min-height: 0; }
.ad-label { display: block; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.post-page { max-width: 900px; text-align: left; }
.post-page .by-bar { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.post-page .post-title { font-family: var(--display); font-size: clamp(26px, 4vw, 40px); margin: 6px 0; }
.pp-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 16px 0; }
.pp-gallery a:first-child { grid-column: 1 / -1; }
.pp-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; aspect-ratio: 4 / 3; display: block; }
.pp-gallery a:first-child img { aspect-ratio: 16 / 9; }
.pp-cover { width: 100%; max-height: 360px; object-fit: cover; border-radius: 16px; margin: 12px 0; }
.pp-videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px; }
.pp-videos iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; }
.post-page .post-section h2 { font-size: 20px; color: var(--navy); }
.pf-note { background: var(--soft); border-radius: 12px; padding: 10px 14px; font-size: 14px; max-width: 620px; margin: 10px auto; }
.priv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px 16px; text-align: left; margin: 0 0 18px; }
.priv-grid .priv-main { grid-column: 1 / -1; }
.priv-grid small { display: block; margin-left: 52px; }
.mon-cta { display: block; max-width: 760px; margin: 0 auto 24px; padding: 14px 18px; border-radius: 16px; background: linear-gradient(90deg, var(--green-soft), var(--sky-soft)); color: var(--ink); text-align: left; }
.danger-zone { padding-top: 0; }
.dz summary { cursor: pointer; font-weight: 700; color: #b3141c; }
.creator { max-width: 1100px; text-align: left; }
.creator .display { text-align: center; }
.mon-banner { background: var(--soft); border-radius: 18px; padding: 20px 22px; text-align: center; margin: 10px 0 18px; }
.mon-banner h2 { margin: 0 0 6px; color: var(--navy); }
.mon-banner.ok { background: var(--green-soft); } .mon-banner.warn { background: var(--gold-soft); }
.mon-progress { max-width: 760px; margin: 0 auto 20px; }
.mon-progress .prog.done .bar i { background: var(--green); }
.mon-rules { font-size: 14px; } .mon-rules li { margin: 6px 0; }
.rules summary { cursor: pointer; font-weight: 700; color: var(--navy); }
.apply-form { background: #fff; border: 1.5px solid var(--line); border-radius: 18px; padding: 20px 22px; margin: 0 0 20px; text-align: left; }
.apply-form h2 { margin-top: 0; color: var(--navy); } .apply-form h3 { margin: 18px 0 8px; font-size: 15px; color: var(--brand); }
.apply-form input[type=file] { padding: 8px; }

/* ===== v3.7: details form, map tools, live location, mobile layout ===== */
.det-fields { display: flex; flex-direction: column; gap: 10px; }
.det-fields select, .det-fields input { width: 100%; }
.dob-row { display: grid; grid-template-columns: 1fr 1.2fr 1.2fr; gap: 8px; }
.det-inline { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin-bottom: 10px; }
.det-inline .dob-row { grid-column: span 1; }
.pf-personal { color: var(--ink-2); font-weight: 600; margin: 4px 0 8px; }
.map-tools { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 2px auto 10px; padding: 0 12px; }
.chip-btn2 { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 14px; font: 700 13px var(--font); color: var(--ink-2); cursor: pointer; }
.chip-btn2:hover { border-color: var(--brand); color: var(--brand); }
.chip-btn2.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.live-btn { color: #c40f19; border-color: #f3c2c4; }
.live-banner { color: #e8141f; font-weight: 700; text-align: center; margin: 0 auto 8px; font-size: 14.5px; animation: livepulse 1.8s ease-in-out infinite; }
.live-banner b { color: #e8141f; } .live-banner .link { color: #e8141f; text-decoration: underline; font-weight: 800; }
@keyframes livepulse { 50% { opacity: .65; } }
.live-warn { background: #fdeceb; color: #8a0f15; border-radius: 12px; padding: 12px 14px; font-size: 13.5px; text-align: left; margin: 6px 0 14px; }
.live-pin { display: flex; flex-direction: column; align-items: center; cursor: pointer; filter: drop-shadow(0 3px 6px rgba(0,0,0,.3)); }
.live-label { background: #e8141f; color: #fff; font: 800 11px var(--font); padding: 3px 9px; border-radius: 999px; margin-bottom: 3px; white-space: nowrap; }
.live-body { position: relative; width: 44px; height: 57px; }
.live-head { position: absolute; left: 50%; top: 4px; transform: translateX(-50%); width: 24px; height: 24px; border-radius: 50%; overflow: hidden; border: 2px solid #fff; background: #fff; display: grid; place-items: center; font: 800 12px var(--font); color: #e8141f; }
.live-head img { width: 100%; height: 100%; object-fit: cover; }
.live-pin.is-me .live-label { background: #1a73e8; }
@media (max-width: 900px) {
  .row-actions, .post-actions, .pane-tools, .form-foot, .footer-auth, .a-act, .bk-row, .inline-form, .tfa-form, .sec-btns, .audit-sum, .subtabs, .seg, .kpis, .map-tools { justify-content: center; text-align: center; }
  .a-row { text-align: center; } .a-row .a-main { text-align: center; }
  .btn { max-width: 100%; }
  .sec-head { align-items: center; text-align: center; }
  .chart-card h3, .pane-h { text-align: center; justify-content: center; }
}
@media (max-width: 760px) {
  .header-tools { left: 8px; right: 8px; justify-content: space-between; pointer-events: none; }
  .header-tools > * { pointer-events: auto; }
  .header-tools .lang { order: -1; }
  .city-scroll { justify-content: flex-start; }
}

/* ===== v3.7: chat ===== */
.chat-app { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 0; max-width: 1200px; margin: 18px auto 40px; height: calc(100vh - var(--header-h) - 60px); min-height: 520px;
  border: 1.5px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; text-align: left; }
.chat-side { border-right: 1.5px solid var(--line); display: flex; flex-direction: column; min-height: 0; }
.chat-side-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 14px 10px; }
.chat-side-head h1 { font-size: 20px; margin: 0; color: var(--navy); }
.chat-find { padding: 0 12px 10px; display: flex; flex-direction: column; gap: 6px; }
.chat-find input, .chat-find textarea { width: 100%; }
.chat-threads { flex: 1; overflow: auto; padding: 4px 8px; }
.chat-tile { display: flex; align-items: center; gap: 10px; width: 100%; border: 0; background: none; padding: 9px 8px; border-radius: 12px; text-align: left; cursor: pointer; font: inherit; }
.chat-tile:hover { background: var(--soft); } .chat-tile.active { background: var(--navy-soft); }
.chat-tile.invite { flex-direction: column; align-items: stretch; background: var(--gold-soft); margin: 4px 0; }
.ct-txt { flex: 1; min-width: 0; } .ct-txt b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .ct-txt small { color: var(--muted); }
.avatar.grp { display: inline-grid; place-items: center; background: var(--navy-soft); }
.chat-blocks { padding: 8px 14px 12px; border-top: 1.5px solid var(--line); font-size: 13px; }
.chat-main { display: flex; flex-direction: column; min-height: 0; }
.chat-rules { background: var(--navy-soft); color: var(--navy); font-size: 12.5px; padding: 8px 14px; line-height: 1.5; }
.chat-empty { flex: 1; display: grid; place-content: center; text-align: center; color: var(--muted); }
.chat-thread { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.chat-thread[hidden] { display: none; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1.5px solid var(--line); }
.chat-head [data-title] { flex: 1; display: flex; align-items: center; gap: 8px; min-width: 0; }
.chat-back { display: none; font-size: 26px; text-decoration: none; }
.chat-menu { display: flex; gap: 6px; }
.chat-msgs { flex: 1; overflow: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; background: #fafbfd; user-select: none; -webkit-user-select: none; }
.msg { max-width: 75%; display: flex; flex-direction: column; }
.msg.me { align-self: flex-end; align-items: flex-end; } .msg.them { align-self: flex-start; }
.msg-b { padding: 9px 13px; border-radius: 16px; background: #fff; border: 1px solid var(--line); font-size: 14.5px; line-height: 1.45; word-break: break-word; }
.msg.me .msg-b { background: var(--navy); color: #fff; border-color: var(--navy); }
.msg-who { font-size: 11.5px; color: var(--muted); margin: 0 6px 2px; }
.msg-meta { font-size: 11px; color: var(--muted); margin: 2px 6px 0; }
.msg-meta .link { font-size: 11px; }
.chat-compose { display: flex; gap: 8px; padding: 10px 12px; border-top: 1.5px solid var(--line); }
.chat-compose textarea { flex: 1; resize: none; border-radius: 14px; padding: 10px 12px; }
.chat-app.veiled .chat-msgs { filter: blur(9px); }
@media print { .chat-app { display: none !important; } }
@media (max-width: 760px) {
  .chat-app { grid-template-columns: 1fr; margin: 0; border-radius: 0; height: calc(100vh - var(--header-h)); border-left: 0; border-right: 0; }
  .chat-app.in-thread .chat-side { display: none; } .chat-app:not(.in-thread) .chat-main { display: none; }
  .chat-back { display: inline; }
  .msg { max-width: 88%; }
}
.live-you { margin-top: 2px; background: #fff; color: #e8141f; font: 800 10.5px var(--font); padding: 2px 8px; border-radius: 999px; box-shadow: 0 1px 4px rgba(0,0,0,.2); white-space: nowrap; }

/* ===== v3.8: bell, notifications, consent, share, report, protection, menu editor, Show Thumb ===== */
.bell { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; font-size: 18px; text-decoration: none; margin-right: 6px; }
.bell .badge { position: absolute; top: -4px; right: -6px; background: #e8141f; color: #fff; border-radius: 99px; font: 800 10.5px var(--font); padding: 2px 6px; min-width: 18px; text-align: center; }
.chip-menu .badge, .user-chip .badge { background: #e8141f; color: #fff; border-radius: 99px; font-size: 11px; padding: 1px 7px; }
.notif-page { max-width: 820px; text-align: left; }
.notif-tools { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; margin: 0 0 12px; }
.n-item { display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: start; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; margin-bottom: 8px; }
.n-item.unread { border-color: var(--brand); background: var(--brand-soft); }
.n-item b { display: block; } .n-item p { margin: 3px 0; font-size: 14px; color: var(--ink-2); } .n-item small { color: var(--muted); font-size: 12px; }
.n-ic { font-size: 18px; } .n-act { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.n-issues .audit-row { grid-template-columns: 28px 1fr auto; }
.consent { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 9000; display: flex; justify-content: center; pointer-events: none; }
.consent-in { pointer-events: auto; max-width: 760px; background: #fff; border: 1.5px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 16px 18px; text-align: left; font-size: 14px; }
.consent-in p { margin: 0 0 10px; } .consent-opts { display: flex; flex-direction: column; gap: 6px; margin: 0 0 10px; }
.consent .row-actions { justify-content: flex-end; margin: 0; }
.footer-legal a { color: inherit; opacity: .8; }
.share-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0; }
.share-grid a { display: block; padding: 10px 6px; border-radius: 12px; background: var(--c); color: #fff; font-weight: 700; font-size: 13.5px; text-decoration: none; }
.share-copy { display: flex; gap: 8px; } .share-copy input { flex: 1; min-width: 0; font-size: 13px; }
.btn-report { color: #b3141c; } .link.btn-report { font-size: 13px; }
.vt-btn { margin-top: 6px; width: 100%; border: 1.5px dashed var(--line); background: #fff; border-radius: 10px; padding: 6px; font: 700 12px var(--font); color: var(--ink-2); cursor: pointer; }
.vt-btn.on { border-style: solid; border-color: #e8141f; background: #fdeceb; color: #b3141c; }
.menu-editor { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.menu-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 8px 10px; }
.menu-row.sub { margin-left: 34px; border-style: dashed; } .menu-row.is-hidden { opacity: .55; }
.menu-row input[data-f="label"] { width: 170px; } .menu-row .mlink { flex: 1; min-width: 180px; }
.menu-row .mv { display: inline-flex; flex-direction: column; } .menu-row .mv button { border: 0; background: none; cursor: pointer; line-height: 1; padding: 1px 4px; color: var(--muted); }
.menu-preview { font-size: 13px; color: var(--ink-2); padding: 6px 2px; } .menu-preview span { font-weight: 700; }
/* content protection */
body.protect img, body.protect video, body.protect .pf-gallery, body.protect .pp-gallery { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
body.protect .post-desc, body.protect .pf-bio, body.protect .cm-body { -webkit-user-select: text; }
.shot-shield { position: fixed; inset: 0; z-index: 2147483000; background: #000; color: #fff; display: none; place-items: center; font: 800 18px var(--font); text-align: center; padding: 20px; }
.shot-shield.on { display: grid; }
@media print { body.protect > *:not(.print-block) { display: none !important; } body.protect::before { content: "Printing is not allowed on Taste My Trip."; display: block; font: 700 20px sans-serif; padding: 40px; text-align: center; } }
@media (max-width: 760px) { .bell { width: 36px; height: 36px; font-size: 16px; } .n-item { grid-template-columns: 26px 1fr; } .n-item .n-act { grid-column: 1 / -1; justify-content: flex-start; } .share-grid { grid-template-columns: repeat(2, 1fr); } }
.adm .menu-row { display: grid; grid-template-columns: 26px minmax(120px, 180px) minmax(160px, 1fr) auto auto auto auto; gap: 8px; align-items: center; }
.adm .menu-row input:not([type=checkbox]) { width: 100%; text-align: left; padding: 8px 10px; border-radius: 10px; margin: 0; }
.adm .menu-row .check { display: inline-flex; gap: 4px; align-items: center; white-space: nowrap; margin: 0; }
.adm .menu-row .mlink.muted { padding: 0 6px; }
@media (max-width: 900px) { .adm .menu-row { grid-template-columns: 26px 1fr; } .adm .menu-row > :nth-child(n+3) { grid-column: 2; } }

/* v3.8.1 — inside the Taste My Trip Android app: no in-app purchase buttons (Google Play Billing rules), no Google web sign-in */
body.in-app a[href*="subscribe.php"], body.in-app .g-wrap, body.in-app [data-gonly] { display: none !important; }

/* ===================== v3.9 ===================== */
/* Mobile header: logo as big as the footer logo; bell sits between the logo and the profile picture (never on the logo) */
@media (max-width: 760px) {
  .brand img { height: 96px; }
  .header-tools { top: 40px; justify-content: flex-start; }
  .header-tools .bell { margin-left: auto; margin-right: 4px; }
  .header-tools .user-chip { margin-left: 0; }
  body.guest .header-tools .lang + * { margin-left: auto; }
}
@media (max-width: 380px) { .brand img { height: 84px; } .header-tools { top: 34px; } }
.chip-menu .acct-list { display: grid; gap: 2px; padding: 6px 4px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.chip-menu .acct-list > small { padding: 0 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: 10.5px; }
.chip-menu .acct-item { display: flex; align-items: center; gap: 9px; text-align: left; }
.chip-menu .acct-item .avatar { width: 28px; height: 28px; font-size: 13px; flex: none; }
.chip-menu .acct-item span { display: grid; line-height: 1.15; } .chip-menu .acct-item small { color: var(--muted); font-weight: 500; }

/* corner pop-ups for new notifications / messages */
.n-pops { position: fixed; left: 16px; bottom: 16px; z-index: 9000; display: grid; gap: 8px; width: min(340px, calc(100vw - 32px)); pointer-events: none; }
.n-pop { pointer-events: auto; position: relative; display: grid; gap: 2px; background: #fff; color: var(--ink); text-decoration: none; border: 1.5px solid var(--line); border-left: 5px solid var(--brand); border-radius: 14px; padding: 11px 34px 11px 14px; box-shadow: 0 12px 34px rgba(11,44,99,.18); animation: npIn .28s ease-out; transition: opacity .5s, transform .5s; }
.n-pop b { font-size: 14px; color: var(--navy); } .n-pop span { font-size: 13px; color: var(--muted); }
.n-pop button { position: absolute; top: 6px; right: 6px; border: 0; background: none; font-size: 13px; color: var(--muted); cursor: pointer; }
.n-pop.out { opacity: 0; transform: translateX(-20px); }
@keyframes npIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) { .n-pops { left: 50%; transform: translateX(-50%); top: 10px; bottom: auto; } }

/* floating chat button + chat box (bottom right) */
.chat-fab { position: fixed; right: 18px; bottom: 18px; z-index: 45; width: 58px; height: 58px; border-radius: 50%; border: 0; background: linear-gradient(135deg, var(--brand), #ff8a3d); color: #fff; font-size: 26px; box-shadow: 0 10px 26px rgba(242,96,12,.45); cursor: pointer; transition: transform .2s; }
.chat-fab:hover { transform: scale(1.06); } .chat-fab.open { background: var(--navy); box-shadow: 0 10px 26px rgba(11,44,99,.4); }
.chat-fab .badge { position: absolute; top: -2px; right: -2px; background: #e8141f; color: #fff; border-radius: 99px; font: 800 11px var(--font); padding: 3px 7px; border: 2px solid #fff; }
.chat-dock { position: fixed; right: 18px; bottom: 88px; z-index: 45; width: min(760px, calc(100vw - 36px)); height: min(620px, calc(100vh - 200px)); background: #fff; border-radius: 18px; box-shadow: 0 24px 60px rgba(11,44,99,.28); border: 1.5px solid var(--line); display: flex; flex-direction: column; overflow: hidden; }
.chat-dock[hidden] { display: none; }
.chat-dock-bar { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; background: var(--navy); color: #fff; }
.chat-dock-bar a, .chat-dock-bar button { color: #fff; background: none; border: 0; font-size: 16px; margin-left: 10px; text-decoration: none; cursor: pointer; }
.chat-dock iframe { flex: 1; width: 100%; border: 0; }
@media (max-width: 760px) { .chat-dock { right: 0; bottom: 0; width: 100vw; height: 100dvh; border-radius: 0; z-index: 8500; } body.dock-open .chat-fab { display: none; } }
body.page-chat .chat-fab { display: none; }

/* chat inside the floating box */
body.bare { background: #fff; } body.bare main { padding: 0; }
body.bare .chat-app { margin: 0; height: 100vh; min-height: 0; border: 0; border-radius: 0; max-width: none; grid-template-columns: 250px minmax(0, 1fr); }
body.bare .chat-side-head h1 { font-size: 17px; }
body.bare .chat-rules { font-size: 11.5px; padding: 6px 10px; }
@media (min-width: 561px) { body.bare .chat-app:not(.in-thread) .chat-main { display: flex; } body.bare .chat-app.in-thread .chat-side { display: flex; } body.bare .chat-back { display: none; } }
@media (max-width: 560px) { body.bare .chat-app { grid-template-columns: 1fr; height: calc(100dvh - 40px); } }

/* availability + friends */
.pdot { display: inline-block; width: 11px; height: 11px; border-radius: 50%; background: #9aa5b8; border: 2px solid #fff; flex: none; }
.pdot.p-online { background: #22b14c; } .pdot.p-busy { background: #e8141f; } .pdot.p-away { background: #f2a51f; } .pdot.p-offline { background: #9aa5b8; }
.av-wrap { position: relative; display: inline-flex; flex: none; } .av-wrap .pdot { position: absolute; right: -2px; bottom: -2px; }
.chat-me { display: flex; align-items: center; gap: 8px; margin: 0 12px 8px; padding: 6px 10px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--soft); }
.chat-me select { border: 0; background: transparent; font-weight: 700; color: var(--navy); flex: 1; padding: 2px; }
.chat-friends { margin: 0 12px 8px; border: 1.5px solid var(--line); border-radius: 12px; padding: 6px 8px; }
.chat-friends summary { font-weight: 800; color: var(--navy); cursor: pointer; display: flex; align-items: center; gap: 6px; }
.chat-friends summary .badge { background: #e8141f; color: #fff; border-radius: 99px; font-size: 10.5px; padding: 1px 6px; }
[data-friends] { max-height: 230px; overflow: auto; margin-top: 6px; display: grid; gap: 2px; }
.fr-tile { display: flex; align-items: center; gap: 9px; padding: 5px 6px; border-radius: 10px; text-align: left; }
.fr-tile .ct-txt { display: grid; line-height: 1.15; flex: 1; min-width: 0; } .fr-tile .ct-txt b { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .fr-tile small { color: var(--muted); font-size: 11.5px; }
.fr-btn { border: 0; background: none; padding: 0; width: 100%; cursor: pointer; } .fr-btn:hover .fr-tile { background: var(--brand-soft); }
.fr-act { display: flex; gap: 4px; align-items: center; } .btn-xs { padding: 3px 8px; font-size: 11.5px; border-radius: 8px; }
.fr-sec > small { display: block; font-weight: 800; font-size: 10.5px; text-transform: uppercase; color: var(--muted); margin: 6px 6px 2px; }
.fr-add { display: flex; gap: 6px; margin-top: 6px; } .fr-add input { flex: 1; min-width: 0; padding: 6px 10px; font-size: 13px; }

/* account: notifications & phone */
.alert-grid { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 6px 0 10px; justify-content: center; }
.phone-verify { margin-top: 14px; text-align: left; } .phone-verify > span { display: block; font-weight: 700; margin-bottom: 6px; }
.pv-row { display: flex; gap: 8px; margin-bottom: 6px; } .pv-row input { flex: 1; min-width: 0; }
.pv-ok { color: var(--green); font-weight: 700; }

/* admin: logo + SEO preview */
.logo-edit { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; padding: 12px; border: 1.5px dashed var(--line); border-radius: 14px; }
.logo-edit img { height: 96px; width: auto; max-width: 220px; object-fit: contain; background: repeating-conic-gradient(#f2f4f8 0 25%, #fff 0 50%) 0 0 / 16px 16px; border-radius: 10px; padding: 6px; }
.logo-edit > div { flex: 1; min-width: 220px; }
.seo-preview { margin-top: 10px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; text-align: left; font-family: arial, sans-serif; }
.seo-preview .sp-url { color: #202124; font-size: 13px; margin-top: 4px; } .seo-preview .sp-title { color: #1a0dab; font-size: 19px; line-height: 1.3; margin: 2px 0; } .seo-preview .sp-desc { color: #4d5156; font-size: 13.5px; line-height: 1.45; margin-bottom: 6px; }
.seo-preview .ok-t { color: var(--green); } .seo-preview .warn-t { color: #c26a00; }
body.bare .consent, body.bare .promo-bar, body.bare .n-pops, body.bare .notice-bar { display: none !important; }

/* ===================== v3.10 ===================== */
/* front-page invitation: Join free + Log in for visitors */
.promo-btns { display: flex; gap: 6px; flex: none; }
.promo-btn.promo-login { background: var(--navy); } .promo-btn.promo-login:hover { background: #0a2350; }

/* home: map left · posts right on big screens */
.home-split { display: block; }
.list-col { padding: 22px 16px 60px; max-width: 1360px; margin: 0 auto; }
@media (min-width: 1100px) {
  .home-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; padding: 0 16px; align-items: start; }
  .home-split .map-col { position: sticky; top: calc(var(--header-h) + 10px); border-radius: 18px; overflow: hidden; outline: 1px solid var(--line); }
  .home-split .main-map { height: calc(100vh - var(--header-h) - 24px); min-height: 480px; }
  .home-split .list-col { padding: 0 0 50px; max-width: none; margin: 0; }
  .home-split .list-col .cards { grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 12px; }
  .home-split .list-col .card-body { padding: 8px 10px 11px; }
  .home-split .list-col .card-title { font-size: 14px; }
  .home-split .list-col .card-body p, .home-split .list-col .card-meta { font-size: 12px; }
  .home-split .list-col .search-row { margin-top: 0; }
  html.home-nomap .home-split { grid-template-columns: 1fr; }
  html.home-nomap .home-split .list-col .cards { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
}
html.home-nomap .map-col { display: none; }
/* Recent Posts mode (stays until Back is pressed) */
.recent { display: none; padding: 6px 16px 50px; max-width: 1500px; margin: 0 auto; }
html.home-recent .recent { display: block; }
html.home-recent .home-split, html.home-recent .city-bar, html.home-recent [data-youare], html.home-recent .home-map-only, html.home-recent [data-live-banner] { display: none !important; }
.recent-btn.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.recent-h { font-family: var(--display); color: var(--navy); font-size: 26px; text-align: center; margin: 4px 0 14px; }
.recent-list { display: grid; gap: 16px; }
.rp-card { display: grid; grid-template-columns: 0.8fr 1fr 1.25fr 1.25fr 1.1fr; gap: 10px; background: #fff; border: 1.5px solid var(--line); border-radius: 20px; padding: 10px; box-shadow: var(--shadow); text-align: left; }
.rp-sec { position: relative; height: 230px; border-radius: 14px; overflow: hidden; background: var(--soft); }
.rp-stage { display: block; height: 100%; color: inherit; text-decoration: none; }
.rp-slide { display: none; height: 100%; position: relative; } .rp-slide.on { display: block; animation: rpIn .25s ease; }
@keyframes rpIn { from { opacity: .3; } to { opacity: 1; } }
.rp-slide > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rp-photo .rp-slide > img.logo { object-fit: contain; padding: 18px; background: #fff; }
.rp-letter { display: grid; place-items: center; height: 100%; font: 800 64px var(--display); color: #fff; background: linear-gradient(135deg, var(--brand), var(--navy)); }
.rp-prof, .rp-det { padding: 14px 16px; height: 100%; overflow: auto; font-size: 13.5px; color: var(--ink-2); }
.rp-prof b, .rp-det b { display: block; font-size: 16px; color: var(--navy); margin-bottom: 2px; }
.rp-prof > small { color: var(--muted); } .rp-prof dl { display: grid; grid-template-columns: auto 1fr; gap: 3px 10px; margin: 10px 0 0; } .rp-prof dt { color: var(--muted); font-weight: 600; } .rp-prof dd { margin: 0; font-weight: 700; color: var(--ink); }
.rp-prof p, .rp-det p { margin: 6px 0 0; white-space: pre-line; } .rp-prof ul, .rp-det ul { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 4px; }
.rp-det small { display: block; margin-top: 8px; color: var(--brand); font-weight: 700; }
.rp-meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; background: linear-gradient(transparent, rgba(0,0,0,.78)); color: #fff; display: grid; gap: 1px; font-size: 12px; }
.rp-meta b { font-size: 15px; line-height: 1.25; } .rp-meta .rp-tags { color: #ffd4b8; }
.rp-vid { position: relative; height: 100%; background: #000; } .rp-vid img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.rp-vid iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.rp-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 54px; height: 54px; border-radius: 50%; background: rgba(232,20,31,.92); color: #fff; display: grid; place-items: center; font-size: 22px; box-shadow: 0 6px 18px rgba(0,0,0,.4); }
.rp-ext { display: grid; place-items: center; color: #fff; } .rp-ext small { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; }
.rp-novid { display: grid; place-items: center; align-content: center; height: 100%; font-size: 40px; color: var(--muted); } .rp-novid small { font-size: 13px; }
.rp-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--navy); font-size: 22px; line-height: 1; font-weight: 800; box-shadow: 0 3px 10px rgba(0,0,0,.2); cursor: pointer; z-index: 2; }
.rp-nav.prev { left: 6px; } .rp-nav.next { right: 6px; }
.rp-count { position: absolute; top: 8px; right: 8px; background: rgba(11,44,99,.8); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 99px; z-index: 2; }
.rp-info .rp-nav, .rp-text .rp-nav { top: auto; bottom: 8px; transform: none; }
@media (max-width: 1200px) { .rp-card { grid-template-columns: repeat(3, minmax(0, 1fr)); } .rp-text { grid-column: span 3; } .rp-vids { grid-column: span 1; } }
@media (max-width: 760px) { .rp-card { grid-template-columns: 1fr 1fr; } .rp-pics, .rp-vids, .rp-text { grid-column: span 2; } .rp-sec { height: 210px; } .rp-pics { height: 260px; } }

/* submit form: categories below the map (choose several) + topics */
.below-map { margin-top: 4px; }
.multi-dd { position: relative; }
.multi-dd summary { list-style: none; cursor: pointer; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 34px 11px 12px; background: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: left; }
.multi-dd summary::after { content: '▾'; position: absolute; right: 12px; top: 11px; color: var(--muted); } .multi-dd summary::-webkit-details-marker { display: none; }
.multi-list { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 4px); background: #fff; border: 1.5px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 6px; max-height: 260px; overflow: auto; display: grid; gap: 2px; text-align: left; }
.multi-list .check { padding: 6px 8px; border-radius: 8px; margin: 0; } .multi-list .check:hover { background: var(--soft); }
.topics-edit { display: grid; gap: 10px; margin-bottom: 8px; }
.topic-row { border: 1.5px solid var(--line); border-radius: 14px; padding: 10px; background: var(--soft); display: grid; gap: 8px; }
.topic-head { display: flex; gap: 8px; } .topic-head input { flex: 1; min-width: 0; font-weight: 700; }
.post-section.topic h2, .post-section.topic h3 { margin-bottom: 6px; }

/* member dashboard */
.dash .adm-side .dash-link { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 11px; font: 600 14.5px var(--font); color: var(--ink-2); text-decoration: none; }
.dash .adm-side .dash-link:hover { background: var(--soft); }
.dash .adm-side .dash-link .ic { width: 22px; text-align: center; }
.dash-hero { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.dash-hero .avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; font-size: 28px; flex: none; }
.dash-hero .pane-h { margin: 0; } .dash-hero > div:nth-child(2) { flex: 1; min-width: 200px; }
.dash-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.dash .admin-stats div { padding: 10px 16px; min-width: 120px; }
.dash .tab-pane > .sec-card, .dash .tab-pane .profile-form, .dash .tab-pane .my-list, .dash .tab-pane .row-actions { max-width: none; margin-left: 0; margin-right: 0; }
.dash .tab-pane .row-actions { justify-content: flex-start; }
.dash-chart .bars { display: flex; align-items: flex-end; gap: 3px; height: 150px; padding: 6px 0; }
.dash-chart .bars span { flex: 1; background: linear-gradient(var(--brand), #ff9a5c); border-radius: 4px 4px 0 0; min-height: 2px; }
.dash-chart .bars-x { display: flex; justify-content: space-between; color: var(--muted); }
.best-row { display: flex; gap: 10px; align-items: center; padding: 6px; border-radius: 12px; text-decoration: none; color: inherit; }
.best-row:hover { background: var(--soft); } .best-row img { width: 54px; height: 42px; object-fit: cover; border-radius: 8px; flex: none; }
.best-row span { display: grid; min-width: 0; } .best-row b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .best-row small { color: var(--muted); }
.preview-bar { position: sticky; top: var(--header-h); z-index: 40; background: var(--navy); color: #fff; text-align: center; padding: 9px 14px; font-size: 14px; }
.preview-bar a { color: #ffd4b8; font-weight: 700; margin: 0 4px; }
.seo-steps { padding-left: 20px; text-align: left; line-height: 1.55; } .seo-steps li { margin-bottom: 4px; }

/* ===================== v3.11 ===================== */
/* home tools row: 📍 Nearby · 📡 Live Location Share · 🙈 Hide map · 🕒 Recent Posts — then "You are now at …" */
.map-tools { margin: 10px auto 6px; }
.chip-btn2.nearby-btn.active { background: var(--brand); color: #fff; border-color: var(--brand); }
.map-tools + .you-are-sm { border: 0; background: transparent; padding: 0 12px 10px; }
/* search radius ‹ 3 km › */
.rad-ctl { display: inline-flex; align-items: center; gap: 2px; border: 1.5px solid var(--brand); border-radius: 999px; background: var(--card); padding: 2px; vertical-align: middle; }
.rad-ctl button { width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--brand-soft); color: var(--brand); font: 800 20px/1 var(--font); cursor: pointer; }
.rad-ctl button:hover:not(:disabled) { background: var(--brand); color: #fff; }
.rad-ctl button:disabled { opacity: .35; cursor: default; }
.rad-ctl b { min-width: 54px; text-align: center; font-size: 14px; color: var(--ink); }
.radius-bar { display: none; }
@media (max-width: 1099px) {
  .radius-bar:not([hidden]) { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 8px 12px; background: var(--card); border-bottom: 1px solid var(--line); }
  .radius-bar small { color: var(--muted); font-weight: 700; }
  [data-active] .rad-ctl { display: none; }   /* on phones the control sits under the map instead */
}
/* dashboard: dark mode switch */
.dash-theme { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 11px; font: 600 14.5px var(--font); color: var(--ink-2); cursor: pointer; margin-top: 6px; border-top: 1px solid var(--line); }
.dash-theme .ic { width: 22px; text-align: center; } .dash-theme .lb { flex: 1; }
.switch.mini span { width: 36px; height: 21px; } .switch.mini span::after { width: 15px; height: 15px; }
.switch.mini input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch.mini input:checked + span { background: var(--brand); } .switch.mini input:checked + span::after { transform: translateX(15px); }
