﻿/* 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: "Figtree"; font-style: normal; font-display: swap; font-weight: 300 900; src: url(fonts/figtree-latin-wght-normal.woff2) format("woff2-variations"), url(fonts/figtree-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: "Figtree"; font-style: normal; font-display: swap; font-weight: 300 900; src: url(fonts/figtree-latin-ext-wght-normal.woff2) format("woff2-variations"), url(fonts/figtree-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: "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: "Figtree", 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: 10px;
  --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23535b69' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  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;
    --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a3abb8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    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); }
.lang-select { border: 1px solid var(--rule); background: transparent; color: var(--ink); border-radius: 6px; padding: 4px 6px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; max-width: 9.5em; }
.lang-select option { color: #111; background: #fff; }
.login-link { font-size: 15px; white-space: nowrap; 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 { color: transparent; background: linear-gradient(to top, var(--note-paper) 0 14px, transparent 14px); }
.tabs span.gone, .tabs span.gone + span { border-right-color: transparent; }
@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: 44px 0 48px; } .hero .lead { font-size: 17px; } .pinned-body { font-size: 23px; } .cta .btn { flex: 1 1 100%; } .pop-label { flex-basis: 100%; margin-bottom: 2px; } }

/* ---------- 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; align-content: start; 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: 650; font-size: 15px; margin-bottom: 6px; }
.hint { display: block; font-size: 13px; line-height: 1.4; color: var(--ink-2); margin-top: 6px; }
legend .hint { margin: 2px 0 0; font-weight: 400; }
#cityd { display: block; margin-top: 6px; font-size: 13px; }
input, select, textarea { width: 100%; font: inherit; font-size: 16px; line-height: 1.4; padding: 11px 14px; border: 1px solid var(--rule); border-radius: var(--r-sm); background-color: var(--paper); color: var(--ink); margin: 0; }
input, select { min-height: 46px; }
select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: var(--chev); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; cursor: pointer; text-overflow: ellipsis; }
textarea { resize: vertical; min-height: 92px; }
input::placeholder, textarea::placeholder { color: color-mix(in srgb, var(--ink-2) 80%, transparent); }
input[type=checkbox], input[type=radio] { min-height: 0; }
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: start; }
.row > * { min-width: 0; }
fieldset { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
legend { font-weight: 650; font-size: 15px; margin-bottom: 8px; padding: 0; }
.seg { display: flex; flex-direction: column; gap: 8px; 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 label { min-height: 40px; }
.seg label { border-radius: 12px; padding: 9px 14px; }
.chips.prices { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-bottom: 10px; }
.chips.prices button { justify-content: center; padding: 6px 4px; }
.locrow { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; margin: 0 0 16px; }
.locrow .btn { white-space: normal; text-align: left; }
@media (max-width: 560px) { .locrow .btn { width: 100%; justify-content: center; text-align: center; } }
.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; flex: none; min-height: 38px; border: 1px solid var(--rule); background: var(--sheet); color: var(--ink); border-radius: 99px; padding: 6px 14px; 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: 10px; align-items: center; margin: 0; padding: 7px 0; cursor: pointer; }
label.check input { width: 18px; height: 18px; flex: none; margin: 0; accent-color: var(--biro); }
label.check span { display: flex; align-items: center; gap: 8px; font-weight: 400; font-size: 16px; margin: 0; }
label.check .i { color: var(--biro); }
.checks.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
@media (max-width: 560px) { .checks.two { grid-template-columns: minmax(0, 1fr); } }
.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; }
.cc-text { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; display: flex; flex-direction: column; gap: 6px; }
.cc-text .country-name, .cc-text .country-cities { position: static; }
.cc-text .country-name { line-height: 1.02; }
.country-cities { display: flex; flex-wrap: wrap; row-gap: 2px; }
.country-cities span:not(:last-child)::after { content: '\00B7'; margin: 0 6px; }
.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: stretch; }
.gig { display: flex; flex-direction: column; gap: 6px; padding: 18px; 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; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; margin-bottom: 2px; }
.gig-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 14px; color: var(--ink-2); }
.gig-meta .i { width: 16px; height: 16px; }
.gig-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-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; white-space: nowrap; 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: 4px; }
.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: 28px; padding-bottom: 32px; }
@media (max-width: 600px) { .pad { padding-top: 18px; } .card { padding: 20px; } }
.narrow { max-width: 600px; margin: 28px auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.narrow.card { max-width: 560px; padding: 28px; }
@media (max-width: 600px) { .narrow { margin-top: 18px; } .narrow.card { margin: 18px 20px 28px; padding: 20px; } }
.narrow h1, .gig-detail h1, .feed-head h1, .profile h1, .me-grid h1 { font-size: clamp(26px, 4vw, 32px); margin: 0 0 14px; }
.card h2 { font-size: 22px; margin: 0 0 12px; }
.card + .card, .card + form, form + .card, .gig-detail + .card, .gig-detail + form, .card + .success { margin-top: 16px; }
.card > :last-child { margin-bottom: 0; }
.center { text-align: center; }
.small { font-size: 14px; }
.linkbtn { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; 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: grid; grid-template-columns: minmax(0, 220px) minmax(0, 220px) auto; justify-content: start; gap: 8px; margin: 18px 0 12px; }
.filters select { background-color: var(--sheet); }
.filters .btn { min-height: 46px; }
@media (max-width: 560px) { .filters { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 46px; } .filters .btn { padding: 0; } .filters .lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }
@media (max-width: 440px) { .filters { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .filters .btn { grid-column: 1 / -1; padding: 0 14px; justify-content: center; } .filters .lbl { position: static; width: auto; height: auto; overflow: visible; clip: auto; } }
.chips.scroll { flex-wrap: wrap; padding-bottom: 6px; }
@media (max-width: 760px) { .chips.scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } }
.chips.scroll::-webkit-scrollbar { display: none; }
@media (max-width: 760px) { .chips.scroll { margin-left: -20px; margin-right: -20px; padding-left: 20px; padding-right: 20px; scroll-padding-inline: 20px; } }
.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 { margin: 0 0 14px; }
.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: 14px 0 10px; }
.gig-detail .desc { margin: 0 0 4px; }
.gig-detail > p.muted { margin: 0; font-size: 15px; }
.gig-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.gig-top .gig-cat { min-width: 0; padding-top: 3px; }
.gig-top .status { flex: none; }
.desc { white-space: pre-wrap; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: 18px 0; }
.facts div { background: var(--paper); border-radius: 10px; padding: 10px 12px; min-width: 0; }
.facts small { display: block; color: var(--ink-2); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; margin-bottom: 2px; }
.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: minmax(0, 1fr); gap: 0; background: var(--paper); border-radius: 12px; padding: 2px 14px; }
  .facts div { background: none; border-radius: 0; padding: 11px 0; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
  .facts div + div { border-top: 1px solid var(--rule); }
  .facts small { margin: 0; flex: none; }
  .facts strong { text-align: right; }
}
.status { display: inline-block; white-space: nowrap; font-size: 13px; font-weight: 700; padding: 4px 11px; 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: grid; gap: 6px; padding: 16px 0; border-top: 1px solid var(--rule); }
.card h2 + .offer { border-top: 0; padding-top: 4px; }
.offer:last-child { padding-bottom: 0; }
.offer-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.offer-name { font-weight: 700; font-size: 17px; text-decoration: none; overflow-wrap: anywhere; } .offer-name:hover { text-decoration: underline; }
.offer-price { font-family: var(--font-display); font-weight: 800; font-size: 20px; font-variant-numeric: tabular-nums; flex: none; }
.offer-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; font-size: 14px; color: var(--ink-2); }
.offer-msg { margin: 2px 0 4px; white-space: pre-wrap; overflow-wrap: anywhere; }
.offer .btn { justify-self: start; margin-top: 4px; }
@media (max-width: 560px) { .offer .btn { justify-self: stretch; } }
.stars { color: var(--star); letter-spacing: 1px; font-size: 14px; white-space: nowrap; } .stars .off { color: var(--rule); }
.contact-line { display: flex; align-items: center; gap: 10px; margin: 6px 0; overflow-wrap: anywhere; min-width: 0; }
.contact-line a { min-width: 0; }
.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 { display: block; color: var(--ink-2); font-size: 12px; margin-top: 2px; }
.chat-form { display: flex; gap: 8px; } .chat-form input { flex: 1; min-width: 0; } .chat-form .btn { min-height: 46px; }

/* ---------- AI coach (#/coach), "write it with AI" on the request form, coach pointers on the site ---------- */
.coach { max-width: 780px; }
.coach-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.coach-head h1 { display: inline-flex; align-items: center; gap: 10px; margin: 0; }
.coach-head h1 .i { color: var(--biro); width: 30px; height: 30px; }
.coach-head #cnew { margin-left: auto; }
.coach-lead { margin: 8px 0 20px; max-width: 62ch; }
.coach-thread { display: flex; flex-direction: column; gap: 12px; }
.cmsg { max-width: min(88%, 640px); padding: 12px 16px; border-radius: 16px; overflow-wrap: anywhere; }
.cmsg.bot { align-self: flex-start; background: var(--sheet); border: 1px solid var(--rule); border-radius: 16px 16px 16px 4px; }
.cmsg.mine { align-self: flex-end; background: var(--biro-soft); border-radius: 16px 16px 4px 16px; }
.cmsg p, .cmsg ul, .cmsg ol { margin: 0 0 10px; } .cmsg > :last-child { margin-bottom: 0; }
.cmsg ul, .cmsg ol { padding-left: 22px; } .cmsg li + li { margin-top: 4px; }
.cmsg a { color: var(--biro); }
.cmsg .error { margin: 8px 0 0; font-weight: 600; }
.typing { display: inline-flex; gap: 5px; padding: 8px 2px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-2); animation: typing 1.2s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes typing { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.coach-chips { margin: 14px 0 0; }
.coach-chips .i { color: var(--biro); }
.coach-chips button { flex: 0 1 auto; max-width: 100%; text-align: left; }
.coach-form { position: sticky; bottom: 0; z-index: 2; display: flex; gap: 8px; align-items: flex-end; margin-top: 14px; padding: 10px 0 max(10px, env(safe-area-inset-bottom, 0px)); background: var(--paper); }
.coach-form textarea { flex: 1; min-width: 0; min-height: 50px; max-height: 160px; resize: none; background-color: var(--sheet); }
.coach-form .btn { min-height: 50px; padding: 0 18px; }
.coach-form .btn .i { width: 20px; height: 20px; }
.coach-foot { margin: 4px 0 0; }
.coach-mark { display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--biro-soft); color: var(--biro); }
.coach-mark .i { width: 22px; height: 22px; }
.coach-mark.big { width: 64px; height: 64px; border-radius: 18px; margin-bottom: 12px; } .coach-mark.big .i { width: 30px; height: 30px; }
.coach-intro { text-align: center; }
.coach-intro .ticks { text-align: left; margin: 18px auto 22px; max-width: 440px; }
.coach-promo { display: flex; align-items: center; gap: 12px; margin: 16px 0 0; padding: 12px 16px; border-radius: 14px; background: var(--biro-soft); color: var(--ink); text-decoration: none; }
.coach-promo > .i { color: var(--biro); width: 22px; height: 22px; }
.coach-promo strong { color: var(--biro); }
.coach-go { margin-left: auto; flex: none; color: var(--biro); font-weight: 800; }
.aibox { margin: 0 0 18px; padding: 12px 14px; border: 1px dashed var(--biro); border-radius: 12px; background: color-mix(in srgb, var(--biro-soft) 55%, transparent); }
.aibox summary { display: flex; align-items: center; gap: 8px; color: var(--biro); font-weight: 700; cursor: pointer; list-style: none; }
.aibox summary::-webkit-details-marker { display: none; }
.aibox summary::after { content: "+"; margin-left: auto; font-weight: 800; transition: transform .15s; }
.aibox[open] summary::after { transform: rotate(45deg); }
.aibox[open] summary { margin-bottom: 10px; }
.aibox textarea { min-height: 80px; background-color: var(--sheet); }
.aibox-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 8px; }
.aibox-row small { flex: 1 1 200px; font-size: 14px; line-height: 1.4; }
.aibox .ok-text { color: var(--ok); font-weight: 600; }
.ai-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 14px; color: var(--biro); }
.coach-band { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; margin-top: 20px; padding-block: 28px; border: 1px solid var(--rule); border-radius: 18px; background: var(--sheet); }
@media (min-width: 1160px) { .coach-band { padding-left: 36px; padding-right: 36px; } }
.coach-band > div { flex: 1 1 380px; min-width: 0; }
.coach-band h2 { margin-bottom: 6px; } .coach-band p { margin: 0; }
.coach-note { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border: 1px solid var(--rule); border-radius: 16px; background: var(--sheet); color: var(--ink); text-decoration: none; }
.coach-note:hover { border-color: var(--biro); }
.coach-note > span:nth-child(2) { display: flex; flex: 1 1 220px; flex-direction: column; gap: 2px; min-width: 0; }
.coach-note > span:nth-child(2) span { color: var(--ink-2); }
@media (max-width: 560px) { .coach-band { padding-block: 24px; border-radius: 0; border-inline: 0; } .coach-band .btn { flex: 1 1 100%; } .coach-note { flex-wrap: wrap; } .coach-note .coach-go { margin-left: 58px; } .cmsg { max-width: 94%; } }
.actions { margin-top: 16px; }
.actions-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; margin: 14px 0 0; }
.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; }
@media (max-width: 819px) { .me-grid.lists-first > :last-child { order: -1; } }
.me-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 12px; }
.gone { text-align: center; }
.gone > svg { width: 40px; height: 40px; color: var(--ink-2); margin: 6px auto 10px; display: block; }
.gone h1 { margin-bottom: 8px; }
.gone p { margin: 0 auto 20px; max-width: 34ch; }
code { overflow-wrap: anywhere; }
.row-link { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--rule); text-decoration: none; }
.card h2 + .row-link { border-top: 0; padding-top: 2px; }
.row-link:hover .rl-title span { text-decoration: underline; }
.rl-title { display: flex; align-items: flex-start; gap: 10px; min-width: 0; line-height: 1.35; }
.rl-title .i { color: var(--biro); margin-top: 1px; }
.rl-title span { overflow-wrap: anywhere; }
.row-link .status { flex: none; }
.profile { text-align: center; } .profile h1 { margin: 0 0 6px; } .profile .chips { justify-content: center; margin: 14px 0 0; }
.profile .stars-line { display: flex; justify-content: center; align-items: center; gap: 6px; margin: 0 0 10px; }
.meta-list { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; color: var(--ink-2); font-size: 15px; }
.meta-list li { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.profile .bio { margin: 0 auto; max-width: 46ch; }
.chip { display: inline-flex; align-items: center; gap: 6px; }
.chip .i { color: var(--biro); }
.review { padding: 14px 0; border-top: 1px solid var(--rule); } .card h2 + .review { border-top: 0; padding-top: 2px; } .review p { margin: 6px 0 0; }
.review-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.review .muted { margin: 2px 0 0; }
@media (max-width: 640px) { .appnav { gap: 12px; } .appnav .lbl { display: none; } .app .lang button { padding: 4px 6px; } }
/* narrow phones: the language switch moves from the header to the footer so the header fits */
.foot-lang { display: none; }
@media (max-width: 440px) { .app .top-right { display: none; } .app .foot-lang { display: inline-flex; margin-bottom: 10px; } .top-inner { gap: 14px; } }
@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: 10px; }
.push-card p.muted { margin-bottom: 0; }
.push-card h2 .i { color: var(--biro); }
.danger { margin-top: 16px; border-top: 1px solid var(--rule); padding-top: 14px; }
.danger[open] summary { margin-bottom: 4px; }
.danger summary { cursor: pointer; color: var(--ink-2); font-size: 15px; }
.danger .btn { border-color: var(--err); color: var(--err); }
#pushcard > .card, #pushnudge > .card, #androidcard > .card { margin-top: 16px; }
/* Continue with Google (Google's sign-in button guidelines: white or dark button, the four-colour G, approved wording) */
.btn.google { background: #ffffff; color: #1f1f1f; border-color: #747775; font-weight: 600; }
.btn.google:hover { background: #f2f4f8; }
.btn.google .g { width: 20px; height: 20px; flex: none; }
@media (prefers-color-scheme: dark) { .btn.google { background: #131314; color: #e3e3e3; border-color: #8e918f; } .btn.google:hover { background: #22252a; } }
.btn.full + .small { margin-top: 8px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--ink-2); font-size: 15px; margin: 18px 0 6px; }
.or::before, .or::after { content: ""; flex: 1; border-top: 1px solid var(--rule); }

/* phone verified badge, "verified helpers only" requests, arrival check */
.vbadge { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: var(--ok); white-space: nowrap; vertical-align: middle; }
.vbadge .i { width: 16px; height: 16px; }
.vonly { display: flex; align-items: center; gap: 6px; color: var(--ok); font-weight: 700; font-size: 14px; }
.vonly .i { width: 16px; height: 16px; }
.gig-detail p.vonly { margin: 10px 0 0; }
.gig-meta.vonly { color: var(--ok); }
label.check.vcheck { align-items: flex-start; margin-top: 16px; }
label.check.vcheck input { margin-top: 2px; }
label.check.vcheck span { font-weight: 700; }
label.check.vcheck .i { color: var(--ok); }
.check-hint { margin: -2px 0 14px 28px; }
.contact-name { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; }
.profile-badge { margin: 0 0 10px; }
.phone-card form { margin-top: 12px; }
.phone-card .notice { margin: 0 0 12px; }
input.otp { letter-spacing: 0.35em; font-size: 20px; font-variant-numeric: tabular-nums; max-width: 11ch; }
.checkin-card .success { margin-top: 0; }
.checkin-card .btn { gap: 8px; }
#phonecard > .card { margin-top: 16px; }

/* ---------- guides and news (reading pages) ---------- */
.lang a { border: 1px solid var(--rule); color: var(--ink-2); padding: 4px 9px; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-decoration: none; }
.lang a:first-child { border-radius: 6px 0 0 6px; } .lang a:last-child { border-radius: 0 6px 6px 0; } .lang a + a { border-left: 0; }
.lang a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
/* many languages (guides and news): a small menu instead of a row of codes */
.lang-menu { position: relative; }
.lang-menu summary { list-style: none; cursor: pointer; border: 1px solid var(--rule); border-radius: 6px; padding: 4px 10px; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; color: var(--ink); }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary::after { content: ""; display: inline-block; margin-left: 6px; border: 4px solid transparent; border-top-color: currentColor; transform: translateY(2px); }
.lang-menu .lang-list { position: absolute; right: 0; top: calc(100% + 6px); z-index: 60; display: grid; min-width: 11em; max-height: 70vh; overflow-y: auto; padding: 6px; background: var(--sheet); border: 1px solid var(--rule); border-radius: 10px; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14); }
.lang-menu .lang-list a { padding: 8px 10px; border-radius: 6px; color: var(--ink); text-decoration: none; font-size: 15px; }
.lang-menu .lang-list a:hover { background: var(--biro-soft); }
.lang-menu .lang-list a[aria-current="page"] { font-weight: 700; background: var(--biro-soft); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding-top: 20px; font-size: 14px; color: var(--ink-2); }
.crumbs a { color: var(--ink-2); text-decoration: none; } .crumbs a:hover { color: var(--biro); }
.crumbs [aria-current] { color: var(--ink); max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kicker { display: inline-block; font-size: 13px; font-weight: 750; letter-spacing: 0.06em; text-transform: uppercase; color: var(--biro); text-decoration: none; }
.art-head { max-width: 800px; padding-top: 22px; }
.art-head h1 { font-size: clamp(32px, 5vw, 52px); letter-spacing: -0.03em; line-height: 1.04; margin: 10px 0 16px; }
.art-head .lead { font-size: 20px; line-height: 1.5; color: var(--ink-2); margin: 0 0 16px; max-width: 62ch; }
.art-meta { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; padding-bottom: 22px; border-bottom: 1px solid var(--rule); font-size: 14px; color: var(--ink-2); }
.art-grid { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 56px; align-items: start; margin-top: 8px; }
.art-grid.solo { grid-template-columns: minmax(0, 1fr); }
.toc { order: 2; position: sticky; top: 86px; margin-top: 30px; padding-left: 16px; border-left: 2px solid var(--rule); font-size: 15px; line-height: 1.35; }
.toc p { margin: 0 0 10px; font-weight: 750; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.toc a { color: var(--ink-2); text-decoration: none; } .toc a:hover { color: var(--biro); }
.art-body { max-width: 720px; font-size: 18px; line-height: 1.68; overflow-wrap: break-word; }
.art-body > :first-child { margin-top: 26px; }
@media (max-width: 700px) { .art-body p, .art-body li, .art-head .lead, .guide-desc { hyphens: auto; -webkit-hyphens: auto; } }
.art-body h2 { font-size: clamp(25px, 3vw, 31px); margin: 44px 0 12px; scroll-margin-top: 80px; }
.art-body h3 { font-size: 21px; margin: 30px 0 8px; scroll-margin-top: 80px; }
.art-body p { margin: 0 0 16px; }
.art-body a { color: var(--biro); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.art-body ul, .art-body ol { margin: 0 0 18px; padding-left: 1.3em; }
.art-body li { margin: 7px 0; padding-left: 4px; }
.art-body li::marker { color: var(--biro); font-weight: 750; }
.art-body strong { font-weight: 720; }
.art-body .note { margin: 22px 0; padding: 14px 18px; border-left: 3px solid var(--biro); border-radius: 0 12px 12px 0; background: var(--biro-soft); }
.art-body .note p { margin: 0 0 8px; } .art-body .note p:last-child { margin-bottom: 0; }
.art-body .table-wrap { margin: 20px 0 24px; overflow-x: auto; border: 1px solid var(--rule); border-radius: 12px; background: var(--sheet); }
.art-body table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.45; }
.art-body th, .art-body td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); }
.art-body th { font-family: var(--font-display); font-weight: 750; white-space: nowrap; background: color-mix(in srgb, var(--biro-soft) 55%, var(--sheet)); }
.art-body tbody tr:last-child td { border-bottom: 0; }
.art-body h2#sources, .art-body h2#quellen { font-size: 21px; margin-top: 40px; }
.art-body h2#sources + ul, .art-body h2#quellen + ul { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.disclaimer { margin-top: 30px !important; padding-top: 14px; border-top: 1px solid var(--rule); font-size: 15px; line-height: 1.5; color: var(--ink-2); }
@media (max-width: 980px) {
  .art-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .toc { order: 0; position: static; margin-top: 22px; padding: 14px 18px; border: 1px solid var(--rule); border-radius: 12px; background: var(--sheet); }
}
@media (max-width: 560px) { .art-head .lead { font-size: 18px; } .art-body { font-size: 17px; } .crumbs [aria-current] { max-width: 24ch; } }
.art-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding: 30px; border-radius: 18px; background: var(--biro-soft); }
.art-cta > div:first-child { flex: 1 1 420px; min-width: 0; }
.art-cta h2 { margin: 0 0 8px; font-size: clamp(23px, 2.8vw, 30px); }
.art-cta p { margin: 0; max-width: 60ch; color: var(--ink-2); }
@media (max-width: 560px) { .art-cta { padding: 22px 18px; } .art-cta .cta .btn { flex: 1 1 100%; } }
.guide-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); margin-top: 16px; align-items: stretch; }
.guide-card { display: flex; flex-direction: column; gap: 7px; min-width: 0; padding: 18px 18px 16px; border: 1px solid var(--rule); border-radius: var(--r); background: var(--sheet); color: var(--ink); text-decoration: none; transition: border-color .15s; }
.guide-card:hover { border-color: var(--biro); }
.guide-card .kicker { font-size: 12px; }
.guide-card strong { font-family: var(--font-display); font-size: 20px; font-weight: 750; letter-spacing: -0.015em; line-height: 1.15; text-wrap: balance; }
.guide-desc { font-size: 15px; line-height: 1.45; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.guide-meta { margin-top: auto; padding-top: 4px; font-size: 13px; color: var(--ink-2); }
.hub-head { padding-top: 22px; }
.hub-head h1 { font-size: clamp(34px, 5vw, 54px); letter-spacing: -0.03em; line-height: 1.03; max-width: 22ch; margin: 10px 0 14px; }
.hub-head .lead { font-size: 19px; line-height: 1.5; color: var(--ink-2); max-width: 64ch; margin: 0 0 18px; }
.hub-cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.hub-cats a { padding: 6px 14px; border: 1px solid var(--rule); border-radius: 99px; background: var(--sheet); color: var(--ink); font-size: 15px; font-weight: 650; text-decoration: none; }
.hub-cats a:hover { border-color: var(--biro); color: var(--biro); }
.city-links h2 { font-size: 21px; margin-bottom: 6px; }
.city-links p { margin: 4px 0; color: var(--ink-2); line-height: 1.8; }
.city-links a { color: var(--ink); text-underline-offset: 3px; }

/* the rules: sign-up and profile boxes with a link, and the short note on the request form */
label.check.terms-check { align-items: flex-start; }
label.check.terms-check input { margin-top: 3px; }
label.check.terms-check span { display: block; font-size: 15px; line-height: 1.45; }
.rules-note { display: flex; gap: 8px; align-items: flex-start; line-height: 1.45; }
.rules-note .i { color: var(--biro); margin-top: 2px; }

/* coach: a request card it prepared (Publish / Edit) and answers to tap under its question */
.ccard { align-self: flex-start; width: min(100%, 470px); display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border: 1px solid var(--rule); border-left: 4px solid var(--biro); border-radius: var(--r); background: var(--sheet); }
.ccard-desc { margin: 0; font-size: 15px; color: var(--ink-2); overflow-wrap: anywhere; }
.ccard .gig-price { align-self: flex-start; margin-top: 4px; }
.ccard-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ccard-actions .btn { flex: 1 1 auto; justify-content: center; }
.ccard .error { margin: 6px 0 0; font-weight: 600; }
.ccard-done { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 8px 0 0; font-weight: 700; color: var(--ok); }
.ccard-done a { color: var(--biro); }
.coach-replies { margin: 0; }
.coach-replies button { flex: 0 1 auto; max-width: 100%; text-align: left; border-color: var(--biro); color: var(--biro); font-weight: 600; }
.aibox-chat { margin: 10px 0 0; }
.aibox-chat a { display: inline-flex; align-items: center; gap: 6px; color: var(--biro); font-weight: 600; }
.aibox-chat .i { width: 16px; height: 16px; flex: none; }

/* ---------- request editing, expiry, chat before choosing ---------- */
.s-expired { background: color-mix(in srgb, var(--ink-2) 16%, transparent); color: var(--ink-2); }
p.notice.expired-note { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 14px; }
p.notice.expired-note .i { flex: none; margin-top: 3px; color: var(--biro); }
.owner-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.card .offers-note { margin: -4px 0 4px; }
.card .offers-note + .offer { border-top: 0; padding-top: 8px; }
.offer-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.offer-actions .btn { margin-top: 0; }
@media (max-width: 560px) { .offer-actions .btn { flex: 1 1 auto; } }
.btn .count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 2px; border-radius: 99px; background: var(--biro-soft); color: var(--biro); font-size: 12px; font-weight: 800; line-height: 1; }
.btn.unread { border-color: var(--biro); color: var(--biro); }
.btn.unread .count { background: var(--biro); color: #fff; }
.offer-chat { border: 1px solid var(--rule); border-radius: 12px; padding: 10px 12px 12px; margin-top: 6px; }
.offer-chat .chat { max-height: 280px; }

/* ---------- coins and boosts (#/coins, boost buttons, "Boosted" / "Highlighted" labels), rewarded-ad overlay ---------- */
.boost-tag { display: inline-flex; align-items: center; gap: 4px; flex: none; font-size: 12px; font-weight: 800; line-height: 1; padding: 5px 10px 5px 7px; border-radius: 99px; background: var(--biro); color: var(--biro-ink); white-space: nowrap; }
.boost-tag .i { width: 13px; height: 13px; color: inherit; }
.gig.boosted { border-color: var(--biro); box-shadow: inset 0 0 0 1px var(--biro); }
.gig .gig-cat .boost-tag { margin-left: auto; }
.gig-top-right { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 8px; flex: none; }
.offer-who { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; min-width: 0; }
.offer.boosted { border-top-color: var(--biro); }
.boost-card h2 { display: flex; align-items: center; gap: 8px; }
.boost-card h2 .i { color: var(--biro); }
.boost-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-top: 10px; }
.boost-row small a { color: inherit; }
.actions-row .boost-tag { margin-left: 2px; }
.coins-link { display: flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; }
.coins-link > .i { width: 28px; height: 28px; color: var(--biro); flex: none; }
.coins-link > span:nth-of-type(1) { flex: 1; display: grid; gap: 2px; min-width: 0; }
.coins-link .go { color: var(--biro); font-weight: 800; }
.coins-link:hover strong { text-decoration: underline; }
.coins-page h1 { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.coins-page h1 .i, .coins-page h2 .i { color: var(--biro); }
.coins-page h2 { display: flex; align-items: center; gap: 8px; }
.coins-balance { display: flex; align-items: baseline; gap: 10px; margin: 4px 0 10px; font-family: var(--font-display); }
.coins-balance strong { font-size: 56px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.coins-balance span { font-size: 20px; font-weight: 700; color: var(--ink-2); }
.coin-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.coin-list li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start; }
.coin-list li > .i { width: 24px; height: 24px; color: var(--biro); margin-top: 1px; }
.coin-list small { display: block; margin-top: 2px; }
.coin-list .btn { margin-top: 10px; }
.coins-rules { margin: 16px 0 0; }
.coin-hist { list-style: none; margin: 0; padding: 0; }
.coin-hist li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--rule); }
.coin-hist li:first-child { border-top: 0; padding-top: 2px; }
.coin-hist small { display: block; }
.coin-hist strong { font-family: var(--font-display); font-size: 18px; font-variant-numeric: tabular-nums; flex: none; }
.coin-hist .plus { color: var(--ok); }
.coin-hist .minus { color: var(--ink-2); }
.overlay { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px; background: rgb(10 12 18 / 0.6); }
.overlay[hidden] { display: none; }
.overlay-card { width: 100%; max-width: 420px; margin: 0; text-align: center; }
.overlay-card .actions-row { justify-content: center; }
.ad-count { font-family: var(--font-display); font-size: 64px; font-weight: 800; line-height: 1.1; margin: 6px 0 4px; font-variant-numeric: tabular-nums; }
.gig.adslot { min-height: 120px; overflow: hidden; }
.gig.adslot:has(ins[data-ad-status="unfilled"]) { display: none; }

/* ---------- YuLearn (#/learn) ---------- */
.learn-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; align-items: center; }
@media (max-width: 860px) { .learn-head { grid-template-columns: minmax(0, 1fr); gap: 18px; } }
.yl-mark { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; font-family: var(--font-display); font-size: 22px; font-weight: 800; letter-spacing: -0.01em; }
.yl-mark .i { width: 30px; height: 30px; color: var(--biro); }
.yl-mark b { color: var(--biro); font-weight: 800; }
.learn-hero h1 { font-size: clamp(30px, 4.6vw, 46px); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 12px; }
.learn-hero .lead { font-size: 18px; color: var(--ink-2); margin: 0; max-width: 52ch; }
.learn-today { display: grid; gap: 14px; }
.streak { display: flex; align-items: center; gap: 12px; }
.streak > .i { width: 34px; height: 34px; color: var(--ink-2); }
.streak.lit > .i, .end-line.lit .i { color: #e8590c; }
.streak div { display: grid; gap: 2px; }
.streak strong { font-family: var(--font-display); font-size: 20px; }
.learn-next { display: grid; gap: 6px; padding: 16px; border-radius: 12px; background: var(--biro-soft); color: var(--ink); text-decoration: none; }
.learn-next .kicker { display: flex; align-items: center; gap: 6px; }
.learn-next > strong { font-family: var(--font-display); font-size: 21px; line-height: 1.2; }
.learn-next .btn { justify-self: start; margin-top: 6px; }
.learn-next:hover .btn { background: color-mix(in srgb, var(--biro) 86%, var(--ink)); }
.learn-due { padding-top: 12px; border-top: 1px solid var(--rule); }
.learn-alldone { display: flex; gap: 10px; align-items: flex-start; margin: 0; }
.learn-alldone .i, .track-state .i { color: var(--star); }
#lplan { justify-self: start; text-align: left; }
.learn-h2 { font-size: 24px; margin: 34px 0 14px; }
.track-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .track-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .track-grid { grid-template-columns: minmax(0, 1fr); } }
.track { display: flex; flex-direction: column; gap: 6px; padding: 18px; border: 1px solid var(--rule); border-radius: 16px; background: var(--sheet); color: var(--ink); text-decoration: none; }
a.track:hover { border-color: var(--biro); }
.track > strong { font-family: var(--font-display); font-size: 19px; line-height: 1.2; }
.track > small { flex: 1; margin-bottom: 4px; }
.track.soon { background: transparent; border-style: dashed; }
.track.soon .track-icon { background: var(--rule); color: var(--ink-2); }
.track.soon .badge { align-self: flex-start; background: var(--rule); color: var(--ink-2); }
.track-icon { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--biro-soft); color: var(--biro); margin-bottom: 4px; }
.track-icon .i { width: 22px; height: 22px; }
.track-icon.big { width: 56px; height: 56px; border-radius: 16px; }
.track-icon.big .i { width: 30px; height: 30px; }
.track.done .track-icon { background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); }
.track-state { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); }
.learn progress, .learn-track progress, .lesson progress { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 8px; border: 0; border-radius: 99px; background: var(--rule); overflow: hidden; color: var(--biro); }
.learn progress::-webkit-progress-bar, .learn-track progress::-webkit-progress-bar, .lesson progress::-webkit-progress-bar { background: var(--rule); border-radius: 99px; }
.learn progress::-webkit-progress-value, .learn-track progress::-webkit-progress-value, .lesson progress::-webkit-progress-value { background: var(--biro); border-radius: 99px; transition: width .25s; }
.learn progress::-moz-progress-bar, .learn-track progress::-moz-progress-bar, .lesson progress::-moz-progress-bar { background: var(--biro); border-radius: 99px; }
.track.done progress::-webkit-progress-value { background: var(--ok); }
.track.done progress::-moz-progress-bar { background: var(--ok); }
.learn-practise { margin-top: 22px; }
.learn-note { display: flex; gap: 8px; align-items: flex-start; margin: 18px 0 0; }
.learn-note .i { margin-top: 2px; }
.learn-show { margin-top: 14px; }
.track-head h1 { margin: 10px 0 8px; }
.track-head progress { margin: 10px 0 6px; }
.track-head .track-state { display: flex; margin: 0; }
.track-head .btn { margin-top: 14px; }
.lesson-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.lesson-row { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 16px; border: 1px solid var(--rule); border-radius: 14px; background: var(--sheet); color: var(--ink); text-decoration: none; }
.lesson-row:hover { border-color: var(--biro); }
.lesson-row.next { border-color: var(--biro); box-shadow: inset 0 0 0 1px var(--biro); }
.ln { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--biro-soft); color: var(--biro); font-family: var(--font-display); font-weight: 800; }
.lesson-row.done .ln { background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); }
.ln .i { width: 20px; height: 20px; }
.lt { display: grid; gap: 2px; min-width: 0; }
.lt strong { font-size: 17px; }
.lm { display: grid; gap: 2px; text-align: right; }
.lm .due { color: var(--biro); font-weight: 700; }
@media (max-width: 520px) { .lesson-row { grid-template-columns: 34px minmax(0, 1fr); } .lm { grid-column: 2; display: flex; flex-wrap: wrap; gap: 4px 12px; text-align: left; } }
.next-steps { margin-top: 16px; }
.next-steps h2 { display: flex; align-items: center; gap: 8px; }
.next-steps h2 .i { color: var(--biro); }
.next-steps ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.next-steps li { display: grid; gap: 2px; }
.next-steps a { font-weight: 700; }
.lesson-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.lesson-x { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--ink-2); flex: none; }
.lesson-x:hover { background: var(--biro-soft); color: var(--ink); }
.lesson-x .i { width: 22px; height: 22px; }
.lesson-top progress { flex: 1; height: 10px; }
.lesson-kicker { display: flex; align-items: center; gap: 6px; margin: 0 0 10px; }
.lesson-card { min-height: 300px; }
.lesson-h { font-size: clamp(24px, 4vw, 30px); margin: 0 0 14px; }
.lesson-text { font-size: 18px; line-height: 1.55; }
.lesson-text p { margin: 0 0 12px; }
.lesson-text ul, .lesson-text ol { margin: 0 0 12px; padding-left: 22px; display: grid; gap: 6px; }
.lesson-h:focus, .lesson-q:focus, .lesson-end h1:focus { outline: none; }
.your-turn { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 8px; font-size: 13px; font-weight: 750; letter-spacing: 0.06em; text-transform: uppercase; color: var(--biro); }
.lesson-q { font-size: 21px; line-height: 1.3; margin: 0 0 16px; }
.opts { display: grid; gap: 10px; }
.opts.bins { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.opt { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 52px; padding: 12px 16px; border: 2px solid var(--rule); border-radius: 12px; background: var(--sheet); color: var(--ink); font: inherit; font-size: 17px; line-height: 1.35; text-align: left; cursor: pointer; }
.opts.bins .opt { justify-content: center; text-align: center; font-weight: 700; }
.opt:hover:not(:disabled) { border-color: var(--biro); }
.opt:disabled { cursor: default; }
.opt:disabled:not(.right):not(.wrong) { opacity: 0.55; }
.opt .i { width: 20px; height: 20px; }
.opt.right { border-color: var(--ok); background: color-mix(in srgb, var(--ok) 12%, var(--sheet)); }
.opt.right .i { color: var(--ok); }
.opt.wrong { border-color: var(--err); background: color-mix(in srgb, var(--err) 8%, var(--sheet)); color: var(--ink-2); }
.opt.wrong .i { color: var(--err); }
.try-again { margin: 12px 0 0; color: var(--err); font-weight: 700; }
.why { display: flex; gap: 12px; margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: var(--biro-soft); }
.why.ok { background: color-mix(in srgb, var(--ok) 12%, var(--sheet)); }
.why > .i { width: 22px; height: 22px; color: var(--biro); margin-top: 1px; }
.why.ok > .i { color: var(--ok); }
.why p { margin: 0 0 6px; }
.why p:last-child { margin: 0; }
.lesson-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 18px; }
.order-picked { list-style: none; margin: 10px 0 14px; padding: 0; display: grid; gap: 8px; }
.order-picked .opt { border-color: var(--biro); background: var(--biro-soft); }
.num { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--biro); color: var(--biro-ink); font-weight: 800; font-size: 14px; flex: none; }
.slot { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 12px 16px; border: 2px dashed var(--rule); border-radius: 12px; }
.slot .num { background: var(--rule); color: var(--ink-2); }
.order-done { margin: 0; padding-left: 26px; display: grid; gap: 8px; font-size: 17px; }
.order-done li.right::marker { color: var(--ok); font-weight: 800; }
.round { display: grid; gap: 4px; margin: 0 0 12px; padding: 14px 16px; border-radius: 12px; background: var(--paper); }
.round-item { margin: 0; font-family: var(--font-display); font-size: 20px; font-weight: 700; line-height: 1.25; }
.round-done { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 6px; font-size: 15px; }
.round-done li { display: flex; gap: 8px; align-items: flex-start; }
.round-done .i { width: 18px; height: 18px; margin-top: 2px; }
.round-done li.right .i { color: var(--ok); }
.round-done li.shown .i { color: var(--err); }
.type-form { display: flex; flex-wrap: wrap; gap: 10px; }
.type-form input { flex: 1 1 200px; width: auto; font-size: 18px; }
.type-form input.right { border-color: var(--ok); background: color-mix(in srgb, var(--ok) 10%, var(--paper)); }
.type-form input.wrong { border-color: var(--err); }
.lesson-end { text-align: center; }
.end-mark { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: color-mix(in srgb, var(--star) 18%, transparent); color: var(--star); margin-bottom: 8px; }
.end-mark .i { width: 38px; height: 38px; }
.lesson-end h1 { margin: 0 0 14px; }
.end-line { display: flex; align-items: flex-start; gap: 10px; max-width: 400px; margin: 8px auto; text-align: left; }
.end-line .i { width: 20px; height: 20px; color: var(--biro); margin-top: 2px; }
.end-line.coin { font-weight: 700; }
.end-line.coin .i { color: var(--star); }
.end-line.muted .i { color: var(--ink-2); }
.build-card { display: flex; gap: 14px; margin-top: 22px; padding: 18px; border-radius: 12px; background: var(--note-paper); color: #161a21; border: 1px solid var(--rule); text-align: left; }
.build-card > .i { width: 26px; height: 26px; color: var(--note-ink); }
.build-card h2 { font-size: 20px; margin: 0 0 6px; color: var(--note-ink); }
.build-card p { margin: 0; }
.build-card a { color: var(--note-ink); }
.end-actions { justify-content: center; }
.lesson-sources { margin-top: 18px; font-size: 15px; }
.lesson-sources summary { cursor: pointer; color: var(--ink-2); font-weight: 700; }
.lesson-sources ul { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 6px; }
.learned { display: flex; align-items: flex-start; justify-content: center; gap: 8px; margin: 10px 0 0; font-weight: 600; }
.learned .i { color: var(--biro); margin-top: 2px; }
.learn-link { margin-top: 16px; }

/* code in lessons and articles */
.lesson-text code, .article code, .opt code, .why code, .lesson-q code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .9em; background: var(--paper-2, rgba(127,127,127,.12)); border-radius: 5px; padding: 1px 5px; }
.lesson-text pre, .article pre { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 15px; line-height: 1.5; background: #111827; color: #e5e7eb; border-radius: 12px; padding: 14px 16px; overflow-x: auto; margin: 0 0 14px; white-space: pre; }
.lesson-text pre code, .article pre code { background: none; padding: 0; font-size: inherit; color: inherit; }
.lesson-text pre, .article pre { border: 1px solid rgba(255,255,255,.08); }
@media (max-width: 480px) { .lesson-text pre, .article pre { font-size: 13px; padding: 12px; } }

/* ---------- YuLearn site (yulearn.ai-exodus.com, built by build.mjs ylPage) ---------- */
.yl-logo { display: inline-flex; align-items: center; gap: 7px; }
.yl-logo .i { width: 26px; height: 26px; color: var(--biro); }
.yl-logo .yl-word { color: inherit; }
.yl-logo b { color: var(--biro); font-weight: 800; }
.yl-hero { max-width: 860px; }
.yl-hero .lead { font-size: 19px; color: var(--ink-2); max-width: 680px; }
.yl-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.steps .yl-step-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--biro-soft); color: var(--biro); margin-bottom: 10px; }
.yl-step-icon .i { width: 22px; height: 22px; }
.yl-steps li::before { display: none; }
.yl-tracks { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); margin-top: 22px; }
.yl-track { padding: 22px; border: 1px solid var(--rule); border-radius: 18px; background: var(--sheet); scroll-margin-top: 90px; }
.yl-track h3 { margin: 10px 0 6px; font-size: 21px; }
.yl-track h3 a { color: inherit; text-decoration: none; }
.yl-track h3 a:hover { color: var(--biro); }
.yl-track > p { margin: 0 0 8px; }
.yl-meta { font-size: 14px; font-weight: 650; color: var(--biro); }
.yl-lessons { margin: 12px 0 0; padding-left: 20px; }
.yl-lessons li { padding: 5px 0; }
.yl-lessons a { text-decoration: none; font-weight: 600; }
.yl-lessons a:hover { text-decoration: underline; }
.yl-lessons small { margin-left: 8px; color: var(--ink-2); white-space: nowrap; }
@media (max-width: 700px) { .yl .nav { display: none; } }
