/* Flat, utilitarian design language (white, plain sans, thin rules, small radii, no shadows).
   Loaded last; overrides the earlier editorial look. Only the wordmark keeps a serif. */
:root{--ok:#0b7a3e;--bad:#b42318;--paper:#fff;--card:#fff;--ink:#282828;--mute:#6a6e73;--line:#dcdfe2;--track:#e6e9eb;--green:#0b7a3e;--green-d:#08662f;--green-l:#e9f6ef;--disp:var(--ui);--r:6px}
body,#device,.tabbar,.topbar{background:#fff}
h1,h2,h3,h4,.h1,.h2,.big,.stat b,.sec-h h2{font-weight:500;letter-spacing:-.01em}
.brand,.logo,.dn-brand,.dfoot .brand{font-family:Fraunces,Georgia,serif;font-weight:700;letter-spacing:-.02em}
/* radii and shadows */
.btn,.btn.small,input,select,textarea,.chip,.pill,.tb-btn,.icon-btn,.seg a{border-radius:4px}
.btn.primary,.btn.green,.btn.holo,.cta .btn,.pcard,.feat,.hero-art,.sh,.toast{box-shadow:none}
.card,.list,.stat,.opt,.empty,.dark,.risk,.dco-card,.prow,.item{border-radius:6px}
.pill{border-radius:3px;font-weight:600}
.chip{border-radius:4px;box-shadow:none;border:1px solid var(--line);background:#fff}.chip.on{background:var(--ink);color:#fff;border-color:var(--ink)}
.progress{height:6px;border-radius:0;background:var(--track)}.progress i{border-radius:0}
.avatar{background:var(--green-l)}
/* cards: image, thin progress strip, title, creator, one meta line */
.pcard{background:transparent;border:0;border-radius:0;overflow:visible}
.pcard:hover,.pcard:active{transform:none;box-shadow:none}
.pcard:hover h3{text-decoration:underline}
.pc-art{aspect-ratio:16/9;border-radius:4px 4px 0 0;overflow:hidden}
.pcard>.progress{height:6px}
.pc-b{padding:10px 0 4px;gap:4px}.pc-b h3{font:500 17px/1.25 var(--ui);letter-spacing:0}
.pc-by{font-size:13px;color:var(--mute)}.pc-m{display:flex;align-items:center;gap:6px;justify-content:flex-start;font-size:13px;color:var(--mute)}.pc-m .ic{flex:none}
.pc-tag .pill{background:rgba(255,255,255,.95);color:var(--ink)}.pc-tag .pill.g{background:var(--green);color:#fff}.pc-tag .pill.r{background:var(--red);color:#fff}
.prow{border-radius:6px;background:#fff}
/* inputs */
input,select,textarea{border-width:1px;border-color:#bfc4c9}
input:focus,select:focus,textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px var(--green-l)}
.auth-card,.auth-foot{border-radius:6px}

@media(min-width:960px){
  /* header: logo, wide search, For creators / Log in, then a plain category row */
  #device.desk .tabbar{height:auto;background:#fff;border-bottom:1px solid var(--line)}
  .dn{height:76px}
  #device.desk .tabbar .dn a.dn-brand{font:700 32px Fraunces,Georgia,serif;letter-spacing:-.02em}
  .dn-search{flex:1;max-width:none;margin:0 6vw;border-radius:6px;border:1px solid #bfc4c9;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.08);padding:0 14px}
  .dn-search input{padding:13px 0;font-size:15px}
  .dn-search:focus-within{box-shadow:0 0 0 3px var(--green-l);border-color:var(--green)}
  #device.desk .tabbar .dn a.dn-out{border:1px solid #bfc4c9;border-radius:4px;padding:11px 16px;font-weight:500}#device.desk .tabbar .dn a.dn-out:hover{background:#f4f5f6}
  #device.desk .tabbar .dn a.dn-link{font-weight:500}
  #device.desk .tabbar .dn a.dn-av{border-radius:50%}
  .dn-cats{display:flex;justify-content:center;flex-wrap:wrap;gap:4px 14px;padding:0 32px 14px;max-width:1280px;margin:0 auto}
  #device.desk .tabbar .dn-cats a{flex:none;font:400 15.5px var(--ui);color:var(--ink);padding:4px 2px;border-bottom:2px solid transparent;display:inline-block}
  #device.desk .tabbar .dn-cats a:hover{border-bottom-color:var(--ink)}#device.desk .tabbar .dn-cats a.on{border-bottom-color:var(--green)}
  .dn-sep{width:1px;background:var(--line);margin:0 4px}
  /* home */
  .dh-title{text-align:center;font:300 34px/1.2 var(--ui);letter-spacing:-.01em;margin:34px 0 26px}
  .dh-top{max-width:1280px;margin:0 auto;padding:0 32px;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:40px}
  .dh-fcol h2,.dh-rh h2{font:400 22px var(--ui);margin-bottom:14px}.dh-rh{display:flex;justify-content:space-between;align-items:baseline}.dh-rh a{font-size:14px;font-weight:500;color:var(--ink)}.dh-rh a:hover{text-decoration:underline}
  .dh-feat{display:block;position:static;aspect-ratio:auto;border-radius:0;overflow:visible;color:var(--ink)}
  .dh-fm{position:relative;aspect-ratio:16/10;border-radius:4px 4px 0 0;overflow:hidden}.dh-fm .mv,.dh-fm svg{position:absolute;inset:0;width:100%;height:100%}
  .dh-fb{padding:14px 0}.dh-fb h3{font:500 24px/1.2 var(--ui);margin-bottom:6px}.dh-fb p{color:var(--mute);font-size:16px;margin-bottom:10px}
  .dh-feat:hover h3{text-decoration:underline}
  .dgrid.two{grid-template-columns:repeat(2,1fr);gap:22px}
  .dh-cats{margin-bottom:18px}.dh-cats .chips{padding:0}
  .dsec{margin-top:48px}.dsec-h{border-bottom:1px solid var(--line);padding-bottom:10px;margin-bottom:18px}.dsec-h h2{font:400 22px var(--ui)}.dsec-h a{color:var(--ink);font-weight:500;font-size:14px}.dsec-h a:hover{text-decoration:underline}
  .dgrid{gap:26px 22px}
  .dcta{border-radius:6px;background:#0f3d2a;padding:36px 44px}.dcta h2{font:400 28px var(--ui)}.dcta .btn{border-radius:4px}
  .dhow,.dh-stats{display:none}
  /* discover */
  .ds-head h1{font:400 30px var(--ui)}.ds-opt{border-radius:4px}.ds-opt.on{background:var(--ink)}
  /* project page */
  .dp-head h1{font:400 40px/1.15 var(--ui)}.dp-head p{font-size:18px}
  .dp-media{border-radius:4px}
  .dp-fund{border:0;border-radius:0;padding:0}
  .dp-fund .big{color:var(--green);font:500 36px var(--ui)}
  .dp-cta .btn{border-radius:4px}
  .dp-act .btn{border-radius:4px;background:#fff}
  .dp-rw{border-radius:6px;border-width:1px}a.dp-rw:hover{background:#fff;border-color:var(--ink);transform:none}
  .dp-rw-h b{font:500 22px var(--ui);color:var(--ink)}.dp-rw h4{font:500 17px var(--ui)}
  .dp-rh{font:400 20px var(--ui)}
  .dp-tabs a.on{border-bottom-color:var(--ink)}
  .dco-card{border-radius:6px}.dco-art,.dco-art .mv{border-radius:4px}
  .dash-side a{border-radius:4px}.dash-side a.on{background:#f1f3f4;color:var(--ink)}
  /* footer */
  .dfoot{background:#f4f5f6;color:var(--ink);margin-top:72px}.dfoot .brand{color:var(--ink)}.dfoot h4{color:var(--mute)}.dfoot a{color:var(--ink)}.dfoot a:hover{text-decoration:underline}.dfoot-fine{border-top-color:var(--line);color:var(--mute)}
  .dfoot-brand p{color:var(--mute)}
}

/* ---- Frontend pass: accessibility, tap targets, layout fixes (Nov 2026) ---- */
:root{--mute:#5f636a;--focus:#0b7a3e}
/* visible keyboard focus everywhere; inputs keep their green ring too */
:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
.btn.primary:focus-visible,.btn.green:focus-visible,.chip.on:focus-visible,.tb-btn:focus-visible{outline-color:#16130f;box-shadow:0 0 0 2px #fff}
input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--focus);outline-offset:0}
.sh:focus,#app:focus{outline:none}
/* muted text and small labels meet 4.5:1 on white */
.tabbar a{color:#5f636a}.tabbar a.on{color:var(--ink)}
.pill.m{background:#5f636a}
.tabbar a{font-size:11px}
/* project page: one primary button. The sticky bar is the single Back this project button on phones. */
.pj .cta-d{display:none}
.seg{position:sticky}.seg.more{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 36px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 36px),transparent)}
/* sticky action bars are solid so they never sit half over content; focused fields scroll clear of them */
.cta{background:#fff;border-top:1px solid var(--line);box-shadow:0 2px 0 #fff}
#app{scroll-padding-bottom:110px;scroll-padding-top:70px}
/* toast goes to the top so it never covers a form or the bar */
#toast{bottom:auto;top:62px}
@media(min-width:960px){#toast{bottom:auto;top:88px}}
#toast .toast{box-shadow:0 6px 20px rgba(0,0,0,.25)}
/* floating feedback button sits above sticky bars and the consent strip */
#device.has-cta #fb-btn{bottom:170px}
#device.has-consent #fb-btn{bottom:340px}
#device.has-cta.has-consent #fb-btn{bottom:250px}
@media(min-width:960px){#device.has-cta #fb-btn,#device.has-consent #fb-btn,#device.has-cta.has-consent #fb-btn{bottom:24px}}
/* consent strip: a flex row above the tab bar, so nothing is covered */
#consent{position:fixed;z-index:60;left:12px;right:12px;bottom:calc(86px + env(safe-area-inset-bottom,0px));display:flex;flex-direction:column;gap:10px;padding:18px 18px 14px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 18px 50px rgba(0,0,0,.22);font-size:14.5px;line-height:1.45;color:var(--ink);animation:csin .35s ease both}@keyframes csin{from{opacity:0;transform:translateY(16px)}}#consent .cs-t{font-size:17px}#consent p{margin:0}#consent .cs-l{margin:0;padding-left:18px;color:var(--mute);font-size:13.5px}#consent .cs-l li{margin-bottom:2px}#consent .cs-b{display:flex;gap:10px}#consent .cs-b .btn{flex:1}#consent .cs-a{align-self:center;font-size:13px}
#consent p{color:var(--ink)}#consent a{text-decoration:underline;color:var(--green);font-weight:600}

@media(min-width:960px){#consent{left:auto;right:24px;bottom:24px;width:400px}}
/* category grid in the creator wizard */
.cat-grid .opt{min-height:56px;display:flex;align-items:center}
/* tap targets: 44px minimum on phones */
@media(max-width:959px){
  .tb-btn,.icon-btn{width:44px;height:44px}.tb-sp,.tb-right{min-width:44px}
  .chip{min-height:44px;display:inline-flex;align-items:center}
  .btn.small{min-height:44px;display:inline-flex;align-items:center;justify-content:center}
  .seg a{display:flex;align-items:center;min-height:46px}
  .auth-foot a,.auth-fine a,.info a,.item b a{display:inline-block;padding:14px 6px;margin:-14px -2px}
  .auth-brand .brand{display:inline-block;padding:8px 14px}
  .check input{width:24px;height:24px}
  .check{min-height:44px}
  details summary{min-height:30px}
  .item{min-height:56px}
  .ck-r{min-height:44px}
  .tabbar a{min-height:44px;justify-content:center}
}
.dfoot a{min-height:44px;display:flex;align-items:center}
/* analytics and refund lists */
.an-h{font:500 15px var(--ui)}
.an-row{display:grid;grid-template-columns:minmax(90px,38%) 1fr 72px;gap:10px;align-items:center;font-size:13.5px}
.an-l{color:var(--mute)}.an-bar{height:8px;background:var(--track);display:block}.an-bar i{display:block;height:100%;background:var(--green)}
.an-n{text-align:right;font-weight:600;white-space:nowrap}.an-n small{color:var(--mute);font-weight:400}
.rf-row{display:flex;flex-direction:column;gap:6px;padding-bottom:12px;border-bottom:1px solid var(--line)}
.rf-row input[aria-invalid="true"]{border-color:var(--red)}
.stats.two .stat span{display:block;line-height:1.3}
/* respect reduced motion for everything we animate */
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.spin{animation-duration:1.6s!important}.skel{animation:none}.mv video{display:none}.heart-pop{animation:none}}
/* short screens with an action bar (pledge, wizard, forms): the bar sits at the bottom of the screen, not under the last line */
#app>div:has(>.cta){min-height:100%;display:flex;flex-direction:column}#app>div:has(>.cta)>.cta{margin-top:auto}
#an{display:flex;flex-direction:column;gap:12px}

#fb-btn{width:44px;height:44px}
/* ---- F1: uploads, project sections, timelines ---- */
.thumb{width:64px;height:64px;object-fit:cover;border-radius:4px;flex:none;border:1px solid var(--line)}
.rw-img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:4px;margin-bottom:10px;display:block}
.cover-prev{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:4px;margin-bottom:8px;display:block}
.upl{display:flex;flex-direction:column;gap:6px;align-items:flex-start}
.upl-bar{width:100%;height:8px;background:var(--track)}.upl-bar[hidden]{display:none}.upl-bar i{display:block;height:100%;width:0;background:var(--green);transition:width .2s}
.gal-edit,.gal{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-bottom:10px}
.gal img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:4px;display:block;background:#eee}
.gal-i{display:flex;flex-direction:column;gap:6px}.gal-i img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:4px}
.vid-prev{width:100%;max-height:420px;background:#000;border-radius:4px;display:block;margin-bottom:8px}
.px{margin-top:26px}.px>.h2{margin-bottom:10px}
.team{display:grid;grid-template-columns:1fr;gap:14px}.tm{display:flex;gap:12px;align-items:flex-start}.tm>img{width:64px;height:64px;object-fit:cover;border-radius:50%;flex:none}.tm .avatar{width:64px;height:64px;font-size:22px}
.bud{padding:8px 0;border-bottom:1px solid var(--line)}.bud:last-of-type{border-bottom:0}.bud .progress{margin-top:6px;height:4px}
.tl{list-style:none;border-left:2px solid var(--line);margin-left:6px;padding-left:18px;display:flex;flex-direction:column;gap:16px}
.tl li{position:relative}.tl li:before{content:"";position:absolute;left:-26px;top:4px;width:12px;height:12px;border-radius:50%;background:#fff;border:2px solid var(--mute)}.tl li.done:before{background:var(--green);border-color:var(--green)}
.tl li b{display:block}
.sug{padding-left:18px;display:flex;flex-direction:column;gap:6px}
.share-url{font-size:13px}
.rrow textarea{min-height:80px}
.item.card{padding:14px 16px}
@media(min-width:960px){
  .gal{grid-template-columns:repeat(3,1fr)}.team{grid-template-columns:repeat(2,1fr)}
  .dp-body .px:first-child{margin-top:0}
  .gal-edit{grid-template-columns:repeat(4,1fr)}
}
.px .between,.rrow .between,.bud .between{display:flex;align-items:center;gap:10px}
.px~.risk{margin-top:26px}.stack>.pill{align-self:flex-start}
.ck .between{display:flex;align-items:center;gap:10px}
.card>.between{display:flex;align-items:center;gap:10px}
#rp{display:flex;flex-direction:column;gap:12px}
.auth-or{text-align:center;color:var(--mute);font-size:13px;margin:0}
.linkbtn{background:none;border:0;color:var(--green);text-decoration:underline;font:inherit;cursor:pointer;padding:12px 6px;align-self:center}

/* Layout fixes (2026-11-21): label above its description wherever <b>Label</b><span class="s">..</span> is used */
.step .grow>b,.grow>b:has(+ .s),.grow>b:has(+ span.s){display:block}
.step .grow>.s,.grow>b+.s{display:block;font-size:12.5px;color:var(--mute);margin-top:2px}
/* role tick-boxes: the global input style must not stretch the checkbox */
.chip-check input[type=checkbox]{width:16px!important;height:16px;min-width:0;padding:0;margin:0;flex:none;box-shadow:none}
.chip-check span{white-space:nowrap}
/* tags size to their text, even inside column layouts */
.sample-tag,.pill{align-self:flex-start;width:auto;max-width:100%}
.between>.big,.big{white-space:nowrap}
.between{gap:10px}.between>*{min-width:0}
.step>.grow{flex:1;min-width:0}
/* breathing room between stacked form fields */
.field+.field,.field+.cover-pick,.field+div>.field:first-child{margin-top:14px}
.card>.field+.field{margin-top:14px}
