:root{color-scheme:dark;--bg:#10151b;--panel:#171e26;--hi:#202a35;--line:#2b3542;--accent:#a4c3dd;--muted:#a2adbd;--ink:#e2e8ef;font:16px/1.5 ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--bg);color:var(--ink)}
*{box-sizing:border-box}body{margin:0;min-height:100dvh}a{color:inherit;text-decoration:none}button,input{font:inherit;touch-action:manipulation}:where(a,button,input):focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.projects-sidebar{position:fixed;inset:0 auto 0 0;z-index:30;display:flex;flex-direction:column;width:248px;padding:30px 20px 25px;background:#131a22;border-right:1px solid var(--line);overflow-y:auto;overscroll-behavior:contain}.projects-sidebar-heading{display:flex;align-items:center;justify-content:space-between;gap:6px;margin:0 7px 28px}.projects-sidebar nav{display:flex;flex-direction:column;gap:4px}.projects-nav-link{display:flex;align-items:center;gap:12px;min-height:44px;padding:9px 12px;border-radius:5px;color:var(--muted);font-size:13px;line-height:1.4}.projects-nav-link:hover{background:#1e2a36;color:var(--ink)}.projects-nav-link.active{background:#253545;color:#e1edf6;box-shadow:inset 2px 0 var(--accent)}.projects-nav-link svg{width:19px;height:19px;flex:none;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.projects-nav-link span{min-width:0}.projects-nav-link small{display:block;margin-top:2px;font-size:11px;color:var(--muted)}.projects-nav-caption{padding:22px 12px 5px;color:var(--muted);font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase}
.projects-app-body{margin-left:248px;min-width:0}.projects-topbar{position:sticky;top:0;z-index:10;display:flex;align-items:center;gap:12px;min-height:72px;padding:10px 35px;background:#131a22;border-bottom:1px solid var(--line)}.projects-breadcrumb{font-size:13px;font-weight:600}.projects-topbar #project-account{margin-left:auto}.projects-topbar .projects-mobile-brand,.projects-topbar .projects-menu-toggle,.projects-sidebar-heading button{display:none}.projects-icon-button{display:inline-flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;min-height:44px;padding:10px;border:0;background:transparent;color:var(--muted);border-radius:5px}.projects-icon-button:hover{background:var(--hi);color:var(--ink);filter:none}.projects-icon-button svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}.projects-icon-button[hidden],.projects-nav-backdrop[hidden]{display:none}
.brand{display:flex;align-items:center;flex:none;white-space:nowrap;font-size:17px;font-weight:800;letter-spacing:-.7px;color:#d9e0e8}.brand>span:last-child{font-weight:350;letter-spacing:1px;margin-left:3px}.brand-mark{font-size:29px;line-height:1;margin-right:8px;color:var(--accent)}
main{width:100%;min-width:0;max-width:none;margin:0;padding:30px 35px 35px}.projects-header{margin-bottom:24px}h1{font-size:27px;font-weight:600;line-height:1.2;letter-spacing:-.5px;margin:0}h2{font-size:16px;font-weight:650;line-height:1.4;letter-spacing:0;margin:0}
.project-section,.project-card{--project-accent:#a4c3dd;--project-tint:#213244}
.project-section[data-project-category="tools"],.project-card[data-project-category="tools"]{--project-accent:#acd0c2;--project-tint:#20342f}
.project-section+.project-section{margin-top:32px}
.project-category-heading{display:flex;align-items:center;gap:10px;margin:0 0 16px;font-size:16px;font-weight:650}
.project-category-heading::after{content:"";height:1px;flex:1;margin-left:6px;background:linear-gradient(90deg,var(--line),transparent)}
.project-category-icon{display:inline-flex;align-items:center;justify-content:center;flex:none;width:32px;height:32px;border:1px solid var(--line);border-radius:8px;background:var(--project-tint);color:var(--project-accent)}
.project-category-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.project-grid{display:flex;flex-wrap:wrap;gap:16px}
.project-card{display:flex;flex:1 1 320px;flex-direction:column;min-width:0;width:100%;max-width:380px;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:var(--panel)}
.project-card:hover,.project-card:focus-within{border-color:var(--project-accent)}
/* Select card copy instead of starting the browser's link/image drag. */
a:is(.project-card,.database-card,.public-site-card-link,.public-site-topic-card,.guide-topic,.guide-row,.event-card,.community-work,.wiki-collection-heading,.wiki-collection-preview){-webkit-user-select:text;user-select:text;-webkit-user-drag:none}
a:is(.project-card,.database-card,.public-site-card-link,.public-site-topic-card,.guide-topic,.guide-row,.event-card,.community-work,.wiki-collection-heading,.wiki-collection-preview) img{-webkit-user-drag:none}
.project-art{display:block;aspect-ratio:1200/630;background:var(--hi);border-bottom:1px solid var(--line)}
.project-art img{display:block;width:100%;height:100%;object-fit:cover}
.project-copy{display:flex;flex:1;flex-direction:column;align-items:flex-start;gap:6px;padding:16px;min-width:0;overflow-wrap:anywhere}
.project-copy h2{font-size:16px}
.project-copy>p{font-size:14px;color:var(--muted);margin:0;line-height:1.55}
.play-button{display:inline-flex;align-items:center;gap:5px;min-height:40px;margin-top:auto;font-size:13px;font-weight:600;color:var(--project-accent)}
button{border:1px solid var(--accent);border-radius:6px;padding:9px 12px;min-height:40px;color:#17212b;background:var(--accent);font-size:13px;font-weight:600;cursor:pointer}button:hover{filter:brightness(1.08)}button:disabled{opacity:.5;cursor:wait}.save-note{color:var(--muted);font-size:13px;margin:22px 0 0}
#project-account{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0;font-size:13px;color:var(--muted)}#project-account>span{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#project-account button{flex:none;padding:8px 12px;min-height:40px;background:var(--hi);border-color:var(--line);color:var(--ink)}#project-account button:hover{border-color:#526579}
#project-account>span:empty{display:none}
#project-account>.project-account-error{display:block;position:absolute;top:calc(100% + 8px);right:12px;max-width:min(360px,calc(100vw - 24px));padding:10px 12px;border:1px solid var(--line);border-radius:5px;background:var(--hi);color:var(--ink);white-space:normal;overflow-wrap:anywhere;font-size:12px}
@media(max-width:1150px) and (min-width:761px){.projects-sidebar{width:205px;padding-right:14px;padding-left:14px}.projects-app-body{margin-left:205px}.projects-topbar{padding-right:28px;padding-left:28px}main{padding-right:28px;padding-left:28px}}
@media(max-width:760px){.projects-app-body{margin-left:0}.projects-topbar{min-height:64px;padding:10px max(12px,env(safe-area-inset-right)) 10px max(8px,env(safe-area-inset-left));gap:8px}.projects-breadcrumb{display:none}.projects-topbar .projects-mobile-brand{display:flex;font-size:15px;letter-spacing:-.5px}.projects-mobile-brand .brand-mark{font-size:27px;margin-right:6px}.projects-nav-ready .projects-menu-toggle{display:inline-flex}.projects-sidebar{position:static;width:auto;padding:14px 16px;border-right:0;border-bottom:1px solid var(--line)}.projects-sidebar-heading{display:none}.projects-nav-ready .projects-sidebar{position:fixed;inset:0 auto 0 0;z-index:30;width:min(280px,calc(100vw - 40px));height:100dvh;padding:16px 14px max(16px,env(safe-area-inset-bottom));border-bottom:0;border-right:1px solid var(--line);transform:translateX(-100%);visibility:hidden;transition:transform .18s ease}.projects-nav-ready .projects-sidebar.open{transform:translateX(0);visibility:visible}.projects-nav-ready .projects-sidebar-heading{display:flex;margin:0 0 22px 7px}.projects-sidebar-heading .brand{font-size:16px}.projects-sidebar-heading .brand-mark{margin-right:5px}.projects-sidebar-heading button{display:inline-flex}.projects-nav-backdrop{position:fixed;inset:0;z-index:20;background:#05090fb8}.projects-menu-open{overflow:hidden}.projects-nav-link{min-height:48px}main{padding:24px 16px}.projects-header{margin-bottom:20px}h1{font-size:24px}#project-account{gap:0}#project-account>span{display:none}#project-account button{min-height:44px;padding:8px 10px}.play-button{min-height:44px}}
@media(max-width:650px){.project-card{max-width:none}.save-note{line-height:1.6}}
@media(prefers-reduced-motion:reduce){.projects-nav-ready .projects-sidebar{transition:none}}
