/* FIX web app — follows the iOS app's look (system grouped background, white cards, green/blue pills). */
:root {
  --job: #34C66F; --job-dark: #26A95A; --give: #2F80ED; --orange: #F2994A; --dark: #4F4F4F;
  --red: #EB5757; --gray: #8D919C;
  --bg: #F2F2F7; --card: #FFFFFF; --field: #F2F2F7; --text: #111111; --text2: #6B6F78; --text3: #A3A6AD;
  --line: rgba(60, 60, 67, .18); --bar: rgba(249, 249, 251, .92); --shadow: 0 3px 10px rgba(0, 0, 0, .05);
  --col: 680px; --radius: 16px;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #000000; --card: #1C1C1E; --field: #2C2C2E; --text: #F5F5F7; --text2: #A1A1A8; --text3: #6E6E75;
  --line: rgba(84, 84, 88, .6); --bar: rgba(22, 22, 24, .92); --shadow: none; color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #000000; --card: #1C1C1E; --field: #2C2C2E; --text: #F5F5F7; --text2: #A1A1A8; --text3: #6E6E75;
    --line: rgba(84, 84, 88, .6); --bar: rgba(22, 22, 24, .92); --shadow: none; color-scheme: dark;
  }
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.4; -webkit-font-smoothing: antialiased;
}
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.ic { flex: none; display: block; }

#app { max-width: var(--col); margin: 0 auto; min-height: 100%; display: flex; flex-direction: column; }
#view { flex: 1; display: flex; flex-direction: column; padding-bottom: 96px; }
body.no-tabs #view { padding-bottom: 24px; }
body.has-bottom-bar #view { padding-bottom: 120px; }

/* ---------- Top bars ---------- */
.navbar {
  position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: 64px 1fr 64px; align-items: center;
  height: 52px; padding: 0 8px; background: var(--bar); backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px); border-bottom: .5px solid var(--line);
}
.navbar h1 { font-size: 17px; font-weight: 600; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.navbar .left { justify-self: start; } .navbar .right { justify-self: end; }
.nav-btn { display: inline-flex; align-items: center; gap: 2px; color: var(--job); font-size: 17px; padding: 8px; border-radius: 10px; }
.nav-btn:hover { background: rgba(52, 198, 111, .08); }
.page-title { font-size: 30px; font-weight: 800; letter-spacing: -.02em; padding: 18px 16px 4px; }
.page-title-row { display: flex; align-items: baseline; gap: 10px; padding: 18px 16px 4px; }
.page-title-row .page-title { padding: 0; }

/* ---------- Feed header ---------- */
.feed-head { padding: 14px 16px 4px; display: grid; gap: 12px; }
.feed-top { display: flex; align-items: center; gap: 12px; min-height: 50px; }
.feed-top .region { font-size: 17px; font-weight: 700; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed-top .me { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 17px; }
.pills { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pill {
  display: flex; padding: 4px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); position: relative;
}
.pill button {
  flex: 1; min-height: 36px; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--text2);
  transition: background .2s, color .2s; white-space: nowrap; padding: 0 10px;
}
.pill button.on { color: #fff; }
.login-strip { display: flex; justify-content: flex-end; padding: 12px 16px 0; }
.btn-outline {
  border: 1px solid var(--give); color: var(--give); border-radius: 8px; padding: 7px 12px; font-weight: 600; font-size: 16px;
}

/* ---------- Cards ---------- */
.list { display: grid; gap: 16px; padding: 16px; }
.card {
  background: var(--card); border-radius: var(--radius); border: .5px solid var(--line); box-shadow: var(--shadow);
  overflow: hidden;
}
button.card, a.card { display: block; width: 100%; text-align: left; transition: transform .12s; }
a.card.card-body { display: grid; }
button.card:active, a.card:active { transform: scale(.985); }
.card-body { padding: 16px; display: grid; gap: 12px; }
.card-img { height: 170px; background: var(--field) center/cover no-repeat; position: relative; }
.img-count {
  position: absolute; top: 10px; right: 10px; display: inline-flex; gap: 4px; align-items: center; color: #fff;
  background: rgba(0, 0, 0, .55); border-radius: 999px; padding: 4px 8px; font-size: 12px; font-weight: 600;
}
.poster { display: flex; align-items: center; gap: 10px; }
.poster .who { flex: 1; min-width: 0; }
.poster .name { font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.muted { color: var(--text2); } .small { font-size: 13px; } .xs { font-size: 12px; }
.type-label { font-size: 11px; font-weight: 700; letter-spacing: .05em; }
.job-title { font-size: 19px; font-weight: 700; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.job-desc { font-size: 14px; color: var(--text2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--text2); font-size: 13px; }
.meta span { display: inline-flex; align-items: center; gap: 5px; }
.chip { display: inline-block; font-weight: 700; font-size: 14px; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.avatar {
  flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 600; overflow: hidden;
  background-size: cover; background-position: center;
}
.divider { height: .5px; background: var(--line); }

/* ---------- Empty / loading ---------- */
.center { flex: 1; display: grid; place-items: center; padding: 32px 20px; }
.empty-card {
  background: var(--card); border-radius: 22px; padding: 28px 20px 16px; width: min(100%, 440px); text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .08);
}
.empty-card h2 { font-size: 22px; font-weight: 800; }
.empty-card .lottie { height: 220px; }
.empty { text-align: center; display: grid; gap: 10px; justify-items: center; max-width: 340px; }
.empty .big-ic { color: var(--text3); }
.empty h2 { font-size: 20px; font-weight: 700; }
.empty p { color: var(--text2); font-size: 15px; }
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--text2); animation: spin .8s linear infinite; }
.spinner.white { border-color: rgba(255, 255, 255, .35); border-top-color: #fff; width: 20px; height: 20px; border-width: 2.5px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 20px;
  border-radius: 16px; background: var(--job); color: #fff; font-weight: 600; font-size: 17px; width: 100%;
  transition: opacity .15s, background .15s;
}
.btn:hover { background: var(--job-dark); }
.btn:disabled { opacity: .45; cursor: default; }
.btn.blue { background: var(--give); } .btn.red { background: var(--red); } .btn.gray { background: var(--field); color: var(--text); }
.btn.small { min-height: 40px; font-size: 15px; border-radius: 12px; width: auto; padding: 0 16px; }
.btn.ghost { background: transparent; color: var(--job); }
.btn.ghost:hover { background: rgba(52, 198, 111, .08); }
.link { color: var(--job); font-weight: 600; }
.bottom-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; background: var(--bar); border-top: .5px solid var(--line);
  backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
}
.bottom-bar .inner { max-width: calc(var(--col) - 32px); margin: 0 auto; display: grid; gap: 8px; }
.bottom-bar .note { text-align: center; font-size: 12px; color: var(--text2); display: flex; gap: 5px; justify-content: center; align-items: center; }
.btn-row { display: flex; gap: 12px; }

/* ---------- Tab bar ---------- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--bar); border-top: .5px solid var(--line);
  backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
  padding: 8px 8px calc(4px + env(safe-area-inset-bottom));
}
.tabbar .inner { max-width: var(--col); margin: 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; }
.tab { display: grid; justify-items: center; gap: 4px; color: var(--text2); font-size: 11px; font-weight: 500; padding-bottom: 2px; }
.tab .ind { width: 56px; height: 32px; display: grid; place-items: center; border-radius: 999px; position: relative; transition: background .25s; }
.tab.on { color: var(--job); font-weight: 600; }
.tab.on .ind { background: rgba(52, 198, 111, .15); }
.badge {
  position: absolute; top: -2px; right: 6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: #FF3B30; color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center;
}
.post-btn {
  justify-self: center; width: 58px; height: 58px; border-radius: 50%; background: var(--job); color: #fff;
  display: grid; place-items: center; transform: translateY(-12px); box-shadow: 0 4px 12px rgba(52, 198, 111, .45);
  transition: transform .15s;
}
.post-btn:hover { transform: translateY(-13px) scale(1.04); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; padding: 16px; }
.section { background: var(--card); border-radius: var(--radius); padding: 16px; display: grid; gap: 14px; border: .5px solid var(--line); }
.section-title { font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--text2); text-transform: uppercase; }
.field { display: grid; gap: 6px; }
.field > label { font-size: 14px; font-weight: 600; }
.input {
  width: 100%; background: var(--field); border: 1px solid transparent; border-radius: 12px; padding: 13px 14px;
  font-size: 16px; outline: none; transition: border .15s;
}
.input:focus { border-color: var(--job); }
.input.err { border-color: var(--red); }
textarea.input { min-height: 120px; resize: vertical; line-height: 1.45; }
.input-suffix { display: flex; align-items: center; background: var(--field); border-radius: 12px; border: 1px solid transparent; padding-right: 14px; }
.input-suffix:focus-within { border-color: var(--job); }
.input-suffix.err { border-color: var(--red); }
.input-suffix .input { border: 0; background: transparent; }
.error { color: var(--red); font-size: 13px; display: flex; gap: 5px; align-items: center; }
.count { font-size: 12px; color: var(--text3); text-align: right; margin-top: -8px; }
.row-btn { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; }
.row-btn .grow { flex: 1; min-width: 0; }
.date-row { display: flex; align-items: center; gap: 10px; }
.date-row .grow { flex: 1; font-weight: 500; }
.date-row input { background: var(--field); border: 0; border-radius: 8px; padding: 7px 10px; font-size: 15px; color: var(--job); font-weight: 600; }
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.photo-grid .ph { aspect-ratio: 1; border-radius: 12px; background: var(--field) center/cover; position: relative; }
.photo-grid .ph button {
  position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border-radius: 50%; background: rgba(0, 0, 0, .6);
  color: #fff; display: grid; place-items: center;
}
.photo-add {
  aspect-ratio: 1; border-radius: 12px; border: 1.5px dashed var(--give); color: var(--give); display: grid; place-items: center;
  align-content: center; gap: 6px; font-size: 13px; font-weight: 600; cursor: pointer;
}
.checkbox { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--text2); cursor: pointer; }
.checkbox input { width: 20px; height: 20px; accent-color: var(--job); margin-top: 1px; flex: none; }

/* ---------- Auth ---------- */
.auth { padding: 28px 20px; display: grid; gap: 28px; max-width: 460px; width: 100%; margin: 0 auto; }
.auth-head { display: grid; gap: 8px; }
.auth-head .logo { width: 64px; height: 64px; border-radius: 16px; margin-bottom: 8px; }
.auth-head .hic { width: 60px; height: 60px; border-radius: 16px; background: rgba(52, 198, 111, .14); color: var(--job); display: grid; place-items: center; margin-bottom: 6px; }
.auth-head h1 { font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.auth-head p { color: var(--text2); font-size: 16px; }
.banner { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; font-size: 14px; }
.banner.err { background: rgba(235, 87, 87, .12); color: var(--red); }
.banner.ok { background: rgba(52, 198, 111, .12); color: var(--job-dark); }
.banner.warn { background: rgba(242, 153, 74, .14); color: #B86A1F; }
.or { display: flex; align-items: center; gap: 10px; color: var(--text2); font-size: 14px; }
.or::before, .or::after { content: ""; flex: 1; height: .5px; background: var(--line); }
.steps { display: grid; gap: 10px; }
.steps div { display: flex; gap: 12px; align-items: flex-start; }
.steps b { width: 26px; height: 26px; border-radius: 50%; background: var(--job); color: #fff; font-size: 13px; display: grid; place-items: center; flex: none; }

/* ---------- Settings lists ---------- */
.group { padding: 0 16px; margin-top: 22px; }
.group-title { font-size: 13px; color: var(--text2); text-transform: uppercase; letter-spacing: .03em; padding: 0 16px 6px; }
.group-foot { font-size: 13px; color: var(--text2); padding: 6px 16px 0; }
.rows { background: var(--card); border-radius: 12px; overflow: hidden; border: .5px solid var(--line); }
.srow { display: flex; align-items: center; gap: 14px; padding: 11px 16px; width: 100%; text-align: left; min-height: 48px; position: relative; }
.srow + .srow::before { content: ""; position: absolute; top: 0; left: 60px; right: 0; height: .5px; background: var(--line); }
button.srow:hover, a.srow:hover { background: rgba(127, 127, 127, .06); }
.srow .sic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: #fff; flex: none; }
.srow .grow { flex: 1; min-width: 0; }
.srow .val { color: var(--text2); font-size: 15px; max-width: 50%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.srow .chev { color: var(--text3); }
.srow select { background: transparent; border: 0; color: var(--text2); font-size: 15px; cursor: pointer; }
.profile-card { display: flex; align-items: center; gap: 14px; padding: 14px 16px; width: 100%; text-align: left; }

/* ---------- Detail ---------- */
.detail { display: grid; gap: 14px; padding: 16px; }
.carousel { position: relative; border-radius: 18px; overflow: hidden; background: var(--field); height: 280px; }
.carousel .track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.carousel .track::-webkit-scrollbar { display: none; }
.carousel .slide { flex: 0 0 100%; height: 100%; scroll-snap-align: center; background: center/cover no-repeat; cursor: zoom-in; }
.carousel .counter { position: absolute; top: 12px; right: 12px; color: #fff; background: rgba(0, 0, 0, .55); border-radius: 999px; padding: 5px 10px; font-size: 12px; font-weight: 600; }
.carousel .arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; background: rgba(0, 0, 0, .45); color: #fff; display: grid; place-items: center; }
.carousel .arrow.l { left: 10px; } .carousel .arrow.r { right: 10px; }
.big-title { font-size: 24px; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
.info-row { display: flex; align-items: center; gap: 12px; }
.info-row .iic { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; flex: none; }
.info-row .lbl { font-size: 12px; color: var(--text2); }
.info-row .v { font-size: 16px; font-weight: 500; }
.status-card { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius); }
.status-card b { display: block; font-size: 16px; }
.status-card p { font-size: 14px; color: var(--text2); margin-top: 2px; }
.pre { white-space: pre-wrap; word-break: break-word; user-select: text; }

/* ---------- Chat ---------- */
.search { display: flex; align-items: center; gap: 8px; background: var(--field); border-radius: 12px; padding: 9px 12px; margin: 8px 16px 4px; color: var(--text2); }
.search input { flex: 1; border: 0; background: transparent; outline: none; font-size: 16px; color: var(--text); }
.chat-row { display: flex; gap: 14px; align-items: center; padding: 12px 16px; width: 100%; text-align: left; position: relative; }
.chat-row:hover { background: rgba(127, 127, 127, .06); }
.chat-row + .chat-row::before { content: ""; position: absolute; top: 0; left: 86px; right: 0; height: .5px; background: var(--line); }
.chat-row .grow { flex: 1; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; }
.chat-row .top { display: flex; align-items: baseline; gap: 8px; }
.chat-row .top b { flex: 1; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-row .job { font-size: 12px; color: var(--job); display: flex; align-items: center; gap: 4px; white-space: nowrap; overflow: hidden; }
.chat-row .prev { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--text2); }
.chat-row .prev span.t { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-row.unread .top b, .chat-row.unread .prev span.t { color: var(--text); font-weight: 600; }
.count-badge { background: var(--job); color: #fff; font-size: 12px; font-weight: 700; border-radius: 999px; min-width: 22px; height: 22px; padding: 0 7px; display: grid; place-items: center; }
.chat-page { display: flex; flex-direction: column; height: 100dvh; }
.chat-page .msgs { flex: 1; overflow-y: auto; padding: 12px 12px 8px; display: flex; flex-direction: column; gap: 4px; }
.day-label { align-self: center; font-size: 12px; font-weight: 600; color: var(--text2); background: var(--field); padding: 4px 10px; border-radius: 999px; margin: 10px 0 6px; }
.bubble-wrap { display: flex; flex-direction: column; max-width: 78%; }
.bubble-wrap.me { align-self: flex-end; align-items: flex-end; }
.bubble-wrap.them { align-self: flex-start; align-items: flex-start; }
.bubble { padding: 9px 14px; border-radius: 18px; white-space: pre-wrap; word-break: break-word; font-size: 16px; user-select: text; }
.me .bubble { background: var(--job); color: #fff; border-bottom-right-radius: 5px; }
.them .bubble { background: var(--card); border-bottom-left-radius: 5px; border: .5px solid var(--line); }
.bubble-meta { font-size: 11px; color: var(--text2); margin: 3px 6px 4px; }
.composer { border-top: .5px solid var(--line); background: var(--bar); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); }
.composer .inner { display: flex; align-items: flex-end; gap: 10px; }
.composer textarea {
  flex: 1; resize: none; border: .5px solid var(--line); background: var(--card); border-radius: 20px; padding: 9px 14px;
  font-size: 16px; max-height: 140px; outline: none; line-height: 1.35; overflow-y: auto; scrollbar-width: none;
}
.send-btn { width: 38px; height: 38px; border-radius: 50%; background: var(--job); color: #fff; display: grid; place-items: center; flex: none; }
.send-btn:disabled { opacity: .35; }
.blocked-banner { display: flex; gap: 10px; align-items: center; padding: 10px 16px; background: rgba(235, 87, 87, .1); color: var(--red); font-size: 14px; }
.chat-title { display: flex; align-items: center; gap: 10px; min-width: 0; justify-content: center; }
.chat-title .t { display: grid; min-width: 0; text-align: left; }
.chat-title .t b { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-title .t span { font-size: 12px; color: var(--job); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-page .navbar { grid-template-columns: 64px 1fr 64px; }

/* ---------- Menus, dialogs, toasts ---------- */
.menu-wrap { position: relative; }
.menu {
  position: absolute; right: 0; top: calc(100% + 6px); min-width: 250px; background: var(--card); border-radius: 14px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .2); border: .5px solid var(--line); overflow: hidden; z-index: 50;
}
.menu button { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; padding: 12px 16px; font-size: 16px; text-align: left; }
.menu button + button { border-top: .5px solid var(--line); }
.menu button:hover { background: rgba(127, 127, 127, .08); }
.menu button.danger { color: var(--red); }
.overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, .4); z-index: 100; display: grid; place-items: center; padding: 20px; animation: fade .15s; }
@keyframes fade { from { opacity: 0; } }
.dialog { background: var(--card); border-radius: 18px; width: min(100%, 380px); padding: 22px 20px 16px; display: grid; gap: 10px; text-align: center; animation: pop .18s; }
.dialog.wide { width: min(100%, 520px); text-align: left; max-height: 90dvh; overflow: auto; }
@keyframes pop { from { transform: scale(.94); opacity: 0; } }
.dialog h3 { font-size: 18px; font-weight: 700; }
.dialog p { color: var(--text2); font-size: 15px; }
.dialog .actions { display: grid; gap: 8px; margin-top: 8px; }
.toast {
  position: fixed; top: 12px; left: 50%; transform: translateX(-50%); z-index: 120; width: min(calc(100% - 32px), 460px);
  background: var(--card); border-radius: 16px; box-shadow: 0 6px 24px rgba(0, 0, 0, .16); padding: 14px; display: flex; gap: 10px;
  align-items: center; text-align: left; animation: drop .3s;
}
@keyframes drop { from { transform: translate(-50%, -20px); opacity: 0; } }
.toast b { display: block; font-size: 15px; } .toast span { font-size: 13px; color: var(--text2); }
.gallery { position: fixed; inset: 0; background: #000; z-index: 110; display: flex; flex-direction: column; }
.gallery .main { flex: 1; display: grid; place-items: center; padding: 60px 12px 12px; min-height: 0; }
.gallery .main img { max-height: 100%; max-width: 100%; object-fit: contain; }
.gallery .close { position: absolute; top: 14px; left: 14px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .15); color: #fff; display: grid; place-items: center; }
.gallery .thumbs { display: flex; gap: 10px; overflow-x: auto; padding: 12px 16px 24px; justify-content: center; }
.gallery .thumbs button { width: 60px; height: 60px; border-radius: 8px; background: center/cover; border: 2px solid transparent; flex: none; }
.gallery .thumbs button.on { border-color: #fff; }
.gallery .num { color: #fff; text-align: center; font-size: 14px; }
.gallery .arrow { position: absolute; top: 50%; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .15); color: #fff; display: grid; place-items: center; }

/* ---------- Onboarding & splash ---------- */
.onb { flex: 1; display: flex; flex-direction: column; background: #FBF4EA; color: #111; min-height: 100dvh; }
.onb .img { flex: 1; background: center/contain no-repeat; margin: 20px; min-height: 280px; }
.onb .txt { text-align: center; padding: 0 24px; }
.onb h1 { font-size: 28px; font-weight: 800; }
.onb p { color: #555; font-size: 17px; margin-top: 6px; }
.onb .dots { display: flex; gap: 8px; justify-content: center; margin: 22px 0; }
.onb .dots i { width: 8px; height: 8px; border-radius: 50%; background: #d8cfc2; }
.onb .dots i.on { background: var(--job); width: 22px; border-radius: 999px; }
.onb .foot { padding: 0 24px 32px; display: grid; gap: 10px; max-width: 460px; width: 100%; margin: 0 auto; }
.onb .skip { position: absolute; top: 14px; right: 16px; color: #555; font-weight: 600; padding: 8px; }
.splash { position: fixed; inset: 0; background: #000; display: grid; place-items: center; z-index: 200; transition: opacity .3s; }
.splash img { width: 110px; height: 110px; border-radius: 26px; animation: grow 1.2s ease-in-out infinite alternate; }
@keyframes grow { to { transform: scale(1.12); } }

/* ---------- Admin ---------- */
.admin-tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--bar); border-top: .5px solid var(--line); padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); backdrop-filter: blur(18px); }
.admin-tabs .inner { max-width: var(--col); margin: 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.admin-tabs button { display: grid; justify-items: center; gap: 3px; font-size: 11px; font-weight: 600; color: var(--text2); padding: 7px 0; border-radius: 12px; }
.admin-tabs button.on { background: rgba(52, 198, 111, .15); color: var(--job); }
.reason-pick { display: grid; gap: 8px; }
.reason-pick button { display: flex; justify-content: space-between; gap: 8px; text-align: left; padding: 11px 14px; background: var(--field); border-radius: 12px; font-size: 15px; }
.reason-pick button.on { background: rgba(235, 87, 87, .12); color: var(--red); }
.tag { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.emu-flag { position: fixed; left: 50%; transform: translateX(-50%); top: 2px; z-index: 300; background: #F2994A; color: #fff; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 6px; opacity: .85; pointer-events: none; }

@media (min-width: 720px) {
  .list { padding: 20px 16px; }
  .page-title { padding-top: 26px; }
}
