/* Shared portal header on internal pages, same geometry as the homepage. */
body.portal-shared-header{margin:0!important;max-width:none!important;width:100%!important;padding-inline:0!important}
body.portal-shared-header>header.studio-header{position:fixed!important;inset:0 0 auto!important;z-index:80;box-sizing:border-box;align-items:center;background:#031a17f5;border:0;border-bottom:1px solid #bbaf5933;box-shadow:0 4px 25px #00130f88;font:15px/1.5 Arial,Helvetica,sans-serif;color:#e9e9d4;margin:0!important;max-width:none!important;transform:none!important}
.studio-header *{box-sizing:border-box}.studio-header a{color:inherit;text-decoration:none}.studio-header .ui-icon{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:0 0 24px}
.studio-header .icon-button{border:1px solid #78918444;border-radius:50%;background:#09201d;color:#f7d76e;display:grid;place-items:center}
.studio-header .studio-brand{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;white-space:nowrap;line-height:1}
.studio-header .studio-wordmark{font:900 40px/.92 Impact,'Arial Black',Arial,sans-serif;letter-spacing:-1px;color:#eeddb8;text-shadow:0 1px #6f5b34}
.studio-header .studio-wordmark-sub{font:800 13px/1 Arial,sans-serif;letter-spacing:4.5px;padding-left:4.5px;color:#edbd4f}
.studio-header .studio-balances{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch!important;min-width:0}
.studio-header .balance-chip{box-sizing:border-box;width:100%;height:auto!important;min-width:0;display:grid!important;border:1px solid #71877926;background:#04151388;border-radius:9px;padding:7px 6px}
.studio-header .balance-copy{display:contents!important}.studio-header .balance-copy b{white-space:nowrap;line-height:1.2;font-size:14px;font-variant-numeric:tabular-nums}.studio-header .balance-copy>small{display:block;color:#a8b8ac}
.studio-header .sol-mark,.studio-header .jp-mark,.studio-header .token-mark{display:flex;align-items:center;justify-content:center;line-height:1;overflow:hidden}
.studio-header .token-mark{border-radius:50%;border:2px solid #dda637;background:#a96013;color:#ffe383;font:900 20px/1 Arial,sans-serif}
.studio-header .sol-mark{border-radius:50%;background:#07192d;padding:4px}.studio-header .sol-mark img,.studio-header .jp-mark img{width:100%;height:100%;object-fit:contain;display:block}
.studio-header .gold-button{display:inline-flex;align-items:center;justify-content:center;border-radius:9px;color:#112219;background:linear-gradient(155deg,#ffe888,#ffcf4d 55%,#e9a82e);border:1px solid #ffe39b;box-shadow:0 0 20px #e9ae2928,inset 0 1px #fff7b5;font:750 12px/1.3 Arial,sans-serif;white-space:nowrap}
.studio-header .profile-button{display:none!important}.studio-header .munky-music-toggle{border-radius:50%!important;background:#09201d!important;border:1px solid #78918444!important;color:#eee4b5!important;display:grid;place-items:center;padding:0!important}
body.portal-shared-header #internal-page-banner{display:none!important}body.portal-shared-header .studio-header .language-tools>span{display:none!important}
body.portal-shared-header .munky-audio-settings{z-index:160}
/* Portal header: one pool shown in BTC and its SOL equivalent. */
body.portal-shared-header{--header:94px;padding-top:var(--header)!important}
body.portal-shared-header .studio-header{height:var(--header)!important;min-height:0!important;padding:10px 22px!important;display:grid!important;grid-template-columns:minmax(0,1fr) 244px minmax(0,1fr);gap:16px!important}
.header-left,.header-brand-group,.header-actions{display:flex;align-items:center;min-width:0;gap:12px}
.header-actions{justify-self:end}
.studio-header .nav-toggle{position:static!important;flex:0 0 32px;width:32px!important;height:36px!important}
.studio-header .studio-brand{position:static!important;flex:0 0 118px!important;width:118px!important;min-width:0!important;height:64px}
.studio-header .studio-wordmark{font-size:34px!important}
.studio-header .studio-wordmark-sub{font-size:10px!important;letter-spacing:5px!important}
.studio-header .studio-balances{width:282px!important;flex:0 1 282px!important;gap:6px!important}
.studio-header .balance-chip,.studio-header .balance-chip.jp-chip{min-height:58px!important;grid-template-columns:max-content max-content!important;grid-template-rows:auto auto!important;justify-content:center!important;align-content:center!important}
.studio-header .balance-chip>.balance-copy b{grid-column:2!important;grid-row:1!important;align-self:center!important;justify-self:start!important}
.studio-header .balance-chip>.balance-copy>small{grid-column:1/-1!important;grid-row:2!important;justify-self:center!important}
.studio-header .balance-chip>.balance-copy>small{opacity:1!important;visibility:visible!important}
.header-pool{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:2px 7px;padding:7px 17px;border:1px solid #e7bf5b;border-radius:12px;background:linear-gradient(135deg,#453918,#10291e 60%,#17231b);box-shadow:0 0 20px #d7ac4020,inset 0 1px #ffe6a944;color:#ffe59a;min-width:0;font-variant-numeric:tabular-nums}
.header-pool-title{grid-column:1/-1;text-align:center;font-size:10px;line-height:1.3;letter-spacing:.2em;font-weight:800}
.header-pool-amount{grid-column:1/-1;display:flex;align-items:baseline;justify-content:center;gap:6px;white-space:nowrap;min-width:0;line-height:1.25}
.header-pool-amount b{font-size:20px;min-width:0}.header-pool-amount small{font-size:11px}.header-pool-amount.pool-sol{color:#bdecd3}.pool-sol b{font-size:14px}
.studio-header .header-actions .wallet-connect{min-width:105px;min-height:40px;padding:9px;gap:6px}
.studio-header .header-sound-slot .munky-music-toolbar{position:static!important;inset:auto!important;margin:0!important;padding:0!important;display:flex!important;background:none!important}
.studio-header .header-sound-slot .munky-music-toggle{width:38px!important;height:38px!important;margin:0!important}
.header-language-slot .language-tools{position:static!important;margin:0!important;padding:0!important;display:block!important;background:none!important}
.header-language-slot select{display:block;width:106px;max-width:100%;height:38px;margin:0;padding:4px 6px;border:1px solid #a7a16a66;border-radius:9px;background:#09201d;color:#eee4b5;font-size:12px}
@media(max-width:1300px){
 body.portal-shared-header{--header:140px}
 body.portal-shared-header .studio-header{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:48px 62px;gap:8px 14px!important;padding:10px 16px!important}
 .header-left{display:contents}.header-brand-group{grid-column:1;grid-row:1;gap:8px}.header-actions{grid-column:2;grid-row:1;gap:8px}
 .studio-header .studio-brand{height:46px}.studio-header .studio-balances{grid-column:1;grid-row:2;width:min(100%,300px)!important;justify-self:start}
 .header-pool{grid-column:2;grid-row:2;width:min(100%,244px);justify-self:start;padding-block:4px}.header-pool-amount b{font-size:17px}.pool-sol b{font-size:12px}
}
@media(max-width:760px){
 body.portal-shared-header{--header:140px}
 body.portal-shared-header .studio-header{padding:8px!important;grid-template-rows:48px 68px;gap:6px 8px!important}
 .studio-header .studio-brand{flex-basis:90px!important;width:90px!important}.studio-header .studio-wordmark{font-size:26px!important}.studio-header .studio-wordmark-sub{font-size:8px!important;letter-spacing:4px!important}
 .header-brand-group{gap:4px}.header-actions{gap:5px}.studio-header .header-actions .wallet-connect{width:34px!important;min-width:34px!important;height:34px;min-height:34px;padding:5px!important}.studio-header .header-actions .wallet-connect>span{display:none!important}.studio-header .header-actions .wallet-connect>svg{width:22px;height:22px}
 .studio-header .header-sound-slot .munky-music-toggle{width:32px!important;height:32px!important;font-size:17px}
 .header-language-slot select{width:85px;height:34px;font-size:11px;padding:3px}
 .studio-header .studio-balances{width:100%!important;gap:4px!important}.studio-header .balance-chip{min-height:62px!important;padding:4px 2px!important;column-gap:3px!important}.studio-header .sol-mark,.studio-header .token-mark,.studio-header .jp-mark{width:19px!important;height:19px!important;flex-basis:19px!important}.studio-header .balance-copy b{font-size:10px!important}.studio-header .balance-copy>small{font-size:8px!important}
 .header-pool{width:100%;padding:5px 6px;border-radius:9px;align-self:stretch}.header-pool-title{font-size:9px}.header-pool-amount b{font-size:16px}.header-pool-amount small{font-size:10px}.pool-sol b{font-size:12px}
}
@media(max-width:360px){.header-language-slot select{width:70px}.header-actions{gap:4px}.studio-header .studio-brand{flex-basis:77px!important;width:77px!important}.studio-header .studio-wordmark{font-size:23px!important}.studio-header .balance-copy b{font-size:9px!important}.header-pool-amount b{font-size:14px}.pool-sol b{font-size:11px}}

/* Stable icon geometry and true centering for the header controls. */
.studio-header .nav-toggle{display:grid!important;place-items:center!important;padding:0!important;margin:0!important;box-sizing:border-box!important;width:36px!important;height:36px!important;flex:0 0 36px!important}
.studio-header .nav-toggle>.ui-icon{display:block!important;width:24px!important;height:24px!important;margin:0!important;transform:none!important}
@media(min-width:761px){.studio-header .sol-mark,.studio-header .token-mark,.studio-header .jp-mark{width:28px!important;height:28px!important;flex-basis:28px!important}.studio-header .balance-chip,.studio-header .balance-chip.jp-chip{padding-inline:6px!important;column-gap:5px!important}}
@media(max-width:360px){.studio-header .sol-mark,.studio-header .token-mark,.studio-header .jp-mark{width:16px!important;height:16px!important;flex-basis:16px!important}.studio-header .balance-copy b{font-size:8.5px!important}}

/* Mobile menu is available in the persistent bottom bar. */
@media(max-width:760px){body.portal-shared-header .studio-header .nav-toggle{display:none!important}body.portal-shared-header .header-brand-group{gap:0!important;justify-content:flex-start!important}body.portal-shared-header .studio-header .studio-brand{margin-left:0!important}}

/* Full Jungle Points label and larger coin, with responsive spacing. */
.studio-header .jp-chip .jp-mark{width:28px!important;height:28px!important;flex-basis:28px!important}
.studio-header .jp-chip .balance-copy>small{white-space:nowrap;font-size:10px!important}
@media(max-width:760px){.studio-header .jp-chip .jp-mark{width:19px!important;height:19px!important;flex-basis:19px!important}.studio-header .jp-chip .balance-copy>small{font-size:8px!important}}
@media(max-width:360px){.studio-header .jp-chip .jp-mark{width:16px!important;height:16px!important;flex-basis:16px!important}.studio-header .jp-chip .balance-copy>small{font-size:6.5px!important}}

@media(max-width:760px){.studio-header .balance-chip.jp-chip{column-gap:1px!important;padding-inline:1px!important}.studio-header .jp-chip .balance-copy b{font-size:9px!important}}
@media(max-width:360px){.studio-header .jp-chip .balance-copy b{font-size:7.5px!important}}

/* Names share the upper row; icons and amounts share the lower row. */
.studio-header .balance-chip,.studio-header .balance-chip.jp-chip{grid-template-rows:12px 36px!important;row-gap:3px!important;min-height:64px!important}
.studio-header .balance-chip>.balance-copy>small{grid-row:1!important;grid-column:1/-1!important;font-size:10px!important;line-height:12px!important;font-weight:700!important;white-space:nowrap;align-self:center!important}
.studio-header .balance-chip>.balance-copy b{grid-row:2!important}
.studio-header .balance-chip>.sol-mark,.studio-header .balance-chip>.token-mark,.studio-header .balance-chip>.jp-mark{grid-column:1!important;grid-row:2!important;align-self:center!important}
@media(max-width:760px){.studio-header .balance-chip,.studio-header .balance-chip.jp-chip{grid-template-rows:12px 25px!important;min-height:62px!important}.studio-header .balance-chip>.balance-copy>small{font-size:8px!important}}
@media(max-width:360px){.studio-header .balance-chip>.balance-copy>small{font-size:6.5px!important}}

body.portal-shared-header .studio-header .nav-toggle[hidden]{display:none!important}
@media(max-width:760px){body.portal-shared-header .studio-header .wallet-connect>span{display:none!important}}
/* Keep the persistent menus visible during Social Club entry transitions. */
html.social-entry-loading body.portal-shared-header>header#portal-shared-header{visibility:visible!important;z-index:2147483647!important}

body.portal-shared-header :target{scroll-margin-top:calc(var(--header) + 16px)}

body.portal-shared-header .munky-studio-credit{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px;max-width:100%;min-width:0}
body.portal-shared-header .munky-studio-credit img{display:block;width:70px!important;height:38px!important;max-width:100%;object-fit:contain}
