.community-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:20px 0;flex-wrap:wrap}.community-toolbar .section-note{margin:0;max-width:720px}.community-search{display:flex;gap:8px;flex:1;max-width:520px}.community-search input{min-width:0;flex:1;border:1px solid var(--line);border-radius:10px;padding:11px 14px;background:#fff;color:var(--text)}.notes-grid,.hackathon-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.note-card,.hackathon-card{display:flex;flex-direction:column;min-width:0}.note-card h2,.hackathon-card h2{font-size:20px;line-height:1.35;color:var(--text);margin:18px 0 10px;overflow-wrap:anywhere}.note-card p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;color:#586e8f;min-height:72px;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;margin:0 0 14px}.note-card small,.hackathon-card small{font-size:12px;color:var(--muted);line-height:1.7}.note-card-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding-top:18px}.community-pagination,.community-empty{grid-column:1/-1}.community-empty{text-align:center;padding:48px 24px}.community-empty>span{display:inline-grid;place-items:center;width:64px;height:64px;border-radius:20px;background:#edf3ff;color:#2468dd;font-size:32px}.community-empty h2{margin:20px 0 10px}.community-empty p{color:var(--muted);margin-bottom:22px}.community-dialog{border:0;border-radius:20px;padding:28px;width:min(720px,calc(100vw - 32px));max-height:90dvh;overflow:auto;color:var(--text);box-shadow:0 25px 80px #10284d40}.community-dialog::backdrop{background:#10284d70;backdrop-filter:blur(4px)}.wide-dialog{width:min(900px,calc(100vw - 32px))}.community-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.community-check{display:flex!important;align-items:center;gap:10px;line-height:1.6}.community-check input{width:18px!important;min-height:18px!important;margin:0;flex:none}.community-code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace!important;line-height:1.6;tab-size:4}.community-error{padding:12px;border-radius:10px;background:#fff0ef;color:#a63030}.community-error[hidden]{display:none}.hackathon-card{border-top:4px solid #3983ef}.hackathon-symbol{display:grid;place-items:center;width:46px;height:46px;border-radius:13px;background:#edf3ff;color:#2468dd;font-size:26px}.hackathon-card>p{color:var(--muted);line-height:1.7;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:62px}.hackathon-card>.primary-btn{margin-top:auto;transform:none}.hackathon-card>small{margin:16px 0 22px}.hackathon-tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.hackathon-tags>span{padding:7px 10px;background:#f0f5fc;border-radius:8px;font-size:11px;font-weight:650;color:#54708d}.hackathon-phase{padding:7px 12px;background:#eef2f7;color:#5d708a;border-radius:20px;font-size:12px;font-weight:800;text-transform:capitalize;white-space:nowrap}.phase-live{background:#e8f8ef;color:#168052}.phase-upcoming{background:#eaf1ff;color:#2468dd}.phase-ended{background:#f3edff;color:#7854ae}.phase-cancelled{background:#fff0ed;color:#ad4942}.hackathon-hero{background:linear-gradient(120deg,#fff,#eff5ff);border:1px solid #cfddf2}.hackathon-hero h1{font-size:34px;line-height:1.25;margin:10px 0 14px;overflow-wrap:anywhere}.hackathon-hero p{color:var(--muted);line-height:1.7;max-width:800px;white-space:pre-wrap}.hackathon-hero .community-toolbar{margin-bottom:0}.community-prose{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;color:#4a627f}.hackathon-test-cases{margin-top:18px;background:#f6f8fc;border-radius:12px;padding:16px}.hackathon-test-cases>div{border-top:1px solid var(--line);margin-top:14px;padding-top:14px}.hackathon-test-cases pre,.hackathon-case-output{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.6}.hackathon-input{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:12px}.hackathon-input input{padding:10px;border:1px solid var(--line);border-radius:8px;min-width:0;max-width:300px}.hackathon-source{display:block;width:100%;min-height:350px;resize:vertical;padding:20px;border:1px solid #233c5b;border-radius:12px;margin:18px 0;color:#d8e7ff;background:#101e32;font-size:14px}.hackathon-output{padding:18px;background:#f1f5fb;border-radius:12px;white-space:pre-wrap;overflow-wrap:anywhere;max-height:320px;overflow:auto;line-height:1.6}.hackathon-preview{width:100%;height:350px;background:white;border:1px solid var(--line);border-radius:12px;margin:12px 0}.hackathon-review-card{padding:20px 0;border-top:1px solid var(--line);margin-top:16px}.hackathon-review-card h3{margin:0;font-size:18px}.hackathon-review-card details{margin:14px 0}.hackathon-review-card summary, .hackathon-test-cases summary, .hackathon-membership summary{cursor:pointer;color:#2468dd;font-weight:750;font-size:13px}.invite-label{display:grid;gap:8px;max-width:500px;margin:12px 0;color:var(--muted);font-size:12px}.invite-label input{font-family:ui-monospace,monospace;font-size:15px;border:1px solid var(--line);padding:12px;border-radius:10px;color:#2468dd;background:#f5f8ff;width:100%}.hackathon-review-card .form-stack{margin-top:18px}.community-toolbar button:disabled{opacity:.5;cursor:wait}
@media(max-width:1100px){.notes-grid,.hackathon-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.notes-grid,.hackathon-grid,.community-form-grid{grid-template-columns:1fr}.community-dialog{padding:20px}.community-toolbar{align-items:stretch}.community-search{max-width:none;width:100%}.community-toolbar>button{flex:1}.hackathon-hero h1{font-size:26px}.hackathon-hero>.row-between{align-items:flex-start;gap:12px}.hackathon-source{font-size:13px;min-height:280px}.hackathon-input{flex-wrap:wrap}.hackathon-review-card .row-between{flex-wrap:wrap}.hackathon-tags>span{overflow-wrap:anywhere}.community-empty{padding:32px 18px}}
.hack-case-editor{border:1px solid var(--line);padding:16px;border-radius:12px;background:#f8faff}.hack-case-row{padding-top:14px;margin-top:14px;border-top:1px solid var(--line)}.hack-case-row>.row-between{margin-bottom:10px}.hack-case-row b{font-size:12px;color:#54708d}
