/* MatchMio v1.2: content first, with one shared top navigation. */
.ui-icon{width:var(--space-18);height:var(--space-18);flex:none;vertical-align:middle}
.topbar-in{gap:var(--space-18);min-width:0}
.topbar-brand{gap:var(--space-8);color:var(--ink);font-size:var(--font-size-section-title)}
.topbar-brand img{width:var(--space-36);height:var(--space-36);border-radius:var(--radius-input)}
.topbar-search{display:flex;align-items:center;gap:var(--space-8);width:var(--topbar-search-width);min-height:var(--touch-target-min);padding:var(--space-8) var(--space-14);border-radius:var(--radius-pill);background:var(--bg);color:var(--ink-muted-readable);font-size:var(--font-size-small);flex:none}
.topbar-search svg{width:var(--space-18);height:var(--space-18);flex:none}
.topbar-search:hover{background:var(--brand-soft);color:var(--brand)}
.topbar .topbar-links{display:flex;flex:none;flex-wrap:nowrap;align-items:center;justify-content:center;gap:var(--space-2);margin:0 auto;padding:0;min-width:0;box-shadow:none;background:transparent;position:relative}
.topbar-links a{display:inline-flex;align-items:center;justify-content:center;min-height:var(--touch-target-min);border-radius:var(--radius-pill);padding:var(--space-9) var(--space-12);color:var(--ink-2);font-size:var(--font-size-body);flex:none}
.topbar-links a:hover{background:var(--brand-soft);color:var(--brand)}
.topbar-links a.on,.topbar-links a.on:hover{background:var(--brand);color:var(--card);font-weight:var(--font-weight-semibold)}
.topbar #navRight{flex:none;margin:0;gap:var(--space-8)}
.topbar #navRight>.tb-btn{font-size:var(--font-size-body);padding:var(--space-9) var(--space-14)}
.topbar #navRight>.tb-btn.pri{padding:var(--space-10) var(--space-16)}
.topbar #navRight>.tb-account{width:var(--touch-target-min);padding:0}
.topbar .tb-account-name{display:none}
.topbar .tb-account .user-avatar{width:var(--space-28);height:var(--space-28)}
main#app{margin-top:var(--space-36)}
.discovery-shell{display:grid;grid-template-columns:minmax(0,1fr) var(--discovery-sidebar-width);gap:var(--discovery-column-gap);align-items:start}
.discovery-main,.discovery-sidebar{min-width:0}
.feed-heading{display:flex;align-items:center;justify-content:space-between;gap:var(--space-18);margin-bottom:var(--space-20)}
.feed-heading h1{font-size:var(--font-size-hero-mobile);color:var(--ink);line-height:var(--line-height-body)}
.feed-heading p{font-size:var(--font-size-small);color:var(--ink-2);margin-top:var(--space-4)}
.feed-total{font-size:var(--font-size-caption);color:var(--ink-muted-readable);white-space:nowrap;font-variant-numeric:tabular-nums}
.feed-sort{display:flex;flex-wrap:wrap;gap:var(--space-6);align-items:center;margin-bottom:var(--space-16)}
.feed-sort .chip{background:transparent;border-color:transparent;min-height:var(--touch-target-min)}
.feed-sort .chip.on{background:var(--ink);border-color:var(--ink);color:var(--card)}
.feed-sort .chip:hover:not(.on){background:var(--brand-soft);color:var(--brand)}
.feed-tabs{display:flex;gap:var(--space-20);flex-wrap:wrap;border-bottom:var(--border-width) solid var(--line);margin-bottom:var(--space-20)}
.feed-tabs a{display:inline-flex;align-items:center;min-height:var(--touch-target-min);padding:var(--space-8) 0;color:var(--ink-2);font-size:var(--font-size-body);border-bottom:var(--focus-width) solid transparent}
.feed-tabs a.on{color:var(--brand);border-bottom-color:var(--brand);font-weight:var(--font-weight-semibold)}
.feed-tabs a:hover{color:var(--brand)}
.feed-categories{display:flex;align-items:center;flex-wrap:wrap;gap:var(--space-8);max-width:100%;padding:var(--space-2) var(--space-2) var(--space-10);margin:0 0 var(--space-10)}
.feed-categories .chip{flex:0 1 auto;max-width:100%;min-height:var(--touch-target-min);white-space:normal;overflow-wrap:anywhere;padding:var(--space-6) var(--space-14)}
.feed-tools{display:flex;gap:var(--space-10);align-items:center;flex-wrap:wrap;margin-bottom:var(--space-20)}
.feed-search{display:flex;align-items:center;flex:1;min-width:0;background:var(--card);border:var(--border-width) solid var(--line);border-radius:var(--radius-pill);padding:0 var(--space-14)}
.feed-search:focus-within{border-color:var(--brand)}
.feed-search .search{width:100%;flex:1;margin:0;min-height:var(--touch-target-min);border:0;background:transparent;padding:var(--space-8) var(--space-2);min-width:0}
.feed-search .search:focus-visible{outline:0}
.feed-search:has(.search:focus-visible){outline:var(--focus-width) solid var(--brand);outline-offset:var(--focus-offset)}
.feed-search button{min-height:var(--touch-target-min);flex:none;font-size:var(--font-size-small)}
.feed-filter-toggle{display:inline-flex;gap:var(--space-6);align-items:center;min-height:var(--touch-target-min)}
.feed-filter-toggle[aria-expanded=true]{border-color:var(--brand);color:var(--brand);background:var(--brand-soft)}
.filter-count{display:inline-flex;align-items:center;justify-content:center;min-width:var(--space-18);height:var(--space-18);background:var(--ink);color:var(--card);border-radius:var(--radius-pill);font-size:var(--font-size-badge)}
.feed-clear{font-size:var(--font-size-caption);min-height:var(--touch-target-min);display:inline-flex;align-items:center}
.feed-filter-panel{padding:var(--space-16);background:var(--card);border:var(--border-width) solid var(--line);border-radius:var(--radius);margin-bottom:var(--space-20)}
.feed-filter-panel[hidden]{display:none}
.feed-filter-panel .toolbar{margin:0}
.feed-filter-panel .mm-control,.feed-filter-panel .sel{max-width:100%;min-width:0}
.demand-tools{flex-wrap:wrap;align-items:center;min-height:calc(var(--touch-target-min) + var(--space-8))}
.demand-filter-controls{display:flex;align-items:center;flex-wrap:wrap;gap:var(--space-10);flex:1;min-width:0;padding:var(--space-4)}
.demand-filter-controls[hidden]{display:none}
.demand-filter-controls>*{flex:0 1 auto;max-width:100%;min-width:0;min-height:var(--touch-target-min)}
.demand-search{display:flex;align-items:center;justify-content:flex-end;gap:var(--space-10);margin-left:auto;flex:none;min-width:0}
.demand-tools.is-searching .demand-search{flex:1}
.demand-search-panel{display:flex;align-items:center;gap:var(--space-8);flex:1;min-width:0;padding:0 var(--space-12) 0 var(--space-16);background:var(--card);border:var(--border-width) solid var(--line);border-radius:var(--radius-pill)}
.demand-search-panel[hidden]{display:none}
.demand-search-panel:focus-within{border-color:var(--brand)}
.demand-search-panel .search{flex:1 1 0;width:100%;min-width:0;min-height:var(--touch-target-min);margin:0;padding:var(--space-8) 0;border:0;background:transparent}
.demand-search-panel .search:focus-visible{outline:0}
.demand-search-panel:has(.search:focus-visible){outline:var(--focus-width) solid var(--brand);outline-offset:var(--focus-offset)}
.demand-search-panel .text-link{flex:none;min-height:var(--touch-target-min)}
.demand-tools .demand-search-toggle{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-6);flex:none;min-width:var(--touch-target-min);min-height:var(--touch-target-min);white-space:nowrap}
.demand-search-toggle[aria-expanded=true]{width:var(--touch-target-min);padding:0;background:var(--brand-soft);border-color:var(--brand);color:var(--brand)}
.demand-tools [hidden]{display:none!important}
.demand-tools .chip,.demand-advanced-panel .chip,.demand-advanced-panel .mm-control-trigger{min-height:var(--touch-target-min)}
.demand-clear{display:inline-flex;align-items:center;flex:none;min-height:var(--touch-target-min);white-space:nowrap}
@media(max-width:640px){.demand-search-toggle span{display:none}.demand-tools .demand-search-toggle{width:var(--touch-target-min);padding:0}.demand-filter-controls{flex-basis:100%}.demand-tools.is-searching .demand-search{width:100%}}
.feed-surface{background:var(--card);border-radius:var(--radius);box-shadow:var(--shadow);gap:0;overflow:hidden}
.feed-surface .launch-item{grid-template-columns:var(--space-60) minmax(0,1fr) auto;gap:var(--space-18);padding:var(--space-24);border-radius:var(--web-feed-row-radius);box-shadow:none;background:var(--card);transition:background var(--motion-duration) var(--motion-easing)}
.feed-surface .launch-item+.launch-item{border-top:0}
.feed-surface .launch-item:hover,.feed-surface .launch-item:focus-within{background:var(--bg);border-radius:var(--web-feed-row-radius)}
.feed-surface .launch-loading:hover{background:var(--card)}
.feed-surface .launch-loading-vote{width:calc(var(--count-control-size) * 2 + var(--count-control-gap));height:var(--count-control-size)}
.launch-body h3{font-size:var(--font-size-list-title);display:flex;align-items:baseline;gap:var(--space-8);flex-wrap:wrap}
.launch-body h3 a:hover{color:var(--brand)}
.launch-rank{padding:0;font-size:inherit;color:inherit}
.launch-featured{font-size:var(--font-size-badge);font-weight:var(--font-weight-semibold);color:var(--amber);background:var(--amber-soft);border-radius:var(--radius-pill);padding:var(--space-2) var(--space-8);white-space:nowrap}
.launch-summary{-webkit-line-clamp:2;margin-top:var(--space-4)}
.launch-tags{display:flex;flex-wrap:wrap;gap:var(--space-4) var(--space-10);font-size:var(--font-size-caption);color:var(--ink-2);margin-top:var(--space-8)}
.launch-tags>span+span:before{content:'·';margin-right:var(--space-10);color:var(--ink-muted-readable)}
.launch-tags .launch-open{color:var(--green-ink)}
.launch-meta{gap:var(--space-4) var(--space-12);margin-top:var(--space-4)}
.launch-meta a,.launch-meta button{min-height:var(--space-30);color:var(--ink-muted-readable);font-size:var(--font-size-caption)}
.launch-meta .launch-maker{gap:var(--space-5)}
.launch-meta .text-link{gap:var(--space-4);color:var(--ink-muted-readable)}
.launch-meta .text-link[aria-pressed=true]{color:var(--brand)}
.launch-meta a:hover,.launch-meta button:hover{color:var(--brand)}
.launch-meta .ui-icon{width:var(--space-14);height:var(--space-14)}
.launch-actions{display:flex;gap:var(--count-control-gap);align-items:center;align-self:center}
.launch-comment,.launch-actions .launch-vote{position:relative;width:var(--count-control-size);height:var(--count-control-size);min-height:var(--count-control-size);padding:var(--space-3);border:var(--count-control-border) solid var(--line);border-radius:var(--count-control-radius);display:flex;flex-direction:column;flex-wrap:nowrap;align-items:center;justify-content:center;gap:var(--space-2);background:var(--card);color:var(--ink-2);line-height:var(--line-height-body);flex:none}
.launch-comment b,.launch-actions .launch-vote b{font-size:var(--count-control-number-size);font-weight:var(--font-weight-semibold);display:flex;align-items:center;gap:var(--space-4);font-variant-numeric:tabular-nums}
.launch-actions>.launch-comment>.ui-icon,.launch-actions>.launch-vote>.ui-icon{width:var(--count-control-icon-size);height:var(--count-control-icon-size)}
.launch-action-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;font-size:var(--font-size-badge)}
.launch-actions .launch-vote.on{border-color:var(--brand);background:var(--brand-soft);color:var(--brand)}
.launch-actions .launch-vote.on>.ui-icon{fill:currentColor}
.launch-comment:hover{background:var(--brand-soft);border-color:var(--brand);color:var(--brand)}
.launch-actions .launch-vote[aria-busy=true] b,.launch-actions .launch-vote[aria-busy=true]>.ui-icon{display:none}
.launch-actions .launch-vote[aria-busy=true]>.launch-action-label{position:static;width:auto;height:auto;padding:0;margin:0;overflow:visible;clip-path:none;white-space:normal}
.feed-end{display:flex;justify-content:center;align-items:center;gap:var(--space-8);min-height:var(--space-60);font-size:var(--font-size-small);margin-top:var(--space-14)}
.feed-caption{color:var(--ink-muted-readable);font-size:var(--font-size-caption);margin:var(--space-14) 0}
.feed-announcement{padding:var(--space-14) var(--space-18);background:var(--brand-soft);border-radius:var(--radius-input);margin-bottom:var(--space-20);font-size:var(--font-size-small)}
.feed-announcement p{color:var(--ink-2);margin-top:var(--space-4)}
.side-section{margin-bottom:var(--space-28)}
.side-heading{display:flex;align-items:center;justify-content:space-between;gap:var(--space-8);min-height:var(--space-36);margin-bottom:var(--space-16)}
.side-heading h2{font-size:var(--font-size-section-title);color:var(--ink)}
.side-heading>a{display:flex;align-items:center;gap:var(--space-4);font-size:var(--font-size-caption);min-height:var(--touch-target-min);color:var(--ink-muted-readable);white-space:nowrap}
.side-heading>a:hover{color:var(--brand)}
.side-heading .ui-icon{width:var(--space-14);height:var(--space-14)}
.side-surface{background:var(--card);border-radius:var(--radius);box-shadow:var(--shadow);min-width:0;overflow-wrap:anywhere}
.side-need{padding:var(--space-18) var(--space-20)}
.side-need+.side-need{border-top:var(--border-width) solid var(--line)}
.side-need>a{display:block;color:var(--ink);min-height:var(--touch-target-min)}
.side-need h3{font-size:var(--font-size-list-title);margin:var(--space-4) 0 var(--space-6)}
.side-need p,.side-topic p{font-size:var(--font-size-small);color:var(--ink-2);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.side-need a:hover h3,.side-creator:hover h3,.side-topic:hover h3{color:var(--brand)}
.side-eyebrow{font-size:var(--font-size-badge);color:var(--green-ink)}
.side-meta{display:flex;align-items:center;flex-wrap:wrap;gap:var(--space-6) var(--space-12);margin-top:var(--space-12);font-size:var(--font-size-caption);color:var(--ink-muted-readable)}
.side-footer-link{display:flex;align-items:center;justify-content:space-between;min-height:var(--touch-target-min);padding:var(--space-10) var(--space-20);font-size:var(--font-size-small);border-top:var(--border-width) solid var(--line)}
.side-footer-link:hover{background:var(--brand-soft)}
.side-creator{display:flex;gap:var(--space-12);padding:var(--space-16) var(--space-20);color:var(--ink);min-height:var(--touch-target-min)}
.side-creator+.side-creator{border-top:var(--border-width) solid var(--line)}
.side-creator-copy{min-width:0}
.side-creator h3{font-size:var(--font-size-card-title)}
.side-creator p{font-size:var(--font-size-small);color:var(--ink-2);margin:var(--space-2) 0 var(--space-6)}
.side-creator .avail{padding:var(--space-2) var(--space-8)}
.side-topic{display:flex;gap:var(--space-12);padding:var(--space-18);color:var(--ink)}
.side-topic-icon{display:flex;align-items:center;justify-content:center;width:var(--space-44);height:var(--space-44);border-radius:var(--radius-input);flex:none;font-size:var(--font-size-hero-mobile)}
.side-topic h3{font-size:var(--font-size-card-title);margin-bottom:var(--space-4)}
.side-intro{padding:var(--space-20);background:var(--brand-soft)}
.side-intro h2{font-size:var(--font-size-section-title)}
.side-intro p{font-size:var(--font-size-small);color:var(--ink-2);margin-top:var(--space-6)}
.side-guide-link{display:flex;align-items:center;gap:var(--space-6);min-height:var(--touch-target-min);margin-top:var(--space-8);font-size:var(--font-size-small);font-weight:var(--font-weight-semibold)}
.side-stats{display:flex;flex-wrap:wrap;gap:var(--space-14);margin-top:var(--space-12);padding-top:var(--space-14);border-top:var(--border-width) solid var(--line);font-size:var(--font-size-caption);color:var(--ink-2)}
.side-stats b{color:var(--ink);font-variant-numeric:tabular-nums}
.side-demo{font-size:var(--font-size-hint);color:var(--ink-muted-readable);margin-top:var(--space-14)}
.side-note{font-size:var(--font-size-small);color:var(--ink-2);padding:var(--space-20)}
.home-launches{margin-bottom:0}
.launch-heading h1{font-size:var(--font-size-hero-mobile)}
.discovery-main .launch-periods{box-shadow:none;border:var(--border-width) solid var(--line);margin-bottom:var(--space-20)}
.discovery-main .launch-archive{padding:var(--space-14);border-radius:var(--radius);background:var(--card);border:var(--border-width) solid var(--line)}
.discovery-main .launch-rule{font-size:var(--font-size-caption)}
.page-back{display:inline-flex;align-items:center;min-height:var(--touch-target-min);margin-bottom:var(--space-8);font-size:var(--font-size-small)}
/* Detail return links form their own navigation row above the content columns. */
#app>.project-return,#app>.text-link:has(~.detail){display:flex;align-items:center;width:fit-content;max-width:100%;min-width:var(--touch-target-min);min-height:var(--touch-target-min);margin-bottom:var(--space-20);padding:var(--space-8) 0;color:var(--ink-2);font-size:var(--font-size-body);line-height:var(--line-height-body);overflow-wrap:anywhere;transition:color var(--motion-duration) var(--motion-easing),transform var(--motion-duration) var(--motion-easing)}
#app>.project-return:hover,#app>.text-link:has(~.detail):hover{color:var(--brand)}
#app>.project-return:active,#app>.text-link:has(~.detail):active{transform:translateY(var(--press-offset))}
.recent-searches{padding:var(--space-20)}
.recent-searches .side-heading{margin-bottom:var(--space-8)}
.recent-terms{display:flex;gap:var(--space-10);flex-wrap:wrap}
.recent-terms a{display:inline-flex;align-items:center;min-height:var(--touch-target-min)}
.creator-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-18)}
.topic-directory{display:grid;gap:var(--space-18)}
.topic-banner{display:flex;gap:var(--space-20);padding:var(--space-24);margin-bottom:var(--space-24);color:var(--ink);min-width:0}
.topic-directory .topic-banner{margin:0;align-items:center;padding:var(--space-20);gap:var(--space-18);transition:transform var(--motion-duration) var(--motion-easing)}
.topic-directory .topic-symbol{width:var(--space-60);height:var(--space-60);border-radius:var(--radius-input)}
.topic-copy{flex:1;min-width:0}
.topic-directory .topic-copy h2{font-size:var(--font-size-card-title)}
.topic-directory .topic-copy p{margin:var(--space-4) 0 var(--space-6)}
.topic-open{display:inline-flex;align-items:center;gap:var(--space-8);padding:var(--space-8) var(--space-14);border-radius:var(--radius-pill);background:var(--brand-soft);color:var(--brand);font-size:var(--font-size-card-link);font-weight:var(--font-weight-semibold);white-space:nowrap;flex:none}
.topic-directory a:hover{transform:translateY(var(--card-hover-offset))}
.topic-directory a:active{transform:translateY(var(--press-offset))}
.topic-banner>div{min-width:0}
.topic-banner h1{font-size:var(--font-size-hero-mobile)}
.topic-banner h2{font-size:var(--font-size-section-title)}
.topic-banner p{color:var(--ink-2);font-size:var(--font-size-small);margin:var(--space-8) 0 var(--space-10)}
.topic-symbol{width:var(--space-80);height:var(--space-80);border-radius:var(--radius);display:flex;align-items:center;justify-content:center;font-size:var(--font-size-hero);flex:none}
.topic-directory a:hover h2{color:var(--brand)}
.category-directory{margin-top:var(--space-28);padding:var(--space-24)}
.category-directory h2{font-size:var(--font-size-section-title)}
.category-directory .feed-heading{margin-bottom:var(--space-18)}
.category-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-12)}
.category-entry{display:flex;align-items:center;gap:var(--space-12);padding:var(--space-12) var(--space-14);background:var(--bg);border-radius:var(--radius-input);color:var(--ink);min-height:var(--touch-target-min);min-width:0;transition:background var(--motion-duration) var(--motion-easing),transform var(--motion-duration) var(--motion-easing)}
.category-icon{display:flex;align-items:center;justify-content:center;width:var(--touch-target-min);height:var(--touch-target-min);background:var(--card);border-radius:var(--radius-input);color:var(--brand);flex:none}
.category-icon .ui-icon{width:var(--space-22);height:var(--space-22)}
.category-copy{flex:1;min-width:0}
.category-copy h3{font-size:var(--font-size-list-title);font-weight:var(--font-weight-bold);color:var(--ink)}
.category-copy p{font-size:var(--font-size-small);color:var(--ink-2);margin-top:var(--space-2)}
.category-entry>.ui-icon{color:var(--ink-muted-readable)}
.category-entry-all{background:var(--brand-soft)}
.category-entry-all h3,.category-entry-all>.ui-icon{color:var(--brand)}
.category-entry:hover{background:var(--brand-soft)}
.category-entry:hover h3,.category-entry:hover>.ui-icon{color:var(--brand)}
.category-entry-all:hover h3,.category-entry-all:hover>.ui-icon{color:var(--brand-hover)}
.category-entry:active{transform:translateY(var(--press-offset))}
.profile-intro{display:flex;align-items:center;gap:var(--space-24);margin-bottom:var(--space-28)}
.profile-copy{flex:1;min-width:0}
.profile-copy h1{font-size:var(--font-size-hero-mobile)}
.profile-copy h1 .avail{vertical-align:middle;display:inline-block;white-space:nowrap}
.profile-copy>p{font-size:var(--font-size-body);color:var(--ink-2);margin-top:var(--space-6)}
.profile-meta{display:flex;flex-wrap:wrap;gap:var(--space-14);font-size:var(--font-size-caption);color:var(--ink-muted-readable);margin:var(--space-10) 0}
.profile-actions{display:flex;flex-direction:column;gap:var(--space-8);align-items:stretch;flex:none}
.profile-skills,.profile-milestones{padding:var(--space-20);margin-bottom:var(--space-24)}
.profile-skills h2,.profile-milestones h2{font-size:var(--font-size-card-title)}
.profile-milestone{padding:var(--space-14) 0;border-bottom:var(--border-width) solid var(--line)}
.profile-milestone time{font-size:var(--font-size-caption);color:var(--ink-muted-readable)}
.profile-milestone p{font-size:var(--font-size-small);margin-top:var(--space-4);color:var(--ink-2)}
.profile-milestones .side-footer-link{width:100%;justify-content:space-between;padding:var(--space-14) 0 0;border:0}
.project-detail{gap:var(--space-28)}
.project-identity{display:flex;gap:var(--space-18);align-items:flex-start}
.project-identity-copy{min-width:0;flex:1}
.project-identity h1{margin-bottom:var(--space-6)}
.project-intro .act-row{margin-top:var(--space-20)}
.project-intro .au{line-height:var(--line-height-body)}
.project-sections{display:flex;flex-wrap:wrap;gap:var(--space-18);border-bottom:var(--border-width) solid var(--line);margin:var(--space-20) 0}
.project-sections .text-link{color:var(--ink-2);min-height:var(--touch-target-min);padding:var(--space-8) 0}
.project-sections .text-link:hover{color:var(--brand)}
.project-story-section+.project-story-section{border-top:var(--border-width) solid var(--line);margin-top:var(--space-24);padding-top:var(--space-24)}
.project-story h2,.project-detail aside h2{padding-left:0;border-left:0}
.project-story-section,.project-detail .info-panel,.project-intro .media-grid{scroll-margin-top:calc(var(--topbar-height) + var(--space-20))}
.project-story .txt{max-width:65ch}
.demand-body{flex:1;min-width:0}
.demand-body h3 a{color:var(--ink)}
.demand-body h3 a:hover{color:var(--brand)}
.guide-shell .launch-guide ol{margin-top:var(--space-20)}
.guide-shell .launch-guide li{padding-bottom:var(--space-18);border-bottom:var(--border-width) solid var(--line)}
.guide-checklist{padding:var(--space-24)}
.guide-checklist h2{font-size:var(--font-size-card-title)}
.guide-checklist ul{padding-left:var(--space-18);margin-top:var(--space-16);font-size:var(--font-size-small);color:var(--ink-2)}
.guide-checklist li{margin-bottom:var(--space-10)}
.guide-faq details{border-bottom:var(--border-width) solid var(--line);padding:var(--space-10) 0}
.guide-faq summary{cursor:pointer;min-height:var(--touch-target-min);display:flex;align-items:center;font-size:var(--font-size-body)}
.guide-faq details p{color:var(--ink-2);font-size:var(--font-size-small);margin:var(--space-6) 0 var(--space-12)}
.guide-faq summary::after{content:'＋';margin-left:auto;color:var(--brand)}
.guide-faq details[open] summary::after{content:'−'}
/* Move the whole navigation row before signed-in actions can squeeze its last link. */
@media(max-width:1280px){
  .topbar-in{position:relative;flex-wrap:wrap;gap:var(--space-8) var(--space-12)}
  .topbar .topbar-links{order:4;width:100%;justify-content:flex-start;flex-wrap:wrap;padding:var(--space-4) var(--space-2)}
  .topbar-links a{flex:0 1 auto;max-width:100%;overflow-wrap:anywhere}
  .topbar #navRight{margin-left:auto}
}
@media(max-width:1100px){
  .topbar .topbar-toggle{display:inline-flex;gap:var(--space-6);align-items:center;justify-content:center;margin-left:auto;min-height:var(--touch-target-min)}
  .topbar #navRight{display:none;position:absolute;right:var(--page-gutter);top:calc(var(--touch-target-min) + var(--space-12) * 2);width:min(calc(var(--search-width) + var(--space-40)),calc(100% - var(--page-gutter) * 2));grid-template-columns:minmax(0,1fr);gap:var(--space-6);padding:var(--space-12);border:var(--border-width) solid var(--line);border-radius:var(--radius);background:var(--card);box-shadow:var(--shadow);z-index:var(--z-nav);max-height:calc(100dvh - var(--space-96));overflow-y:auto}
  .topbar.is-open #navRight{display:grid}
  .topbar #navRight>.tb-btn,.topbar #navRight>.tb-ico{width:100%;gap:var(--space-6);min-width:0;justify-content:flex-start;padding:var(--space-9) var(--space-14)}
  .topbar #navRight>.tb-btn:not(.pri){border-color:transparent;background:transparent}
  .topbar #navRight>.tb-btn:not(.pri):hover{background:var(--brand-soft)}
  .topbar #navRight>.tb-btn.pri{justify-content:center}
  .topbar .tb-account-name,.tb-action-label{display:inline}
  .topbar .tb-account,#navRight>a:last-child:not(.tb-ico){grid-column:1/-1}
  .topbar .tb-ico .dot{position:static}
  .discovery-shell{gap:var(--space-28)}
  .feed-surface .launch-item{padding:var(--space-20);gap:var(--space-14)}
}
@media(max-width:1023px){
  .discovery-shell{grid-template-columns:minmax(0,1fr)}
  .discovery-sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-24);align-items:start}
  .side-section{margin:0}.side-demo{grid-column:1/-1}
}
@media(max-width:665px){.category-links{grid-template-columns:minmax(0,1fr)}}
@media(max-width:640px){
  .topbar-brand{font-size:var(--font-size-card-title)}
  .topbar-brand img{width:var(--space-30);height:var(--space-30)}
  .topbar-search{width:var(--touch-target-min);height:var(--touch-target-min);padding:0;justify-content:center;margin-left:auto}
  .topbar-search>span{display:none}.topbar .topbar-toggle{margin-left:0;padding:var(--space-9) var(--space-12)}
  .topbar-links a{padding:var(--space-9) var(--space-12);font-size:var(--font-size-body)}
  main#app{margin-top:var(--space-24)}
  .feed-heading{gap:var(--space-12);align-items:flex-start;flex-wrap:wrap;margin-bottom:var(--space-16)}
  .feed-heading h1,.launch-heading h1{font-size:var(--font-size-hero-mobile)}
  .feed-total{width:100%}.feed-sort{gap:var(--space-4);margin-bottom:var(--space-12)}
  .feed-sort .chip{padding:var(--space-6) var(--space-10)}
  .feed-tools{gap:var(--space-8)}.feed-search{min-width:0}.feed-filter-toggle{padding:var(--space-6) var(--space-10)}
  .feed-clear{width:100%;justify-content:flex-start}
  .feed-filter-panel .toolbar>*{flex:1 1 100%}
  .feed-surface .launch-item{grid-template-columns:var(--space-44) minmax(0,1fr);gap:var(--space-10) var(--space-12);padding:var(--space-18)}
  .feed-surface .launch-thumb{width:var(--space-44);height:var(--space-44);font-size:var(--font-size-hero-mobile)}
  .feed-surface .launch-body{grid-column:2;grid-row:1;min-width:0}
  .feed-surface .launch-body h3{font-size:var(--font-size-list-title);gap:var(--space-4)}
  .feed-surface .launch-actions{grid-column:2;grid-row:2;padding:0;flex-wrap:wrap}
  .feed-surface .launch-loading-vote{grid-column:2;grid-row:2;max-width:100%;height:var(--count-control-size)}
  .launch-meta a,.launch-meta button{min-height:var(--touch-target-min);justify-content:flex-start}
  .launch-tags{gap:var(--space-4) var(--space-8)}
  .launch-meta{gap:0 var(--space-10)}
  .launch-maker{width:100%}
  .launch-meta time{width:auto}
  .feed-tabs{gap:var(--space-16)}.feed-tabs a{font-size:var(--font-size-body)}
  .discovery-sidebar{display:flex;flex-direction:column;gap:var(--space-24)}
  .discovery-sidebar>*{width:100%}
  .creator-results,.category-links{grid-template-columns:minmax(0,1fr)}
  .topic-banner{gap:var(--space-14);padding:var(--space-18)}
  .topic-symbol{width:var(--space-44);height:var(--space-44);font-size:var(--font-size-hero-mobile);border-radius:var(--radius-input)}
  .topic-directory .topic-banner{display:grid;grid-template-columns:var(--space-44) minmax(0,1fr);align-items:start;gap:var(--space-10) var(--space-14);padding:var(--space-18)}
  .topic-directory .topic-symbol{width:var(--space-44);height:var(--space-44)}
  .topic-open{grid-column:2;justify-self:start;min-height:var(--touch-target-min);padding:var(--space-6) var(--space-12)}
  .category-directory{padding:var(--space-18);margin-top:var(--space-24)}
  .category-directory .feed-heading{margin-bottom:var(--space-14)}
  .category-links{gap:var(--space-10)}
  .category-entry{gap:var(--space-10);padding:var(--space-12)}
  .profile-intro{align-items:flex-start;flex-wrap:wrap;gap:var(--space-16)}
  .profile-intro>.user-avatar{width:var(--space-56);height:var(--space-56)}
  .profile-copy{flex-basis:calc(100% - var(--space-56) - var(--space-16))}
  .profile-actions{width:100%;flex-direction:row;flex-wrap:wrap;align-items:center}
  .profile-actions>*{flex:1 1 auto}
  .project-identity{gap:var(--space-12)}
  .project-identity .launch-thumb{width:var(--space-44);height:var(--space-44);font-size:var(--font-size-hero-mobile);flex:none}
  .project-sections{gap:var(--space-14)}
  .launch-body h3>a,.demand-body h3>a{display:inline-flex;align-items:center;min-height:var(--touch-target-min)}
  .project-intro .au a,.project-detail aside a{display:inline-flex;align-items:center;min-height:var(--touch-target-min)}
  .launch-heading .btn{font-size:var(--font-size-body)}
}
@media(prefers-reduced-motion:reduce){.topic-directory a:hover,.topic-directory a:active,.category-entry:active{transform:none}}
