.project-tiles{display:none}.all-projects{display:table;margin:28px auto 0;padding:15px 24px;border:1px solid #ffe430;border-radius:8px;color:#ffe430;font-size:16px;font-weight:700;text-decoration:none}.projects-directory{max-width:1200px;margin:auto;padding:48px 5% 64px}.projects-directory h1{font-size:clamp(38px,6vw,64px);margin:12px 0}.projects-directory h1 em{color:#ffe430;font-style:normal}.directory-intro{font-size:18px;line-height:1.6;color:#bfc0b8;max-width:650px;margin-bottom:32px}.projects-page.project-browser-ready .cover-grid{display:none}.projects-page .project-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.project-tile{display:flex;flex-direction:column;gap:10px;min-width:0;padding:12px;background:#11130e;border:1px solid #ffe43050;border-radius:9px;color:#fff;text-align:left;cursor:pointer}.project-tile img{width:100%;height:auto;aspect-ratio:2/3;object-fit:contain;background:#070806;border-radius:4px}.project-tile span{font-size:18px;font-weight:700;line-height:1.25;overflow-wrap:anywhere}.project-tile small{font-size:14px;color:#ffe430}.project-tile:hover{border-color:#ffe430}.project-tile:focus-visible,.all-projects:focus-visible{outline:3px solid #ffe430;outline-offset:4px}
#project-details{position:fixed;inset:0;margin:auto;width:min(540px,92vw);max-height:88dvh;box-sizing:border-box;padding:20px;border:1px solid #ffe43080;border-radius:12px;background:#10120e;color:#fff;overflow:auto}#project-details:not([open]){display:none}#project-details::backdrop{background:#000d}.detail-close{display:block;position:sticky;top:0;margin:0 0 12px auto;z-index:1;padding:12px 18px;background:#111;color:#ffe430;border:1px solid #ffe43080;border-radius:25px;font-size:16px;cursor:pointer}.detail-content h3{font-size:30px;margin:0 0 12px}.detail-content p{font-size:16px;line-height:1.6;color:#bfc0b8}.detail-content .project-media{position:relative;width:min(100%,260px);margin:0 auto}.detail-content .cover-art{display:block;aspect-ratio:2/3}.detail-content .cover-art img{width:100%;height:100%;object-fit:contain}.detail-content .project-actions{display:flex;flex-wrap:wrap;gap:14px;align-items:center;justify-content:space-between;padding-top:20px}.detail-content .hats-watch{position:static;transform:none;font-size:14px;padding:12px 16px;box-shadow:none}
@media(max-width:700px){.home-page.project-browser-ready .cover-grid{display:none}.home-page .project-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.home-page .project-tile{padding:6px;gap:8px}.home-page .project-tile span{font-size:14px}.home-page .project-tile small{font-size:12px}.projects-page .project-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.projects-page .project-tile span{font-size:16px}.projects-directory{padding-top:28px}}
/* Keep tile actions aligned even when a project name wraps. */
.project-tile small{margin-top:auto}
/* The directory header occupies its own row instead of overlaying the heading. */
body.projects-page>.header{position:sticky;top:0;inset:auto;z-index:50;background:#090a08f5}

.project-tools{display:flex;gap:20px;align-items:end;margin:28px 0 14px}.project-tools[hidden]{display:none}.project-tools label{display:grid;gap:8px;font-size:14px;color:#ffe430}.project-tools label:first-child{flex:1}.project-tools input,.project-tools select{width:100%;min-height:48px;background:#11130e;border:1px solid #ffe43070;border-radius:7px;padding:12px;color:#fff;font:16px Arial}.project-tools input:focus-visible,.project-tools select:focus-visible{outline:2px solid #ffe430;outline-offset:3px}#project-results{font-size:14px;color:#bfc0b8;margin:0 0 22px}.project-tile[hidden]{display:none}.project-tile .tile-creator{font-size:14px;font-weight:400;line-height:1.5;color:#bfc0b8}@media(max-width:600px){.project-tools{flex-direction:column;align-items:stretch;gap:14px}}

.project-shop{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:11px 16px;border:1px solid #ffe63170;border-radius:6px;color:#ffe631;background:transparent;font-size:14px;line-height:1.4;text-align:center}.project-shop:hover{background:#ffe63112;border-color:#ffe631}.project-shop:focus-visible{outline:2px solid #fff;outline-offset:4px}
.homepage-project-tile{cursor:default}.homepage-project-tile:hover{border-color:#ffe43050}.tile-explore{display:flex;align-items:center;min-height:44px;margin-top:auto;color:#ffe430;font-size:14px;line-height:1.35}.tile-explore:focus-visible{outline:2px solid #fff;outline-offset:3px}
@media(max-width:700px){.home-page .tile-explore{font-size:12px}}
.home-page .tile-description{font-size:12px;line-height:1.45;color:#bfc0b8;font-weight:400;margin:0;overflow-wrap:anywhere}
.home-page .showcase-heading{display:flex;align-items:center;justify-content:space-between;gap:24px}
.home-page .showcase-heading h2{min-width:0}
.home-page .showcase-heading .all-projects{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;margin:0;min-height:44px;text-align:center}
@media(max-width:600px){.home-page .showcase-heading{gap:14px}.home-page .showcase-heading h2{font-size:clamp(28px,7vw,40px);line-height:1.05}.home-page .showcase-heading .all-projects{flex:0 1 140px;padding:10px 12px;font-size:14px;line-height:1.35}}

/* Keep the three featured projects fully visible and precisely aligned on mobile. */
@media(max-width:700px){
 .home-page .project-tiles{align-items:stretch;gap:8px}
 .home-page .homepage-project-tile{display:grid;grid-template-rows:3.25em auto 1fr 4.4em;align-items:start;height:100%;padding:8px 7px;border-radius:10px;background:linear-gradient(155deg,#171a11,#0f110d);border-top:2px solid #ffe430}
 .home-page .homepage-project-tile>span{display:block;min-width:0;font-size:clamp(12px,3.65vw,15px);line-height:1.08;overflow-wrap:anywhere}
 .home-page .homepage-project-tile>img{align-self:start;width:100%;aspect-ratio:2/3;object-fit:contain;margin:0;background:#080906}
 .home-page .homepage-project-tile>.tile-description{margin:10px 0 8px;font-size:clamp(12px,3.35vw,14px);line-height:1.48;color:#bfc0b8;overflow-wrap:anywhere}
 .home-page .homepage-project-tile>.tile-explore{align-self:end;display:flex;align-items:flex-end;min-width:0;min-height:4.4em;padding:8px 0 2px;color:#ffe430;font-size:clamp(12px,3.35vw,14px);font-weight:500;line-height:1.35;overflow-wrap:anywhere}
 .home-page .showcase-heading{display:grid;grid-template-columns:minmax(0,1fr) minmax(118px,140px);align-items:center;gap:12px}
 .home-page .showcase-heading .all-projects{width:100%;padding:10px 9px;font-size:13px}
}

/* The desktop cards share title, artwork, description and action baselines. */
@media(min-width:901px){
 .home-page .cover-grid{align-items:stretch}
 .home-page .cover-card{grid-row:span 3;grid-template-rows:subgrid}
 .home-page .project-actions{align-self:end;padding-top:18px}
}

/* The directory is a single, compact collection with four distinct destinations. */
.projects-page .project-tiles{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.projects-page .project-tile{gap:8px;padding:12px;border-radius:12px;background:linear-gradient(160deg,#171911,#0c0e0b);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.projects-page .project-tile:hover{transform:translateY(-4px);box-shadow:0 14px 36px #0008}
.projects-page .project-tile img{aspect-ratio:2/3;object-fit:cover;object-position:center top;border-radius:6px}
.projects-page .project-tile .tile-kind{font-size:11px;line-height:1.3;letter-spacing:.12em;text-transform:uppercase;color:#ffe430;font-weight:700;margin-top:4px}
.projects-page .project-tile .tile-title{font-size:clamp(18px,2vw,23px);line-height:1.15}
.projects-page .project-tile .tile-creator{font-size:13px;line-height:1.4;color:#d7d5c2;min-height:2.8em}
.projects-page .project-tile .tile-description{font-size:14px;line-height:1.45;color:#bfc0b8;margin:2px 0 8px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.projects-page .project-tile small{display:block;width:100%;border-top:1px solid #ffe43040;padding-top:12px;font-size:14px;color:#ffe430}
@media(max-width:900px){.projects-page .project-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:450px){.projects-page .project-tiles{gap:10px}.projects-page .project-tile{padding:9px}.projects-page .project-tile .tile-title{font-size:17px}.projects-page .project-tile .tile-description{font-size:13px}}
@media(prefers-reduced-motion:reduce){.projects-page .project-tile{transition:none}.projects-page .project-tile:hover{transform:none}}
/* The directory retains every project; homepage placement follows owner selections. */
@media(min-width:701px){.home-page .project-tiles .project-tile[data-featured="mobile"],.home-page .project-tiles .project-tile[data-featured="none"],.home-page .cover-grid>.cover-card[data-project-featured="mobile"],.home-page .cover-grid>.cover-card[data-project-featured="none"]{display:none!important}.home-page .cover-grid>.mobile-feature-source[data-project-featured="both"],.home-page .cover-grid>.mobile-feature-source[data-project-featured="desktop"]{display:grid!important}}
@media(max-width:700px){.home-page .project-tiles .project-tile[data-featured="desktop"],.home-page .project-tiles .project-tile[data-featured="none"],.home-page .cover-grid>.cover-card[data-project-featured="desktop"],.home-page .cover-grid>.cover-card[data-project-featured="none"]{display:none!important}}
.project-tools{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(0,1fr)}@media(max-width:700px){.project-tools{grid-template-columns:1fr 1fr}.project-tools>label:first-child{grid-column:1/-1}}@media(max-width:380px){.project-tools{grid-template-columns:1fr}.project-tools>label:first-child{grid-column:auto}}

/* Desktop featured posters remain whole-card links without a separate action row. */
@media(min-width:701px){
 .home-page #world .cover-card{position:relative;padding-bottom:12px;grid-row:span 2;grid-template-rows:subgrid}
 .home-page #world .project-actions{position:absolute;inset:0;display:block;min-height:0;padding:0;margin:0;z-index:2}
 .home-page #world .project-actions .project-destination{position:absolute;inset:0;display:block;width:100%;height:100%;padding:0;margin:0;border:0;background:transparent;font-size:0;color:transparent;border-radius:inherit}
 .home-page #world .project-destination:focus-visible{outline:3px solid #ffe430;outline-offset:4px}
 .home-page #world .project-media{margin-bottom:0;padding-bottom:0}
}

/* Creator attribution has its own visual rhythm beneath the description. */
.home-page #world .cover-copy p.project-credit{margin:18px 0 0;padding:12px 0 0;border-top:1px solid #ffe43030;color:#ffe430;font-size:14px;font-weight:600;line-height:1.55;letter-spacing:.01em;max-width:none}
@media(min-width:901px){.home-page #world .cover-copy{display:flex;flex-direction:column}.home-page #world .cover-copy p:not(.project-credit){margin-bottom:18px}.home-page #world .cover-copy p.project-credit{margin-top:auto}}

/* Compact creation directory: one linked surface, distinct attribution. */
.projects-page .project-tiles{align-items:start;row-gap:22px}
.projects-page .project-tile{gap:9px;padding:12px;text-decoration:none;height:auto;min-height:0}
.projects-page .project-tile .tile-kind{font-size:12px;margin-top:3px;color:#bfc0b8}
.projects-page .project-tile .tile-title{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;overflow-wrap:normal}
.projects-page .tile-title svg{width:20px;height:20px;flex:0 0 20px;margin-top:2px;color:#ffe430}
.projects-page .project-tile .tile-description{font-size:16px;line-height:1.5;margin:0;-webkit-line-clamp:3}
.projects-page .project-tile .tile-creator{min-height:0;margin:3px 0 0;padding-top:10px;border-top:1px solid #ffe43030;font-size:14px;font-weight:600;line-height:1.5;color:#ffe430}
.projects-page .project-tile .tile-creator:empty{display:none}
@supports(grid-template-rows:subgrid){.projects-page .project-tiles{align-items:stretch}.projects-page .project-tile{grid-row:span 5;display:grid;grid-template-rows:subgrid;row-gap:9px}.projects-page .project-tile[hidden]{display:none}}
@media(max-width:450px){.projects-page .project-tile{padding:9px;gap:8px}.projects-page .project-tile .tile-description{font-size:14px}.projects-page .project-tile .tile-title{font-size:18px}.projects-page .tile-title svg{width:16px;height:18px;flex-basis:16px}}
