/* BLOCK ZERO community v2 - layered on top of community.css. Only transform/opacity animations, no frameworks. */
:root { --hue: 205; }
body { position: relative; }
#stars { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; opacity: .9; }
.nav { position: sticky; top: 0; z-index: 20; max-width: none; padding: 12px max(20px, calc((100vw - var(--maxw)) / 2)); background: rgba(5,7,10,.72);
	-webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(111,231,255,.08); }
.nav-links { align-items: center; }
.nav-links a.pill { border: 1px solid rgba(46,230,168,.6); color: var(--teal); border-radius: 99px; padding: 6px 16px; }
.nav-links a.pill:hover { background: rgba(46,230,168,.12); color: var(--teal); box-shadow: 0 0 18px rgba(46,230,168,.25); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 6px; background: var(--white); color: #000; padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }

/* hero */
.hero2 { position: relative; text-align: center; padding: 64px 0 34px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 .78rem "Rajdhani", sans-serif; letter-spacing: .28em; text-transform: uppercase; color: var(--cyan); }
.eyebrow::before, .eyebrow::after { content: ""; width: 28px; height: 1px; background: linear-gradient(90deg, transparent, var(--cyan)); }
.eyebrow::after { transform: scaleX(-1); }
.hero2 h1 { font-size: clamp(2rem, 7vw, 3.6rem); margin-top: 14px; }
.hero2 h1 em { font-style: normal; background: linear-gradient(90deg, var(--blue), var(--cyan) 50%, var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero2 .lead { max-width: 560px; margin: 16px auto 0; }
.chain { display: flex; justify-content: center; align-items: center; margin: 30px auto 0; max-width: 420px; }
.chain i { width: 22px; height: 22px; border: 1.5px solid rgba(111,231,255,.55); border-radius: 5px; background: rgba(63,169,255,.08); flex: none; animation: blk 3.6s ease-in-out infinite; }
.chain b { height: 1.5px; flex: 1; background: linear-gradient(90deg, rgba(111,231,255,.55), rgba(46,230,168,.4)); }
.chain i:nth-of-type(2) { animation-delay: .6s; } .chain i:nth-of-type(3) { animation-delay: 1.2s; } .chain i:nth-of-type(4) { animation-delay: 1.8s; }
@keyframes blk { 0%, 100% { opacity: .45; transform: scale(1); } 50% { opacity: 1; transform: scale(1.12); } }

/* toolbar */
.bar { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: 22px; }
.tabs { display: flex; gap: 6px; padding: 4px; border: 1px solid var(--line); border-radius: 99px; background: rgba(17,22,29,.75); }
.tabs button { cursor: pointer; border: 0; background: transparent; color: var(--silver); font: 600 .88rem "Inter", sans-serif; padding: 8px 18px; border-radius: 99px; min-height: 40px; transition: background .2s, color .2s; }
.tabs button:hover { color: var(--white); }
.tabs button[aria-pressed=true] { background: linear-gradient(180deg, rgba(63,169,255,.38), rgba(63,169,255,.16)); color: var(--white); box-shadow: inset 0 0 0 1px rgba(111,231,255,.45); }
.search { position: relative; flex: 1 1 220px; max-width: 360px; }
.search input { width: 100%; padding: 11px 16px 11px 40px; border-radius: 99px; background: rgba(11,15,20,.85); min-height: 44px; }
.search svg { position: absolute; left: 14px; top: 50%; width: 17px; height: 17px; transform: translateY(-50%); stroke: var(--muted); fill: none; stroke-width: 2; pointer-events: none; }
.count { color: var(--muted); font-size: .82rem; margin-top: 14px; min-height: 1.3em; }

/* grid + cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin-top: 10px; }
.pc { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: linear-gradient(180deg, var(--steel-2), var(--steel));
	transition: transform .25s, border-color .25s, box-shadow .25s; animation: rise .5s both; }
.pc:hover, .pc:focus-within { transform: translateY(-4px); border-color: rgba(111,231,255,.5); box-shadow: 0 10px 34px -10px rgba(63,169,255,.45); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.banner { height: 84px; position: relative; background: linear-gradient(120deg, hsl(var(--hue) 70% 22%), hsl(calc(var(--hue) + 50) 65% 12%)); overflow: hidden; }
.banner::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, transparent 0 22px, rgba(255,255,255,.04) 22px 23px); }
.pc .body { padding: 0 18px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pc .cicon { width: 60px; height: 60px; margin-top: -30px; position: relative; z-index: 1; border: 2px solid var(--steel); box-shadow: 0 4px 16px rgba(0,0,0,.5); }
.pc h3 { font-size: 1.05rem; word-break: break-word; }
.pc h3 a { color: var(--white); }
.pc h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pc p { color: var(--silver); font-size: .9rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.pc .meta { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 6px; font-size: .78rem; color: var(--muted); }
.pc .like { position: relative; z-index: 2; }
.badge { position: absolute; top: 10px; left: 12px; z-index: 2; font: 700 .68rem "Rajdhani", sans-serif; letter-spacing: .14em; text-transform: uppercase; padding: 3px 10px; border-radius: 99px;
	background: rgba(5,7,10,.7); border: 1px solid rgba(46,230,168,.6); color: var(--teal); }
.hue0{--hue:205}.hue1{--hue:170}.hue2{--hue:265}.hue3{--hue:330}.hue4{--hue:25}.hue5{--hue:140}.hue6{--hue:230}.hue7{--hue:190}.hue8{--hue:300}.hue9{--hue:50}.hue10{--hue:350}.hue11{--hue:115}
.skeleton { height: 220px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(100deg, var(--steel) 30%, var(--steel-2) 50%, var(--steel) 70%); background-size: 200% 100%; animation: sh 1.4s linear infinite; }
@keyframes sh { to { background-position: -200% 0; } }

/* empty state */
.empty { grid-column: 1 / -1; text-align: center; padding: 54px 20px 50px; border: 1px dashed rgba(111,231,255,.28); border-radius: 22px; background: radial-gradient(500px 220px at 50% 0, rgba(63,169,255,.12), transparent 70%), rgba(17,22,29,.55); }
.empty .chain { margin-top: 0; margin-bottom: 20px; }
.empty h3 { font-size: 1.35rem; }
.empty p { color: var(--silver); max-width: 460px; margin: 10px auto 22px; }
.empty .ideas { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 22px; }
.empty .ideas span { border: 1px solid var(--line); border-radius: 99px; padding: 4px 14px; font-size: .82rem; color: var(--silver); }

/* start a project (quiet) */
.start { margin-top: 64px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 26px; align-items: center; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(135deg, rgba(63,169,255,.08), rgba(46,230,168,.05)), var(--steel); }
.start h2 { margin: 0 0 8px; }
.start p { color: var(--silver); margin-top: 6px; }
.start ol { list-style: none; display: grid; gap: 10px; counter-reset: s; }
.start li { counter-increment: s; display: flex; gap: 12px; align-items: flex-start; color: var(--silver); font-size: .92rem; }
.start li::before { content: counter(s); flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--teal); color: var(--teal); display: grid; place-items: center; font: 700 .8rem "Orbitron", sans-serif; }
.start .btn { margin-top: 16px; }
.fine { margin-top: 12px; font-size: .78rem; color: var(--muted); }

/* project detail page */
.pbanner { height: 150px; border-radius: 20px; margin-top: 8px; background: linear-gradient(120deg, hsl(var(--hue) 70% 24%), hsl(calc(var(--hue) + 50) 65% 12%)); position: relative; overflow: hidden; }
.pbanner::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, transparent 0 26px, rgba(255,255,255,.04) 26px 27px); }
.phead2 { display: flex; gap: 20px; align-items: flex-end; margin-top: -48px; padding: 0 22px; position: relative; flex-wrap: wrap; }
.phead2 .picon { border: 3px solid var(--void); box-shadow: 0 8px 28px rgba(0,0,0,.6); }
.phead2 h1 { font-size: clamp(1.5rem, 5vw, 2.3rem); word-break: break-word; }
.phead2 .lead { margin-top: 2px; }
.pcols { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 26px; margin-top: 8px; align-items: start; }
.pside { position: sticky; top: 76px; }
.pside .actions { margin-top: 18px; }
.pside .links { margin-top: 12px; }
.pcols section:first-child { margin-top: 18px; }

@media (max-width: 760px) {
	.start { grid-template-columns: 1fr; padding: 20px; }
	.pcols { grid-template-columns: 1fr; }
	.pside { position: static; order: -1; }
	.hero2 { padding: 40px 0 22px; }
	.tabs { width: 100%; justify-content: space-between; }
	.tabs button { padding: 8px 10px; flex: 1; }
	.search { max-width: none; flex-basis: 100%; }
	.grid { grid-template-columns: 1fr; }
	.phead2 { padding: 0 6px; }
}
@media (prefers-reduced-motion: reduce) { .pc, .chain i, .skeleton { animation: none !important; } .pc { transition: none; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.search input[type=search] { background: rgba(11,15,20,.85); color: var(--white); border: 1px solid #263040; font: 400 1rem "Inter", sans-serif; -webkit-appearance: none; appearance: none; }
.search input[type=search]:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(63,169,255,.18); }
.phead2 { align-items: flex-start; }
.phead2 > div { padding-top: 54px; }
@media (max-width: 760px) { .phead2 > div { padding-top: 0; } .phead2 { margin-top: -48px; } }
@media (max-width: 760px) { .phead2 { flex-direction: column; gap: 10px; } }

/* Shared bloz.org header (nav.bz-suite from /assets/bloz-header.css) + community sub-bar + footer like the landing page */
.subnav { position: relative; z-index: 2; border-bottom: 1px solid rgba(111,231,255,.08); background: rgba(5,7,10,.35); }
.subnav-in { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; max-width: var(--maxw); margin: 0 auto; padding: 10px 20px;
	font: 600 .84rem "Rajdhani", sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.subnav-k { color: var(--muted); font-size: .74rem; letter-spacing: .22em; margin-right: auto; display: inline-flex; align-items: center; gap: 10px; }
.subnav-k::before { content: ""; width: 8px; height: 8px; border: 1px solid var(--cyan); transform: rotate(45deg); box-shadow: 0 0 8px rgba(111,231,255,.5); }
.subnav-in a { color: var(--silver); padding: 4px 0; border-bottom: 1px solid transparent; }
.subnav-in a:hover { color: var(--cyan); }
.subnav-in a[aria-current="page"] { color: var(--cyan); border-bottom-color: var(--cyan); }
.subnav-in a.pill { border: 1px solid rgba(46,230,168,.6); color: var(--teal); border-radius: 99px; padding: 5px 16px; }
.subnav-in a.pill:hover, .subnav-in a.pill[aria-current="page"] { background: rgba(46,230,168,.12); color: var(--teal); box-shadow: 0 0 18px rgba(46,230,168,.25); }
.sitefoot { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding: 40px 20px 46px; border-top: 1px solid var(--line); }
.sitefoot-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; margin-bottom: 18px; }
.sitefoot-top .brand-text { font-size: .95rem; }
.sitefoot-links { display: flex; flex-wrap: wrap; gap: 10px 22px; font: 600 .85rem "Rajdhani", sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.sitefoot-links a { color: var(--silver); }
.sitefoot-links a:hover { color: var(--cyan); }
.sitefoot .copy { color: var(--muted); font-size: .85rem; }
.subnav { height: 0; border: 0; background: none; z-index: 5; }   /* no bar: the profile button floats */
.subnav-in { position: absolute; top: 12px; right: 20px; left: auto; max-width: none; margin: 0; padding: 0; gap: 0; }
@media (min-width: 1240px) { .subnav-in { right: calc((100vw - var(--maxw)) / 2 + 20px); } }
@media (max-width: 560px) {
	.subnav-in { top: 8px; right: 12px; font-size: .78rem; }
	.subnav-k { display: none; }
}

/* "Start a project" page: what you get, price, questions, then the form */
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.hero-cta .btn.ghost { padding: 13px 24px; min-height: 48px; font-size: .95rem; }
.gets, .pricing, .faq, .formhead { margin-top: 56px; scroll-margin-top: 90px; }
.gets h2, .pricing h2, .faq h2, .formhead h2 { margin: 0 0 6px; }
.gets-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(186px, 1fr)); gap: 16px; margin-top: 18px; }
.get { border: 1px solid var(--line); border-radius: 18px; padding: 20px 18px; background: linear-gradient(180deg, var(--steel-2), var(--steel)); transition: transform .25s, border-color .25s; animation: rise .5s both; }
.get:hover { transform: translateY(-3px); border-color: rgba(111,231,255,.45); }
.get:nth-child(2) { animation-delay: 60ms; } .get:nth-child(3) { animation-delay: 120ms; } .get:nth-child(4) { animation-delay: 180ms; } .get:nth-child(5) { animation-delay: 240ms; }
.get h3 { font-size: 1rem; margin: 14px 0 6px; }
.get p { color: var(--silver); font-size: .9rem; }
.gi { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(111,231,255,.35); background: rgba(63,169,255,.1); }
.gi svg { width: 22px; height: 22px; fill: none; stroke: var(--cyan); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.plan { border: 1px solid var(--line); border-radius: 20px; padding: 24px; background: radial-gradient(420px 160px at 0 0, rgba(63,169,255,.14), transparent 70%), var(--steel); }
.plan:first-child { border-color: rgba(46,230,168,.45); background: radial-gradient(420px 160px at 0 0, rgba(46,230,168,.14), transparent 70%), var(--steel); }
.plan-k { font: 600 .78rem "Rajdhani", sans-serif; letter-spacing: .22em; text-transform: uppercase; color: var(--cyan); }
.plan:first-child .plan-k { color: var(--teal); }
.plan-p { margin-top: 8px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.plan-p b { font: 900 2.6rem "Orbitron", sans-serif; color: var(--white); line-height: 1; }
.plan-p span { color: var(--silver); font-size: .95rem; }
.plan-b { margin-top: 6px; color: var(--muted); font: 400 .85rem "JetBrains Mono", monospace; min-height: 1.3em; }
.plan ul { list-style: none; margin-top: 16px; display: grid; gap: 8px; }
.plan li { position: relative; padding-left: 18px; color: var(--silver); font-size: .92rem; }
.plan li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border: 1px solid var(--teal); transform: rotate(45deg); }
.payinfo { margin-top: 16px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 16px; background: rgba(17,22,29,.6); display: grid; gap: 10px; }
.payinfo p { color: var(--silver); font-size: .92rem; }
.payinfo b { color: var(--white); }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: rgba(17,22,29,.6); margin-top: 10px; }
.faq summary { cursor: pointer; padding: 15px 44px 15px 18px; font-weight: 600; color: var(--white); list-style: none; position: relative; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--cyan); font: 600 1.3rem "Inter", sans-serif; transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 18px 16px; color: var(--silver); font-size: .92rem; }
details.rules { border: 1px solid var(--line); border-radius: 14px; background: rgba(17,22,29,.6); margin: 14px 0; scroll-margin-top: 90px; }
details.rules summary { cursor: pointer; padding: 15px 44px 15px 18px; font-weight: 600; color: var(--white); list-style: none; position: relative; min-height: 48px; }
details.rules summary::-webkit-details-marker { display: none; }
details.rules summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--cyan); font: 600 1.3rem "Inter", sans-serif; transition: transform .2s; }
details.rules[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details.rules h3 { margin: 14px 18px 4px; font-size: 1rem; color: var(--white); }
details.rules p { padding: 0 18px 8px; color: var(--silver); font-size: .92rem; }
.formhead + .panel { margin-top: 14px; }
@media (max-width: 760px) {
	.plans { grid-template-columns: 1fr; }
	.plan { padding: 20px; }
	.plan-p b { font-size: 2.2rem; }
	.gets, .pricing, .faq, .formhead { margin-top: 42px; }
	.hero-cta .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { .get { animation: none !important; transition: none; } }

/* my groups + my projects: wide tiles (logged in) */
.mine { margin-top: 30px; }
.mine h2 { font-size: 1.15rem; margin-bottom: 12px; }
.wlist { display: grid; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); gap: 12px; }
.wtile { position: relative; display: flex; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; color: inherit;
	background: linear-gradient(180deg, var(--steel-2), var(--steel)); transition: border-color .2s, transform .2s; min-width: 0; }
a.wtile:hover { border-color: rgba(111,231,255,.55); transform: translateY(-2px); }
.wtile.off { opacity: .8; }
.wlogo { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; flex: none; border: 1px solid var(--line); background: #0b0f14; }
.wlogo.ph { display: inline-flex; align-items: center; justify-content: center; font: 700 1.5rem "Rajdhani", sans-serif; color: var(--cyan); }
.wmeta { display: grid; gap: 4px; flex: 1; min-width: 0; }
.wmeta strong { color: var(--white); font-size: 1.02rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wtag { color: var(--silver); font-size: .86rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-height: 1.2em; }
.wtags { display: flex; gap: 6px; flex-wrap: wrap; }
.wgo { color: var(--cyan); font-size: 1.6rem; flex: none; }
.claim { margin-top: 12px; color: var(--silver); font-size: .9rem; }
.claim summary { cursor: pointer; color: var(--muted); }
.claim .actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.claim input { flex: 1 1 220px; max-width: 360px; }
@media (max-width: 520px) { .wlist { grid-template-columns: 1fr; } }
