/* Measurements from Curations Supply at 1202 × 866; preserve geometry. */
@font-face{font-family:GeistMono;src:url('assets/GeistMono.ttf') format('truetype');font-display:swap}
body{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI','PingFang SC',sans-serif;background:#090909}
.planet-hero{height:auto;min-height:60px;padding:20px;border-bottom:1px solid #ffffff1a}.planet-content{height:auto;padding:64px 32px;gap:40px}.planet-content h1{max-width:495px;width:100%;font-size:48px;font-weight:500;line-height:1.1;letter-spacing:-1.2px}.hero-search-block{max-width:none;display:flex;flex-direction:column;gap:12px;align-items:center}.hero-search-block p{font-size:16px;line-height:24px;white-space:nowrap;color:#ffffff99;margin:0}.planet-search{width:100%;max-width:480px;padding:4px;gap:8px;border-radius:14px;background:#ffffff0d;min-height:50px;margin:0}.planet-search input{font-size:14px;padding:10px 12px;line-height:20px}.planet-search button{font-size:14px;line-height:20px;height:40px;padding:0 24px;border-radius:10px;gap:8px}.planet-search button svg{display:none}.hero-people{gap:8px;font-size:14px;line-height:20px;letter-spacing:-.6px;height:20px}.hero-people .avatar{width:20px;height:20px;font-size:8px}.hero-community{display:none}.motion-toggle{z-index:5;opacity:0;transition:opacity .2s}.planet-hero:hover .motion-toggle,.motion-toggle:focus-visible{opacity:1}.planet-glow{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:2}.planet-glow-surface{position:absolute;inset:0;min-width:100%;height:100%;transform:scale(1.4,1.1)}.planet-content{position:relative;z-index:1}
.header{padding:0 24px;gap:24px}.header .brand{font-size:18px;gap:6px;letter-spacing:0}.header .brand span{font-size:18px}.header .global-search{font-size:14px}.header nav{margin:0 8px;gap:12px}.header nav a{font-size:12px}.header nav #language-toggle{border:1px solid #303032;background:#252527;border-radius:8px;font-size:12px;color:#fff;height:36px;padding:0 12px}.header .create-button,.space-button{font-family:var(--mono);font-size:12px}.header .create-button>span{display:none}.header-favorites{font-size:13px}
.workspace-shell,body.sidebar-collapsed .workspace-shell{grid-template-columns:200px minmax(0,1fr)}.left-sidebar,body.sidebar-collapsed .left-sidebar{padding:12px 16px}.sidebar-row,body.sidebar-collapsed .sidebar-row{font-family:GeistMono,monospace;font-size:12px;padding:8px;min-height:34px;border-radius:0;gap:8px}.left-sidebar .sidebar-row.active{background:none;color:#fff}.left-sidebar .sidebar-row>span:last-child:not(.sidebar-label){display:none}.sidebar-discovery{margin-top:16px;padding-top:12px}.sidebar-bottom{font-family:GeistMono,monospace}.sidebar-bottom p{font-size:16px}.catalog-heading{height:50px;padding:0 24px;border-bottom:1px solid #ffffff1a}.catalog-heading h2{font:400 20px/28px var(--mono);letter-spacing:0}.catalog-heading h2 span{display:none}.catalog-heading>div{gap:12px}.small-control{font:400 14px/20px var(--mono);padding:6px 8px;border-radius:8px}.carousel-arrow{width:32px;font:20px/20px ui-sans-serif,system-ui}.small-control:disabled{opacity:.35;cursor:default}.featured-rail{display:grid;grid-template-rows:repeat(2,auto);grid-auto-flow:column;grid-auto-columns:calc((100% - 32px)/3);gap:16px;padding:24px;scroll-padding-inline:24px;align-items:start}.featured-rail .work-card{width:100%;min-width:0}.work-card{padding:0!important;background:#121212;border:1px solid #ffffff14;border-radius:16px;box-shadow:none;height:auto}.work-card:hover{background:#202020;border-color:#ffffff14}.card-title-row{padding:16px 16px 0;position:relative;gap:8px}.work-card .title-button{font-size:16px!important;line-height:20px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:flex;gap:8px;min-width:0;margin:0;padding:0}.title-button .avatar{width:18px;height:18px;border-radius:4px}.card-title-row .star-button{position:absolute;right:12px;top:12px;height:30px;padding:4px;opacity:0;background:#121212;transition:opacity .2s}.work-card:hover .star-button,.star-button:focus-visible,.star-button.saved{opacity:1}.card-description{font:400 12px/16px GeistMono,monospace;height:16px;margin:12px 16px 16px;color:#ffffff99}.work-card .cover-button{width:calc(100% - 24px);aspect-ratio:2/1;margin:0 12px;border-radius:6px;padding:0;display:block}.card-footer{padding:12px;gap:4px;font:500 12px/15px GeistMono,monospace;color:#8f8f8f;min-height:39px}.card-footer .repo-owner{font:500 12px/15px GeistMono,monospace;color:#8f8f8f}.card-footer>span{display:none}.creator-showcase{margin-bottom:24px}.creator-showcase-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:24px}.creator-supply{padding:16px;background:#121212;border:1px solid #ffffff14;border-radius:16px;min-width:0;display:block}.creator-supply:hover{background:#202020}.creator-supply>div{display:flex;align-items:center;gap:8px;font-size:16px}.creator-supply .avatar{width:18px;height:18px;font-size:8px;border-radius:4px}.creator-supply p{font:12px/16px GeistMono,monospace;color:#999;margin:12px 0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.creator-supply-link{font:12px/16px GeistMono,monospace;color:#8f8f8f}.latest-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:24px}.work-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.latest-section{margin-bottom:24px}.sort-select{font:12px/20px GeistMono,monospace}.discover-bar{border-bottom:1px solid #ffffff0a;margin-bottom:24px}.closing-note,footer{font-family:GeistMono,monospace}
@media(min-width:1280px){.work-card .cover-button{aspect-ratio:1.66}.featured-rail{grid-auto-columns:calc((100% - 48px)/4)}.latest-grid,.work-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1023px) and (min-width:741px){.header .global-search{width:160px}.header{gap:14px;padding:0 20px}.header .brand,.header .brand span{font-size:16px}.header nav{gap:8px;margin:0}.space-button{display:none}.workspace-shell,body.sidebar-collapsed .workspace-shell{grid-template-columns:180px minmax(0,1fr)}.featured-rail{grid-auto-columns:calc((100% - 16px)/2)}.latest-grid,.work-grid,.creator-showcase-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-search-block p{font-size:14px}.catalog-heading h2{font-size:16px}}
@media(max-width:740px){.header{padding:0 12px;gap:10px}.header .brand,.header .brand span{font-size:13px}.header-actions{gap:6px}.header nav{display:flex;position:static;border:0;gap:6px;margin:0;order:-1}.header nav a{font-size:10px;height:32px}.header nav #language-toggle{height:30px;font-size:11px;padding:0 7px}.header-favorites{display:none}.header .create-button{height:34px;padding:0 9px;font-size:10px}.sidebar-toggle{flex-shrink:0;width:20px}.planet-hero{padding:20px;height:auto}.planet-content{padding:64px 32px;gap:32px}.planet-content h1{font-size:30px;line-height:33px;letter-spacing:-1.2px;max-width:495px}.hero-search-block{gap:12px;max-width:100%;}.hero-search-block p{font-size:11px;line-height:16.5px;max-width:none;margin:0;align-self:flex-start;white-space:nowrap}.planet-search{max-width:calc(100% - 32px);flex-direction:column;gap:8px;min-height:98px;padding:4px}.planet-search input{width:100%;height:40px;flex:auto;font-size:14px;line-height:20px;padding:10px 12px}.planet-search button{width:100%;height:40px;justify-content:center;flex-shrink:0;font-size:14px}.hero-people{height:20px;font-size:14px;white-space:nowrap}.hero-people .avatar{width:16px;height:16px;font-size:7px}.hero-community{display:none}.planet-hero .motion-toggle{opacity:.6;right:12px;bottom:12px;width:24px;height:24px}.workspace-shell,body.sidebar-collapsed .workspace-shell{display:block}.left-sidebar,body.sidebar-collapsed .left-sidebar{height:calc(100dvh - 60px);padding:20px 16px}.catalog-heading{height:50px;padding:0 24px;gap:8px}.catalog-heading h2{font-size:14px;line-height:20px;white-space:nowrap}.catalog-heading>div{gap:12px}.small-control{font-size:12px;padding:6px 8px}.catalog-heading>div>a{font-size:0}.catalog-heading>div>a::after{content:'[6]';font-size:12px}.carousel-arrow{width:32px;font-size:18px}.featured-rail{grid-auto-columns:100%;padding:24px;gap:16px;scroll-padding-inline:24px}.work-card .title-button{font-size:14px!important;line-height:17.5px}.card-title-row{padding:12px 12px 0}.card-description{margin:12px 12px;font-size:12px}.work-card .cover-button{aspect-ratio:2/1}.card-footer{font-size:10px;line-height:12.5px;padding:12px;min-height:36.5px}.card-footer .repo-owner{font-size:10px;line-height:12.5px}.creator-showcase-grid,.latest-grid{grid-template-columns:1fr;padding:24px}.creator-showcase-grid{display:flex;overflow:auto}.creator-supply{min-width:calc(100% - 40px)}.work-grid{grid-template-columns:1fr}#works-grid{padding:0 24px 24px}.discover-bar{padding:16px 24px}.sort-select{font-size:10px}.card-title-row .star-button{opacity:.65;font-size:0}.star-button svg{width:14px}.profile-layout .work-grid{grid-template-columns:1fr}}
.card-title-row{margin:0}.card-footer{line-height:16px;min-height:40px}.card-footer .repo-owner{line-height:16px}
@media(max-width:740px){.card-footer{line-height:12.5px;min-height:36.5px}.card-footer .repo-owner{line-height:12.5px}}
@media(max-width:740px){.hero-people{height:17.5px;line-height:17.5px}}
/* Six featured student projects fill two complete rows on wide screens. */
@media(min-width:1280px){.featured-rail{grid-auto-columns:calc((100% - 32px)/3)}}

/* Keep the desktop planet composition on narrow screens. */
@media (max-width: 1023px) {
  .hero-search-block p { white-space: normal; overflow-wrap: break-word; }
}
@media (max-width: 740px) {
  .planet-hero { padding: 20px 24px; }
  .planet-video { object-position: 56% 50%; transform: scale(1.25); }
  .planet-content { padding: 52px 0 44px; gap: 28px; }
  .planet-content h1 { font-size: clamp(26px, 7.4vw, 30px); line-height: 1.15; letter-spacing: -1px; }
  .hero-search-block { gap: 20px; }
  .hero-search-block p { align-self: center; max-width: 34ch; font-size: 14px; line-height: 1.6; }
  .planet-search { width: 100%; max-width: 360px; min-height: 0; padding: 6px; gap: 6px; }
  .planet-search input { height: 44px; flex: none; padding: 10px 12px; }
  .planet-search button { height: 44px; }
}


/* Static edge glow keeps the atmosphere without a continuous WebGL render loop. */
.planet-glow-surface{background:radial-gradient(ellipse at 10% 100%,#b34a282e,transparent 48%),radial-gradient(ellipse at 90% 0%,#ed9c6430,transparent 48%);box-shadow:inset 0 0 55px #c536242e,inset 0 2px 14px #ee6b3955}
#works-more{text-align:center;padding:24px;color:var(--muted)}
#works-more button{margin:8px}
