/* Shared Home, Directory and Market navigation. */

.site-header{position:relative;display:grid;grid-template-columns:1fr auto auto;gap:112px;align-items:center;min-height:140px;border-bottom:1px solid #2d2a28}
.site-brand{display:inline-flex;width:224px;max-width:100%;align-items:center}
.site-brand img{display:block;width:100%;height:auto}
.site-nav{display:flex;gap:40px;align-items:center;height:100%}
.site-nav a{position:relative;display:flex;align-items:center;min-height:52px;padding:0;font-size:16px;color:#e9ebef;text-decoration:none;font-weight:500}
.site-nav a[aria-current=page]::after{content:'';position:absolute;bottom:0;left:0;right:0;height:3px;background:#f2643d;border-radius:2px;color:#140f0b}
.site-header .site-pfp{min-width:230px;min-height:54px}
.home-button{display:inline-flex;gap:26px;align-items:center;justify-content:space-between;min-height:58px;padding:14px 22px;border:1px solid #e9ebef;border-radius:8px;font:600 16px/1.4 'DM Sans',sans-serif;text-decoration:none;color:#e9ebef;background:transparent}
.home-button svg{width:24px;height:24px;flex:none}
.home-button:hover{background:#1a1816}
.site-nav a:hover{color:#fb8972}
.site-header a:focus-visible{outline:3px solid #68bbad;outline-offset:5px}
@media(max-width:1200px){.site-header{gap:64px}.home-button{font-size:15px;padding-inline:18px;gap:20px}.site-header .site-pfp{min-width:200px}
}
@media(max-width:900px){
 .site-header{grid-template-columns:minmax(0,1fr) minmax(0,auto);min-height:0;gap:14px 24px;padding-top:24px}.site-brand{width:184px;max-width:100%}.site-header .site-pfp{grid-column:2;grid-row:1;min-width:0;min-height:48px;max-width:45vw;white-space:normal;overflow-wrap:anywhere}.site-nav{grid-column:1/-1;grid-row:2;gap:26px;justify-self:start;min-width:0}.site-nav a{min-height:48px;padding-bottom:8px}.site-nav a[aria-current=page]::after{bottom:7px;height:2px}
}
@media(max-width:700px){.site-header{grid-template-columns:1fr auto;min-height:0;gap:14px 16px;padding-top:24px}.site-brand{width:148px}.site-header .site-pfp{grid-column:2;grid-row:1;min-width:0;min-height:44px;font-size:12px;padding:10px 14px;gap:0}.site-pfp svg{display:none}.site-nav{grid-column:1/-1;grid-row:2;gap:36px;justify-self:start}.site-nav a{min-height:48px;font-size:14px;padding-bottom:8px}.site-nav a[aria-current=page]::after{bottom:7px;height:2px}.home-button{min-height:48px;border-radius:8px;font-size:15px;padding:12px 20px}
}
@media(max-width:360px){.site-brand{width:128px}.site-header .site-pfp{padding-inline:10px;font-size:11px}}
@media(max-width:430px){.site-nav{width:100%;justify-content:space-between;gap:8px}.site-nav a{min-width:0}.site-header .site-pfp{max-width:46vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
@media(prefers-reduced-motion:reduce){.site-header *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* A compact list anchored to the Market trigger, not a second page grid. */
.category-menu{position:relative;font-family:'DM Sans',sans-serif;color:#e9ebef}
.category-menu summary{display:flex;align-items:center;gap:8px;min-height:52px;padding:0;font-size:16px;font-weight:500;cursor:pointer;list-style:none}
.category-menu summary::-webkit-details-marker{display:none}
.category-menu summary:focus-visible{outline:2px solid #fb8972;outline-offset:4px;border-radius:3px}
.category-menu[open] summary{color:#fb8972}
.category-menu[open] summary span{transform:rotate(180deg)}
.category-menu-panel{position:absolute;z-index:50;right:-18px;top:calc(100% + 8px);width:370px;padding:8px;background:#141210;border:1px solid #252220;border-radius:12px;box-shadow:0 12px 32px #e6e2df14;box-sizing:border-box}
.site-nav .category-menu-panel a{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:3px;min-height:68px;padding:12px 40px 12px 18px!important;border-radius:7px!important;white-space:normal;line-height:1.45;box-sizing:border-box}
.category-menu-panel strong{font-family:'Space Grotesk',sans-serif;font-size:17px;font-weight:600;letter-spacing:-.02em}
.category-menu-panel span{font-size:13px;font-weight:400;color:#b3b0ad}
.site-nav .category-menu-panel a::before{content:'→';position:absolute;right:16px;top:50%;transform:translateY(-50%);font-size:17px;color:#8a8784}
.site-nav .category-menu-panel a:hover{background:#161411}
.site-nav .category-menu-panel a:hover::before{color:#fb8972}
.site-nav .category-menu-panel a:focus-visible{outline:2px solid #fb8972;outline-offset:-2px;background:#161411}
.site-nav .category-menu-panel a[aria-current=page]{background:transparent}
.site-nav .category-menu-panel a[aria-current=page] strong{color:#fb8972}
.site-nav .category-menu-panel a[aria-current=page]::after{content:'';display:block;position:absolute;width:3px;height:22px;left:0;right:auto;top:50%;bottom:auto;transform:translateY(-50%);background:#f2643d;border-radius:2px;color:#140f0b}
@media(max-width:700px){.category-menu{position:static}.category-menu summary{min-height:48px;font-size:14px;padding-bottom:8px}.category-menu-panel{left:0;right:0;top:calc(100% + 4px);width:auto;max-height:65vh;overflow:auto;padding:6px}.site-nav .category-menu-panel a{min-height:64px;padding:10px 34px 10px 16px!important}.category-menu-panel strong{font-size:16px}.category-menu-panel span{font-size:12px}.category-menu-panel a::before{right:12px}}

.category-menu summary[aria-current=true]{position:relative}
.category-menu summary[aria-current=true]::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:#f2643d;border-radius:2px;color:#140f0b}
@media(min-width:701px) and (max-width:900px){.category-menu summary{min-height:48px;padding-bottom:8px}.category-menu{position:static}.category-menu-panel{left:0;right:auto;top:calc(100% + 4px);width:min(370px,100%)}}

/* Enlarged text can wrap the navigation rather than widening a narrow screen. */
@media(max-width:700px){.site-nav{flex-wrap:wrap}.category-menu{min-width:0}.category-menu summary{overflow-wrap:anywhere}}
@media(min-width:901px){.site-header{grid-template-columns:minmax(0,1fr) minmax(0,auto) auto}.site-nav{min-width:0;flex-wrap:wrap}}
@media(max-width:359px){.site-nav{gap:4px}.site-nav>a,.category-menu summary{font-size:13px}.category-menu summary{gap:3px}}

/* Floating header bar (DESIGN.md §8): one compact glass bar, pill-style current page, compact actions.
   Shared by makina.fun, Market and the testnet app; the app adds search and a phone tab bar. */
.site-header{position:sticky;top:12px;z-index:60;grid-template-columns:auto minmax(0,1fr) auto;gap:28px;min-height:64px;margin-top:12px;padding:8px 10px 8px 20px;border:1px solid #2a2724;border-radius:16px;background:rgba(18,16,14,.8);-webkit-backdrop-filter:blur(16px) saturate(140%);backdrop-filter:blur(16px) saturate(140%);box-shadow:0 12px 32px rgba(0,0,0,.35)}
.site-brand{width:146px}
.site-nav{justify-self:center;gap:4px;height:auto}
.site-nav a,.category-menu summary{min-height:40px;padding:0 14px;border-radius:10px;font-size:14.5px;font-weight:500;transition:background .15s,color .15s}
.site-nav a:hover,.category-menu summary:hover{background:#1c1917;color:#f2efea}
.site-nav a[aria-current=page],.category-menu summary[aria-current=true]{background:#221e1b;color:#f2efea}
.site-nav a[aria-current=page]::after,.category-menu summary[aria-current=true]::after{display:none}
.category-menu[open] summary{background:#221e1b}
.home-button{min-height:42px;gap:14px;padding:9px 16px;border-color:#3a3632;border-radius:10px;font-size:14px}
.site-header .site-pfp{min-width:0;min-height:42px}
@media(max-width:1200px){.site-header{gap:16px}.site-nav a,.category-menu summary{padding:0 10px}}
@media(max-width:900px){
 .site-header{grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;padding:8px 8px 6px 14px;margin-top:8px;top:8px}
 .site-brand{width:124px}
 .site-nav{grid-column:1/-1;grid-row:2;justify-self:stretch;justify-content:space-between;gap:2px;padding-top:4px;border-top:1px solid #24211e}
 .site-nav a,.category-menu summary{min-height:40px;padding:0 10px;font-size:14px}
 .site-header .site-pfp,.home-button{min-height:40px;padding:8px 12px;font-size:13px}
}
@media(max-width:430px){.site-nav{flex-wrap:nowrap}.site-nav a,.category-menu summary{padding:0 7px;font-size:13.5px;gap:4px}}
@media(max-width:360px){.site-brand{width:112px}.site-nav a,.category-menu summary{padding:0 5px;font-size:12.5px}}
@media(prefers-reduced-motion:reduce){.site-nav a,.category-menu summary{transition:none}}

/* Dropdown menus (DESIGN.md §8): drawn chevron, icon tiles that turn orange metal on hover, sliding arrow, staged entrance. */
.category-menu summary{gap:6px}
.category-chevron{width:15px;height:15px;flex:none;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;opacity:.55;transition:transform .28s cubic-bezier(.2,.8,.2,1),opacity .15s,color .15s}
.category-menu summary:hover .category-chevron{opacity:.95}
.category-menu[open] .category-chevron{transform:rotate(180deg);opacity:1;color:#fb866a}
.category-menu-panel{top:calc(100% + 12px);left:50%;right:auto;translate:-50% 0;width:396px;padding:8px;border:1px solid #2e2a27;border-radius:18px;background:linear-gradient(180deg,#1b1816,#121010);box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 24px 60px rgba(0,0,0,.6),0 2px 8px rgba(0,0,0,.4);transform-origin:50% 0}
.category-menu-panel::before{content:"";position:absolute;top:-6px;left:50%;width:10px;height:10px;margin-left:-5px;background:#1b1816;border-left:1px solid #2e2a27;border-top:1px solid #2e2a27;transform:rotate(45deg)}
.site-nav .category-menu-panel a{position:relative;flex-direction:row;align-items:center;justify-content:flex-start;gap:14px;min-height:64px;padding:10px 14px 10px 10px!important;border-radius:12px!important;transition:background .18s}
.site-nav .category-menu-panel a::before{content:none}
.site-nav .category-menu-panel a,.site-nav .category-menu-panel a:hover,.site-nav .category-menu-panel a:hover *{text-decoration:none}
.category-icon{display:grid;place-items:center;flex:none;width:40px;height:40px;border:1px solid #36312d;border-radius:11px;background:linear-gradient(180deg,#27231f,#191614);box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 1px 2px rgba(0,0,0,.4);color:#d9d4cd;font-style:normal;transition:background .2s,border-color .2s,color .2s,box-shadow .2s,transform .2s}
.category-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.category-menu-panel .category-text{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1;font-size:inherit;color:inherit}
.category-menu-panel .category-text strong{font-size:15.5px;line-height:1.25;color:#f2efea}
.category-menu-panel .category-text span{font-size:12.5px;line-height:1.4;color:#aaa59e}
.category-arrow{width:16px;height:16px;flex:none;fill:none;stroke:#fb866a;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;opacity:0;transform:translateX(-6px);transition:opacity .18s,transform .22s cubic-bezier(.2,.8,.2,1)}
.site-nav .category-menu-panel a:hover,.site-nav .category-menu-panel a:focus-visible{background:#201c19}
.category-menu-panel a:hover .category-icon,.category-menu-panel a:focus-visible .category-icon{border-color:#ff9a72;background:linear-gradient(180deg,#ff8f63,#f2643d 55%,#d64e2a);color:#140f0b;box-shadow:inset 0 1px 0 rgba(255,255,255,.4),0 6px 18px rgba(242,100,61,.32);transform:translateY(-1px)}
.category-menu-panel a:hover .category-arrow,.category-menu-panel a:focus-visible .category-arrow{opacity:1;transform:none}
.category-menu-panel a[aria-current=page] .category-icon{border-color:rgba(242,100,61,.55);color:#fb866a}
.category-menu-panel a[aria-current=page] .category-text strong{color:#fb866a}
@keyframes category-panel-in{from{opacity:0;transform:translateY(-6px) scale(.97)}to{opacity:1;transform:none}}
@keyframes category-item-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
.category-menu[open] .category-menu-panel{animation:category-panel-in .22s cubic-bezier(.2,.8,.2,1)}
.category-menu[open] .category-menu-panel a{animation:category-item-in .32s cubic-bezier(.2,.8,.2,1) backwards}
.category-menu[open] .category-menu-panel a:nth-child(2){animation-delay:.03s}
.category-menu[open] .category-menu-panel a:nth-child(3){animation-delay:.06s}
.category-menu[open] .category-menu-panel a:nth-child(4){animation-delay:.09s}
.category-menu[open] .category-menu-panel a:nth-child(5){animation-delay:.12s}
@media(max-width:900px){.category-menu-panel{left:0;right:auto;translate:none;top:calc(100% + 6px);width:min(396px,100%)}.category-menu-panel::before{display:none}}
@media(max-width:700px){.category-menu-panel{right:0;width:auto;max-height:70vh;overflow:auto;padding:6px;border-radius:16px}.site-nav .category-menu-panel a{min-height:60px;gap:12px;padding:8px 12px 8px 8px!important}.category-icon{width:36px;height:36px;border-radius:10px}.category-icon svg{width:18px;height:18px}.category-arrow{opacity:.5;transform:none}}
@media(prefers-reduced-motion:reduce){.category-chevron,.category-icon,.category-arrow,.site-nav .category-menu-panel a{transition:none}.category-menu[open] .category-menu-panel,.category-menu[open] .category-menu-panel a{animation:none}}

/* Header buttons (DESIGN.md §8): one family across makina.fun, Market and the app.
   Secondary (Connect wallet, GitHub, wallet address): graphite with an icon. Primary (Launch token, Mint your PFP):
   solid orange metal (below). */
.site-header .header-btn-icon{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.site-header .header-actions .wallet,.site-header .header-actions .site-wallet-trigger,.site-header .header-actions .header-signin{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:40px;padding:0 16px;border:1px solid #2e2a27;border-radius:11px;background:linear-gradient(180deg,#1d1a17,#141210);box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 1px 2px rgba(0,0,0,.4);color:#f2efea;font:600 13.5px/1 var(--font-sans,'DM Sans'),sans-serif;text-decoration:none;white-space:nowrap;transition:border-color .18s,background .18s,transform .18s}
.site-header .header-actions .wallet .header-btn-icon,.site-header .header-actions .header-signin svg{color:#aaa59e;transition:color .18s}
.site-header .header-actions .wallet:hover,.site-header .header-actions .site-wallet-trigger:hover,.site-header .header-actions .header-signin:hover{border-color:#47413b;background:linear-gradient(180deg,#24201c,#181512);text-decoration:none}
.site-header .header-actions .wallet:hover .header-btn-icon,.site-header .header-actions .header-signin:hover svg{color:#fb866a}
.site-header .wallet-live-dot{width:7px;height:7px;flex:none;border-radius:50%;background:#5fd39a;box-shadow:0 0 0 3px rgba(95,211,154,.16)}
.site-header .header-launch:active,.site-header .header-cta:active{transform:translateY(0)}
.site-header .header-launch:focus-visible,.site-header .header-cta:focus-visible,.site-header .header-actions .wallet:focus-visible,.site-header .header-actions .header-signin:focus-visible{outline:2px solid #f2643d;outline-offset:3px;box-shadow:none}
/* makina.fun / Market: the CTA sits alone on the right, so it keeps the same compact size as the app's. */
.site-header .home-button.header-cta{min-width:0;justify-content:center;gap:9px}
@media(max-width:900px){.site-header .home-button.header-cta,.site-header .header-launch{min-height:40px;padding:0 13px;font-size:13px}}
/* Primary CTA, Makina's own (DESIGN.md §8): the orange-metal primary with dark text, like every primary button.
   At rest it breathes a slow warm glow like an idle machine's status light; on hover the rocket ignites: it lifts
   and its exhaust flickers. No sweeping glint, no rainbow edge. */
.site-header .header-launch,.site-header .header-cta{position:relative;isolation:isolate;display:inline-flex;align-items:center;justify-content:center;gap:9px;min-width:0;min-height:40px;padding:0 18px;border:1px solid #ff8a63;border-radius:11px;background:linear-gradient(180deg,#ff7d55 0%,#f2643d 52%,#dc532e 100%);box-shadow:inset 0 1px 0 rgba(255,236,224,.55),inset 0 -1px 0 rgba(120,34,10,.45),0 6px 18px -8px rgba(242,100,61,.7);color:#140f0b;font:600 13.5px/1 var(--font-sans,'DM Sans'),sans-serif;text-decoration:none;white-space:nowrap;animation:cta-breathe 3.6s ease-in-out infinite;transition:transform .18s,background .18s}
.site-header .header-launch .header-btn-icon,.site-header .header-cta .header-btn-icon{color:#140f0b;stroke-width:2;transition:transform .25s cubic-bezier(.2,.8,.2,1)}
.site-header .header-launch:hover,.site-header .header-cta:hover{transform:translateY(-1px);background:linear-gradient(180deg,#ff8a66 0%,#f86e47 52%,#e45a33 100%);color:#140f0b;text-decoration:none;animation-play-state:paused}
.site-header .header-launch:hover .header-btn-icon,.site-header .header-cta:hover .header-btn-icon{animation:cta-thrust .32s ease-in-out infinite alternate}
.site-header .header-launch:active,.site-header .header-cta:active{transform:translateY(0)}
@keyframes cta-breathe{0%,100%{box-shadow:inset 0 1px 0 rgba(255,236,224,.55),inset 0 -1px 0 rgba(120,34,10,.45),0 6px 18px -8px rgba(242,100,61,.55)}50%{box-shadow:inset 0 1px 0 rgba(255,236,224,.55),inset 0 -1px 0 rgba(120,34,10,.45),0 8px 26px -6px rgba(242,100,61,.95)}}
@keyframes cta-thrust{from{transform:translateY(-1px);filter:drop-shadow(0 2px 0 rgba(255,236,180,.95)) drop-shadow(0 4px 1px rgba(150,40,0,.5))}to{transform:translateY(-3px);filter:drop-shadow(0 3px 0 rgba(255,246,200,1)) drop-shadow(0 6px 2px rgba(150,40,0,.65))}}
@media(prefers-reduced-motion:reduce){.site-header .header-launch,.site-header .header-cta,.site-header .header-launch:hover .header-btn-icon,.site-header .header-cta:hover .header-btn-icon{animation:none}}

/* Testnet actions on makina.fun's pages (components/header-action.tsx, Market lib/navigation.mjs): the app's own
   header actions, so Search, Launch token and Connect wallet stay put on every testnet page. The search link wears
   the app's search box (public/style.css .header-search) and opens the app palette at /#search. */
.site-header .site-header-actions{display:flex;align-items:center;justify-self:end;gap:10px;min-width:0}
.site-header .header-search-link{display:inline-flex;align-items:center;gap:8px;width:210px;height:40px;padding:0 8px 0 12px;border:1px solid #2e2a27;border-radius:10px;background:#161412;color:#95928f;font-size:13.5px;text-decoration:none;transition:border-color .15s ease,color .15s ease}
.site-header .header-search-link:hover{border-color:#3a3632;color:#e9ebef;text-decoration:none}
.site-header .header-search-link:focus-visible{outline:2px solid #e9ebef;outline-offset:2px}
.site-header .header-search-link svg{width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.site-header .header-search-link span{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.site-header .header-search-link kbd{display:inline-grid;place-items:center;min-width:22px;height:22px;border:1px solid #34302c;border-radius:6px;background:#1d1a17;color:#95928f;font:600 12px/1 ui-monospace,SFMono-Regular,Menlo,monospace}
@media(max-width:1280px){.site-header .header-search-link{width:40px;padding:0;justify-content:center}.site-header .header-search-link span,.site-header .header-search-link kbd{display:none}}
@media(max-width:700px){.site-header .site-header-actions{gap:6px}.site-header .site-header-actions .header-launch{display:none}.site-header .header-search-link{width:44px;height:44px}}

/* Quiet glass (Impeccable live, 19 Nov): the menu is plain text with a small orange dot under the current page; search
   and Connect wallet are see-through. */
.site-nav>a,.category-menu>summary{background:transparent;color:#aaa59e}
.site-nav>a:hover,.category-menu>summary:hover,.category-menu[open]>summary{background:transparent;color:#f2efea}
.site-nav>a[aria-current=page],.category-menu>summary[aria-current=true]{position:relative;background:transparent;color:#f2efea}
.site-nav>a[aria-current=page]::after,.category-menu>summary[aria-current=true]::after{content:"";display:block;position:absolute;left:50%;right:auto;bottom:3px;width:4px;height:4px;margin-left:-2px;border-radius:50%;background:#f2643d}
.site-header .header-search,.site-header .header-search-link{background:transparent;border-color:#262320}
/* Connect wallet / GitHub / wallet address (Impeccable live, 19 Nov): hairline, see-through like the search field with
   a slightly brighter edge and an orange icon that ties it to Launch token. */
.site-header .header-actions .wallet,.site-header .header-actions .site-wallet-trigger,.site-header .header-actions .header-signin{background:transparent;box-shadow:none;border-color:rgba(242,239,234,.16)}
.site-header .header-actions .wallet .header-btn-icon,.site-header .header-actions .site-wallet-trigger .header-btn-icon,.site-header .header-actions .header-signin svg{color:#fb866a}
.site-header .header-actions .wallet:hover,.site-header .header-actions .site-wallet-trigger:hover,.site-header .header-actions .header-signin:hover{border-color:rgba(242,239,234,.32);background:rgba(242,239,234,.04)}
/* Launch token (Impeccable live, 19 Nov): solid ember, flat solid orange with dark text and a crisp edge, no glow or
   breathing; smaller and flatter than the hero's orange key. */
.site-header .header-launch{border:0;border-radius:10px;background:linear-gradient(180deg,#f6704b,#ec5a33);color:#140f0b;box-shadow:inset 0 1px 0 rgba(255,255,255,.28),inset 0 -1px 0 rgba(0,0,0,.18),0 1px 2px rgba(0,0,0,.4);animation:none}
.site-header .header-launch .header-btn-icon{color:#140f0b}
.site-header .header-launch:hover{transform:none;background:linear-gradient(180deg,#ff7f58,#f2643d);color:#140f0b}
/* Live engine: a slow warm glow breathes under the button and the rocket's exhaust flickers, like a machine that is on.
   On hover the glow holds and the rocket lifts; off with reduced motion. */
@keyframes header-launch-glow{0%,100%{box-shadow:inset 0 1px 0 rgba(255,255,255,.28),inset 0 -1px 0 rgba(0,0,0,.18),0 0 0 0 rgba(242,100,61,0),0 6px 16px -8px rgba(242,100,61,.4)}50%{box-shadow:inset 0 1px 0 rgba(255,255,255,.28),inset 0 -1px 0 rgba(0,0,0,.18),0 0 0 4px rgba(242,100,61,.14),0 10px 26px -8px rgba(242,100,61,.75)}}
@keyframes header-launch-flame{0%,100%{filter:drop-shadow(0 2px 0 rgba(255,214,170,.9));transform:translateY(0)}50%{filter:drop-shadow(0 3px 1px rgba(255,236,190,1)) drop-shadow(0 5px 2px rgba(140,40,0,.5));transform:translateY(-1px)}}
.site-header .header-launch{animation:header-launch-glow 2.6s ease-in-out infinite}
.site-header .header-launch .header-btn-icon{animation:header-launch-flame .5s ease-in-out infinite alternate}
.site-header .header-launch:hover{animation-play-state:paused}
.site-header .header-launch:hover .header-btn-icon{animation:none;transform:translateY(-2px)}
@media(prefers-reduced-motion:reduce){.site-header .header-launch,.site-header .header-launch .header-btn-icon{animation:none}.site-header .header-launch:hover .header-btn-icon{transform:none}}

/* Technical menu (Impeccable live, 19 Nov): small uppercase labels with wide tracking (the footer and eyebrow voice),
   a small orange square marks the current page, and the dropdowns are a tight numbered index list. */
@media(min-width:901px){
 .site-header .site-nav>a,.site-header .category-menu>summary{gap:6px;padding:0 12px;font:600 12px/1 'DM Sans',DM,sans-serif;letter-spacing:.12em;text-transform:uppercase}
 .site-header .site-nav>a[aria-current=page],.site-header .category-menu>summary[aria-current=true]{color:#f2efea}
 .site-header .site-nav>a[aria-current=page]::after,.site-header .category-menu>summary[aria-current=true]::after{left:50%;bottom:5px;width:5px;height:5px;margin-left:-2.5px;border-radius:1px}
}
.site-header .category-menu-panel{width:360px;padding:6px;border-radius:14px;counter-reset:row}
.site-header .site-nav .category-menu-panel a{min-height:52px;gap:12px;border-radius:9px!important;counter-increment:row}
.site-header .category-icon{width:32px;height:32px;border-radius:8px;border-color:rgba(242,239,234,.08);background:transparent;box-shadow:none}
.site-header .category-icon svg{width:17px;height:17px}
.site-header .category-menu-panel .category-text strong{font-size:14px}
.site-header .category-menu-panel .category-text span{font-size:12px}
.site-header .category-menu-panel a::after{content:"0" counter(row);order:-1;width:18px;color:#67625c;font:600 10.5px/1 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.04em}
.site-header .category-menu-panel a:hover .category-icon,.site-header .category-menu-panel a:focus-visible .category-icon{border-color:rgba(242,100,61,.55);background:transparent;color:#fb866a;box-shadow:none;transform:none}
.site-header .category-menu-panel a:hover::after,.site-header .category-menu-panel a:focus-visible::after{color:#fb866a}
@media(max-width:900px){.site-header .category-menu-panel{width:min(360px,100%)}}
@media(max-width:700px){.site-header .category-menu-panel{width:auto}}

/* Header text size (Impeccable live, 19 Nov): search text and the header buttons at 14.5px with 19px icons on desktop.
   The extra specificity beats the app's own header rules in public/style.css. */
@media(min-width:901px){
 body header.site-header .header-search input,body header.site-header .header-search-link span{font-size:14.5px}
 body header.site-header .header-actions a.header-launch,body header.site-header .header-actions a.wallet,body header.site-header .header-actions .site-wallet-trigger.site-wallet-trigger,body header.site-header .header-actions .header-signin.header-signin,body header.site-header .site-header-actions a.header-launch{font-size:14.5px}
 body header.site-header .header-btn-icon{width:19px;height:19px}
}

/* Logo size (Impeccable live, 19 Nov): the keycap lockup (146x44 canvas) at 42px tall on desktop, 35px on tablets and
   phones, 30px on very small phones. */
.site-brand{width:139px}
@media(max-width:900px){.site-brand{width:116px}}
@media(max-width:360px){.site-brand{width:100px}}

/* Phones: the Connect wallet button matches the app's (text only, 13px) on every page. */
@media(max-width:700px){.site-header .site-header-actions .wallet .header-btn-icon,.site-header .site-header-actions .site-wallet-trigger .header-btn-icon{display:none}.site-header .site-header-actions .wallet,.site-header .site-header-actions .site-wallet-trigger{font-size:13px}}
