/* NeedYu. Layout idea: the noticeboard in a building's entrance hall.
   Quiet paper-and-ink pages; the one flourish is the tear-off notice pinned in the hero.
   Blue ballpoint is the accent; highlighter yellow marks amounts only. */

/* ---------- fonts (self-hosted, SIL OFL 1.1) ---------- */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-display: swap; font-weight: 200 800; src: url(fonts/bricolage-grotesque-latin-wght-normal.woff2) format("woff2-variations"), url(fonts/bricolage-grotesque-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-display: swap; font-weight: 200 800; src: url(fonts/bricolage-grotesque-latin-ext-wght-normal.woff2) format("woff2-variations"), url(fonts/bricolage-grotesque-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Atkinson Hyperlegible Next"; font-style: normal; font-display: swap; font-weight: 400; src: url(fonts/atkinson-hyperlegible-next-latin-400-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Atkinson Hyperlegible Next"; font-style: normal; font-display: swap; font-weight: 700; src: url(fonts/atkinson-hyperlegible-next-latin-700-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Atkinson Hyperlegible Next"; font-style: normal; font-display: swap; font-weight: 400; src: url(fonts/atkinson-hyperlegible-next-latin-ext-400-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Atkinson Hyperlegible Next"; font-style: normal; font-display: swap; font-weight: 700; src: url(fonts/atkinson-hyperlegible-next-latin-ext-700-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Caveat"; font-style: normal; font-display: swap; font-weight: 600; src: url(fonts/caveat-latin-600-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* ---------- tokens ---------- */
:root {
  --paper: #f4f5f7;      /* page */
  --sheet: #ffffff;      /* cards, inputs */
  --ink: #161a21;        /* text */
  --ink-2: #535b69;      /* secondary text */
  --rule: #dde1e8;       /* lines */
  --biro: #2338c4;       /* accent: blue ballpoint */
  --biro-ink: #ffffff;   /* text on accent */
  --biro-soft: #e7eafb;  /* tinted backgrounds */
  --marker: #ffe24a;     /* highlighter, amounts only */
  --marker-ink: #161a21;
  --ok: #17734a; --err: #b3261e; --star: #d99a00;
  --note-paper: #fffef7; --note-ink: #1f35b5; /* the pinned notice: same in both themes, it sits on a photo */
  --font-display: "Bricolage Grotesque", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-hand: "Caveat", "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive;
  --r: 12px; --r-sm: 8px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0f1217; --sheet: #171b22; --ink: #e9ecf1; --ink-2: #a3abb8; --rule: #2a303a;
    --biro: #8d9cff; --biro-ink: #0d1020; --biro-soft: #1c2240;
    --marker: #50471a; --marker-ink: #fff1a6;
    --ok: #5fd19a; --err: #ff8a80; --star: #f2c14e;
    color-scheme: dark;
  }
}

/* ---------- base ---------- */
[hidden] { display: none !important; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.55 var(--font-body); background: var(--paper); color: var(--ink); }
a { color: inherit; }
img { max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 750; letter-spacing: -0.02em; line-height: 1.08; text-wrap: balance; }
h2 { font-size: clamp(25px, 3.2vw, 34px); margin: 0 0 8px; }
p { text-wrap: pretty; }
.muted { color: var(--ink-2); margin-top: 0; }
.i { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid var(--biro); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.top-inner { display: flex; align-items: center; gap: 22px; height: 62px; }
.logo { font-family: var(--font-display); font-weight: 800; font-size: 25px; letter-spacing: -0.03em; text-decoration: none; }
.logo span { color: var(--biro); }
.nav { display: flex; gap: 20px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--ink-2); } .nav a:hover { color: var(--ink); }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.lang { display: flex; }
.lang button { border: 1px solid var(--rule); background: transparent; color: var(--ink-2); padding: 4px 9px; cursor: pointer; font: inherit; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; }
.lang button:first-child { border-radius: 6px 0 0 6px; } .lang button:last-child { border-radius: 0 6px 6px 0; } .lang button + button { border-left: 0; }
.lang button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.login-link { font-size: 15px; text-decoration: none; color: var(--ink-2); } .login-link:hover { color: var(--ink); }
@media (max-width: 860px) { .nav { display: none; } }
@media (max-width: 520px) { .top-inner { gap: 12px; } .login-link { display: none; } }
@media (max-width: 480px) { .top-right > .btn { display: none; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 10px; padding: 12px 20px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; border: 1px solid transparent; white-space: nowrap; transition: background-color .15s, border-color .15s, color .15s; }
.btn.sm { padding: 7px 14px; font-size: 15px; }
.btn.primary { background: var(--biro); color: var(--biro-ink); }
.btn.primary:hover { background: color-mix(in srgb, var(--biro) 86%, var(--ink)); }
.btn.ghost { border-color: var(--rule); background: var(--sheet); color: var(--ink); }
.btn.ghost:hover { border-color: var(--biro); }
.btn.light { background: #ffffff; color: #161a21; }
.btn.light:hover { background: #e9ecf5; }
.btn:disabled { opacity: 0.6; cursor: wait; }
.btn.full { width: 100%; }

/* ---------- location bar ---------- */
.locbar { font-size: 14px; border-bottom: 1px solid var(--rule); padding: 8px 0; color: var(--ink-2); }
.locbar strong { color: var(--ink); }
.locbar .i { color: var(--biro); }
.locbar a { color: var(--biro); margin-left: 6px; font-weight: 700; text-decoration: none; }
.live { margin-left: 14px; }
.live::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); margin-right: 7px; vertical-align: 1px; }

/* ---------- hero (photo is always dark, so its colours are fixed) ---------- */
.hero { position: relative; color: #fff; padding: 76px 0 64px; background-color: #161a21; background-position: center; background-size: cover; background-repeat: no-repeat; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(38px, 6vw, 66px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.0; margin: 0 0 18px; max-width: 16ch; }
.hero .lead { font-size: 19px; max-width: 52ch; margin: 0 0 28px; color: rgba(255, 255, 255, 0.88); }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.popular { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pop-label { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.72); margin-right: 4px; }
.pop { border: 1px solid rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.08); color: #fff; border-radius: 99px; padding: 5px 13px; font: inherit; font-size: 14px; cursor: pointer; transition: background-color .15s; }
.pop:hover { background: rgba(255, 255, 255, 0.2); }
.hero-credit { position: absolute; right: 12px; bottom: 8px; font-size: 11px; color: rgba(255, 255, 255, 0.7); }
.hero-credit a { color: rgba(255, 255, 255, 0.85); }

/* the pinned tear-off notice */
.pinned { margin: 0; justify-self: end; width: 100%; max-width: 300px; position: relative; background: var(--note-paper); color: var(--note-ink); padding: 30px 22px 0; transform: rotate(-2.5deg); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2), 0 18px 40px -12px rgba(0, 0, 0, 0.6); font-family: var(--font-hand); }
.pinned .pin { position: absolute; top: 10px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ff8a7a, #c8261a 70%); box-shadow: 0 2px 3px rgba(0, 0, 0, 0.35); }
.pinned-head { margin: 0; font-size: 34px; line-height: 1; font-weight: 600; }
.pinned-body { margin: 10px 0 8px; font-size: 25px; line-height: 1.12; font-weight: 600; }
.pinned-price { margin: 0 0 18px; font-size: 32px; font-weight: 600; }
.pinned-price mark { background: linear-gradient(transparent 38%, #ffe24a 38%, #ffe24a 88%, transparent 88%); color: inherit; padding: 0 6px; }
.tabs { display: flex; margin: 0 -22px; border-top: 2px dashed rgba(31, 53, 181, 0.35); }
.tabs span { flex: 1; height: 82px; writing-mode: vertical-rl; transform: rotate(180deg); display: grid; place-items: center; font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: 0.04em; color: var(--note-ink); background: var(--note-paper); border-right: 1px dashed rgba(31, 53, 181, 0.35); }
.tabs span:first-child { border-right: 0; }
.tabs span.gone { visibility: hidden; }
@media (max-width: 899px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .pinned { justify-self: start; max-width: 270px; margin-left: 6px; }
}
@media (max-width: 560px) { .hero { padding: 48px 0 48px; } .hero .lead { font-size: 17px; } .pinned-body { font-size: 23px; } }

/* ---------- sections ---------- */
.block { padding-top: 56px; }
.block-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.block-head h2 { margin: 0; }
.pill { display: inline-block; border-radius: 99px; padding: 3px 11px; font-size: 13px; font-weight: 700; }
.pill.soft, .badge { background: var(--biro-soft); color: var(--biro); }

/* categories: buttons, so they look like buttons */
.cat-grid { display: grid; gap: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 18px; }
@media (max-width: 899px) { .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cat { display: flex; align-items: center; gap: 12px; text-align: left; padding: 14px; border-radius: var(--r); border: 1px solid var(--rule); background: var(--sheet); color: var(--ink); font: inherit; font-weight: 700; line-height: 1.25; cursor: pointer; transition: border-color .15s; }
.cat:hover { border-color: var(--biro); }
.cat .ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: var(--biro-soft); color: var(--biro); flex: none; }
.cat .ico .i { width: 22px; height: 22px; }
@media (max-width: 420px) { .cat { flex-direction: column; align-items: flex-start; } }

/* city examples: requests people could post */
.examples { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.example { text-align: left; padding: 16px; border-radius: var(--r); border: 1px solid var(--rule); background: var(--sheet); color: var(--ink); font: inherit; cursor: pointer; display: flex; flex-direction: column; gap: 8px; transition: border-color .15s; }
.example:hover { border-color: var(--biro); }
.ex-text { font-weight: 700; } .ex-meta { font-size: 14px; color: var(--ink-2); display: flex; align-items: center; gap: 4px; }

/* how it works: a real sequence, so numbered; no boxes */
.steps { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 28px; grid-template-columns: repeat(3, minmax(0, 1fr)); counter-reset: s; }
@media (max-width: 760px) { .steps { grid-template-columns: minmax(0, 1fr); gap: 20px; } }
.steps li { counter-increment: s; border-top: 2px solid var(--ink); padding-top: 12px; }
.steps li::before { content: counter(s); display: block; font-family: var(--font-display); font-weight: 800; font-size: 44px; line-height: 1; color: var(--biro); margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.steps strong, .steps span, .trust-item strong, .trust-item span { display: block; }
.steps strong { font-size: 19px; margin-bottom: 4px; }
.steps span, .trust-item span { color: var(--ink-2); }

/* trust: a plain list, no boxes */
.trust { display: grid; gap: 4px 32px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 14px; }
@media (max-width: 899px) { .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .trust { grid-template-columns: minmax(0, 1fr); } }
.trust-item { display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 10px; padding: 16px 0; border-top: 1px solid var(--rule); }
.trust-item .ico { grid-row: span 2; color: var(--biro); padding-top: 1px; }
.trust-item .ico .i { width: 22px; height: 22px; }

/* helper band */
.helper-band { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 56px; padding-block: 36px; border-radius: 18px; background: var(--biro-soft); }
.helper-band > div { flex: 1 1 420px; min-width: 0; }
.helper-band h2 { margin-bottom: 6px; }
.ticks { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 6px; }
.ticks li { display: flex; gap: 10px; }
.ticks li::before { content: "✓"; color: var(--biro); font-weight: 800; }
@media (min-width: 1160px) { .helper-band { padding-left: 36px; padding-right: 36px; } }

/* ---------- forms ---------- */
.card { background: var(--sheet); border: 1px solid var(--rule); border-radius: 16px; padding: 24px; }
label { display: block; margin-bottom: 14px; }
label > span { display: block; font-weight: 700; font-size: 15px; margin-bottom: 5px; }
input, select, textarea { width: 100%; font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid var(--rule); border-radius: var(--r-sm); background: var(--paper); color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--biro); outline-offset: 1px; border-color: transparent; }
.row { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; align-items: end; }
.row > * { min-width: 0; }
fieldset { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
legend { font-weight: 700; font-size: 15px; margin-bottom: 6px; padding: 0; }
.seg { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.seg label { display: flex; align-items: center; gap: 7px; margin: 0; border: 1px solid var(--rule); background: var(--paper); border-radius: 99px; padding: 6px 13px; cursor: pointer; }
.seg label:has(input:checked) { border-color: var(--biro); background: var(--biro-soft); }
.seg label span { display: inline; margin: 0; font-weight: 600; font-size: 15px; }
.seg input { width: auto; margin: 0; accent-color: var(--biro); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.chips button { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--rule); background: var(--sheet); color: var(--ink); border-radius: 99px; padding: 5px 13px; cursor: pointer; font: inherit; font-size: 15px; font-variant-numeric: tabular-nums; }
.chips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
label.check { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 8px; }
label.check input { width: auto; margin-top: 5px; accent-color: var(--biro); }
label.check span { font-weight: 400; font-size: 16px; margin: 0; }
.error { color: var(--err); font-weight: 700; }
.success { margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); font-weight: 700; }

/* ---------- cities ---------- */
.city-grid, .country-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); }
.city-grid { margin-top: 18px; }
.city-card, .country-card { position: relative; display: block; border-radius: var(--r); overflow: hidden; text-decoration: none; color: #fff; aspect-ratio: 16 / 10; max-width: 100%; background: #2a303a; }
.city-card img, .country-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.city-card:hover img, .country-card:hover img { transform: scale(1.04); }
.city-card::after, .country-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 12, 16, 0.78), rgba(10, 12, 16, 0) 62%); }
.city-name, .country-name { position: absolute; left: 14px; bottom: 30px; z-index: 1; font-family: var(--font-display); font-weight: 800; font-size: 24px; letter-spacing: -0.02em; }
.city-count, .country-cities { position: absolute; left: 14px; bottom: 10px; z-index: 1; font-size: 13px; opacity: 0.92; }
.city-region { position: absolute; left: 12px; top: 12px; z-index: 1; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; background: rgba(10, 12, 16, 0.6); padding: 4px 9px; border-radius: 99px; }
.country-grid { grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); margin-top: 20px; }
.country-name { font-size: 34px; bottom: 34px; }
.chooser h1 { font-size: clamp(34px, 5vw, 56px); max-width: 20ch; margin: 12px 0 8px; }

/* ---------- faq + footer ---------- */
.faq details { border-bottom: 1px solid var(--rule); padding: 16px 0; }
.faq details:first-of-type { border-top: 1px solid var(--rule); }
.faq summary { font-family: var(--font-display); font-weight: 700; font-size: 19px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--biro); font-weight: 800; transition: transform .15s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--ink-2); margin: 8px 0 0; max-width: 68ch; }
.foot { margin-top: 64px; border-top: 1px solid var(--rule); padding: 28px 0 40px; color: var(--ink-2); font-size: 14px; }
.foot p { margin: 4px 0; }
.prose { max-width: 760px; } .prose h1 { font-size: 36px; } .prose p, .prose li { max-width: 68ch; }
.todo, p.notice { background: var(--biro-soft); border-radius: 8px; padding: 10px 14px; }

/* ---------- request cards (landing feed + app) ---------- */
.see-all { margin-left: auto; color: var(--biro); font-weight: 700; text-decoration: none; }
.gig-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); margin-top: 14px; align-items: start; }
.gig { display: flex; flex-direction: column; gap: 6px; padding: 16px; border: 1px solid var(--rule); border-radius: var(--r); background: var(--sheet); text-decoration: none; color: var(--ink); transition: border-color .15s; min-width: 0; }
.gig:hover { border-color: var(--biro); }
.gig-cat { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); }
.gig-cat .i { color: var(--biro); }
.gig-title { font-size: 18px; line-height: 1.3; overflow-wrap: anywhere; }
.gig-meta { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; font-size: 14px; color: var(--ink-2); }
.gig-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; font-size: 14px; color: var(--ink-2); }
.gig-price { font-family: var(--font-display); font-weight: 800; font-size: 21px; color: var(--marker-ink); background: linear-gradient(transparent 40%, var(--marker) 40%, var(--marker) 90%, transparent 90%); padding: 0 4px; margin-left: -4px; font-variant-numeric: tabular-nums; }
.empty { grid-column: 1 / -1; text-align: center; padding: 28px 16px; border: 1px dashed var(--rule); border-radius: var(--r); color: var(--ink-2); }
.empty p { margin-top: 0; }
.gig.ad { border-style: dashed; }
.gig.ad .ad-label { text-transform: uppercase; letter-spacing: 0.06em; font-size: 11px; font-weight: 700; }
.gig.ad .ad-img { width: 100%; max-width: 100%; aspect-ratio: 5 / 2; object-fit: cover; border-radius: 8px; }

/* ---------- app ---------- */
.app main { min-height: 70vh; }
.appnav { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.appnav a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--ink-2); font-weight: 700; font-size: 15px; }
.appnav a.active, .appnav a:hover { color: var(--ink); }
.appnav a.btn.primary { color: var(--biro-ink); }
.app .top-right { margin-left: 8px; }
.avatar { display: inline-grid !important; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--biro); color: var(--biro-ink) !important; font-family: var(--font-display); font-weight: 800; }
.avatar.big { width: 76px; height: 76px; font-size: 34px; margin: 0 auto 10px; }
.pad { padding-top: 32px; padding-bottom: 32px; }
.narrow { max-width: 560px; margin: 32px auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.narrow.card { padding: 28px; }
@media (max-width: 600px) { .narrow.card { margin: 16px; padding: 20px; } }
.narrow h1, .gig-detail h1, .feed-head h1, .profile h1 { font-size: clamp(26px, 4vw, 32px); }
.card + .card, .card + form, form + .card, .gig-detail + .card, .gig-detail + form { margin-top: 16px; }
.center { text-align: center; }
.small { font-size: 14px; }
.linkbtn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0; color: var(--biro); font: inherit; cursor: pointer; text-decoration: underline; }
.linkbtn.muted { color: var(--ink-2); }
.badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 99px; }
.feed-head { display: flex; align-items: center; gap: 10px; } .feed-head h1 { margin: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 10px; }
.filters select { width: auto; min-width: 150px; background: var(--sheet); }
.chips.scroll { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.chips.scroll button { white-space: nowrap; }
.chips .i { color: currentColor; }
.chip { border: 1px solid var(--rule); border-radius: 99px; padding: 4px 12px; font-size: 14px; }
.gig-page { max-width: 760px; }
.gig-page > p:first-child a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); text-decoration: none; font-weight: 700; }
.gig-detail h1 { margin: 12px 0 10px; }
.gig-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.desc { white-space: pre-wrap; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 18px 0; }
.facts div { background: var(--paper); border-radius: 10px; padding: 10px 12px; min-width: 0; }
.facts small { display: flex; align-items: center; gap: 4px; color: var(--ink-2); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; }
.facts strong { font-size: 17px; overflow-wrap: anywhere; }
.facts div:first-child strong { font-family: var(--font-display); font-weight: 800; font-size: 20px; }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr 1fr; } }
.status { display: inline-block; font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: var(--biro-soft); color: var(--biro); }
.s-open, .s-offer_pending { background: var(--biro-soft); color: var(--biro); }
.s-assigned, .s-offer_chosen { background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); }
.s-done { background: color-mix(in srgb, var(--ink-2) 16%, transparent); color: var(--ink-2); }
.s-cancelled, .s-offer_not_chosen { background: color-mix(in srgb, var(--err) 12%, transparent); color: var(--err); }
.offer { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-top: 1px solid var(--rule); }
.offer:first-of-type { border-top: 0; } .offer p { margin: 6px 0 0; }
.offer > div:first-child { min-width: 0; }
.offer-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.offer-side strong { font-family: var(--font-display); font-weight: 800; font-size: 19px; font-variant-numeric: tabular-nums; }
.stars { color: var(--star); letter-spacing: 1px; font-size: 14px; } .stars .off { color: var(--rule); }
.contact-line { display: flex; align-items: center; gap: 8px; margin: 4px 0; overflow-wrap: anywhere; }
.contact-line .i { color: var(--biro); }
.chat { max-height: 340px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding: 4px 0 12px; }
.msg { align-self: flex-start; max-width: 80%; background: var(--paper); border: 1px solid var(--rule); border-radius: 14px 14px 14px 4px; padding: 8px 12px; overflow-wrap: anywhere; }
.msg.mine { align-self: flex-end; background: var(--biro-soft); border-color: transparent; border-radius: 14px 14px 4px 14px; }
.msg span { display: block; white-space: pre-wrap; } .msg small { color: var(--ink-2); font-size: 11px; }
.chat-form { display: flex; gap: 8px; } .chat-form input { flex: 1; min-width: 0; }
.actions { margin-top: 16px; }
.rate { display: flex; gap: 4px; margin-bottom: 12px; }
.rate button { font-size: 34px; background: none; border: 0; cursor: pointer; color: var(--rule); padding: 0 2px; }
.rate button.on { color: var(--star); }
.me-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); align-items: start; }
.row-link { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--rule); text-decoration: none; }
.row-link:first-of-type { border-top: 0; }
.profile { text-align: center; } .profile h1 { margin: 0 0 4px; } .profile .chips { justify-content: center; }
.profile .muted { display: flex; align-items: center; justify-content: center; gap: 5px; flex-wrap: wrap; }
.review { padding: 10px 0; border-top: 1px solid var(--rule); } .review:first-of-type { border-top: 0; } .review p { margin: 4px 0 0; }
@media (max-width: 640px) { .appnav { gap: 12px; } .appnav .lbl { display: none; } .app .lang button { padding: 4px 6px; } }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; } .live { display: block; margin: 4px 0 0; } .helper-band { border-radius: 0; } }

/* notifications card + account deletion */
.push-card h2 { display: flex; align-items: center; gap: 8px; }
.push-card h2 .i { color: var(--biro); }
.danger { margin-top: 20px; border-top: 1px solid var(--rule); padding-top: 12px; }
.danger summary { cursor: pointer; color: var(--ink-2); font-size: 15px; }
.danger .btn { border-color: var(--err); color: var(--err); }
#pushcard > .card, #pushnudge > .card { margin-top: 16px; }
