:root{--ctm-yellow:#FFD300;--ctm-command-line:#343631}
/* Shared, normal-flow layout. No percentage heights or absolute row offsets. */
body .workspace>header.ctm-shared-header{position:sticky!important;top:0!important;z-index:90;display:block!important;width:100%!important;max-width:none!important;height:auto!important;min-height:0!important;aspect-ratio:auto!important;margin:0!important;padding:env(safe-area-inset-top,0px) 0 0!important;color:white;background:linear-gradient(90deg,#070807,#0c0d0c 12%,#0c0d0c 88%,#070807)!important;border:0!important;border-radius:9px 9px 0 0!important;box-shadow:0 7px 15px -7px #0009!important;overflow:visible}
body .ctm-shared-header *,body .ctm-shared-header *::before,body .ctm-shared-header *::after{box-sizing:border-box}
body .workspace>header.ctm-shared-header>.location,body .workspace>header.ctm-shared-header>.interaction-bar-actions,body .workspace>header.ctm-shared-header>.account-tools{display:none!important}
body .ctm-shared-header .player-app-bar{position:relative!important;inset:auto!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;width:100%!important;max-width:880px!important;height:auto!important;margin:0 auto!important;padding:0!important}
body .ctm-shared-header .player-brand-row{position:relative!important;inset:auto!important;display:grid!important;grid-template-columns:54px minmax(0,1fr) 54px!important;align-items:center!important;gap:20px!important;width:100%!important;height:60px!important;min-height:0!important;padding:7px 24px!important;margin:0!important}
body .ctm-shared-header .player-wordmark{grid-column:2;grid-row:1;display:flex!important;align-items:center;justify-content:center;width:100%!important;height:auto!important;min-width:0;max-width:360px;margin:0 auto!important;padding:0!important;overflow:visible!important;background:transparent!important;border:0!important;border-radius:0!important;opacity:1!important}
body .ctm-shared-header .player-wordmark-vector{display:block;width:100%!important;height:auto!important;max-height:36px!important;object-fit:contain!important;object-position:center!important}
body .ctm-shared-header .ctm-language-control,body .ctm-shared-header .header-power-logout{position:relative!important;inset:auto!important;width:54px!important;height:32px!important;min-width:0!important;min-height:0!important;margin:0!important;align-self:center!important}
body .ctm-shared-header .ctm-language-control{grid-column:1;grid-row:1;z-index:105}
body .ctm-shared-header .header-power-logout{grid-column:3;grid-row:1}
body .ctm-shared-header .ctm-language-toggle,body .ctm-shared-header .header-power-logout{display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important;border:1px solid #30322f!important;border-radius:999px!important;background:linear-gradient(145deg,#151615,#090a09)!important;color:white!important;box-shadow:inset 0 1px 1px #ffffff08,0 2px 5px #0006!important;touch-action:manipulation}
body .ctm-shared-header .ctm-language-toggle{width:100%!important;height:100%!important;min-height:0!important}
body .ctm-shared-header .ctm-language-toggle::before{content:none!important}
body .ctm-shared-header .ctm-flat-flag{display:block;width:22px!important;height:15px!important;border:0!important}
body .ctm-shared-header .header-power-logout svg{width:20px!important;height:20px!important;opacity:1!important;stroke-width:1.9}
body .ctm-shared-header .ctm-language-menu{position:absolute!important;top:calc(100% + 8px)!important;left:0!important;right:auto!important;width:160px!important}
body .ctm-shared-header .header-logout-confirmation{position:absolute!important;top:calc(100% - 8px)!important;right:18px!important;width:180px!important;z-index:110}
body .ctm-shared-header .player-icon-nav{position:relative!important;inset:auto!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;align-items:stretch!important;width:100%!important;max-width:none!important;height:60px!important;min-height:0!important;margin:0!important;padding:2px 18px 5px!important;gap:0!important;background:transparent!important}
body .ctm-shared-header .player-icon-nav .player-nav-button,body .ctm-shared-header .player-icon-nav .player-nav-button.active{position:relative!important;inset:auto!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:0!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;padding:0 0 6px!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:#f8f8f5!important;box-shadow:none!important;transform:none!important}
body .ctm-shared-header .player-icon-nav .player-nav-button:not(:first-child)::before{content:"";position:absolute;left:0;top:12%;bottom:12%;width:1px;background:var(--ctm-command-line)}
body .ctm-shared-header .player-icon-nav .player-nav-button.active{color:var(--ctm-yellow)!important}
body .ctm-shared-header .player-icon-nav .player-nav-button.active::after{content:"";position:absolute;left:28%;right:28%;bottom:0;height:4px;border-radius:4px;background:var(--ctm-yellow)}
body .ctm-shared-header .player-nav-icon{display:flex!important;align-items:center;justify-content:center;width:32px!important;height:32px!important;float:none!important}
body .ctm-shared-header .player-nav-icon>svg{width:100%!important;height:100%!important;stroke:currentColor!important;stroke-width:1.65!important}
body .ctm-shared-header .player-search-mode{position:absolute!important;top:2px!important;right:calc(50% - 27px)!important;display:flex;align-items:center;justify-content:center;min-width:20px!important;width:auto!important;height:20px!important;padding:0 3px!important;color:#fff!important;background:#0c0d0c!important;border:1.5px solid #e7e9e5!important;border-radius:5px!important;font:800 11px/1 Arial,sans-serif!important}
body .ctm-shared-header .player-count-pills{position:absolute!important;inset:0!important;display:block!important;width:auto!important;pointer-events:none}
body .ctm-shared-header .player-count-pills>span{position:absolute!important;right:calc(50% - 31px)!important;top:0!important;display:flex!important;align-items:center;justify-content:center;min-width:24px!important;width:auto!important;height:24px!important;padding:0 5px!important;border:2px solid #0c0d0c!important;border-radius:999px;color:#fff;font:800 13px/1 Arial,sans-serif!important;box-shadow:0 2px 5px #0006,inset 0 1px 2px #ffffff18}
body .ctm-shared-header .count-notification .count-pending{background:linear-gradient(145deg,#d33b34,#b5221e)}
body .ctm-shared-header .count-chat .count-pending{background:linear-gradient(145deg,#168544,#0f6e36)}
body .ctm-shared-header .referral-strip{position:relative!important;inset:auto!important;display:grid!important;grid-template-columns:minmax(0,1fr) calc(20% + 8px) minmax(0,1fr)!important;align-items:stretch!important;width:100%!important;height:48px!important;min-height:0!important;margin:0!important;padding:0 18px!important;gap:0!important;flex-wrap:nowrap!important;border:0!important;border-top:1px solid var(--ctm-command-line)!important;background:transparent!important;box-shadow:none!important;color:#f5f5f1;font:500 14px/1.25 Arial,sans-serif}
body .ctm-shared-header :is(.referral-role,.referral-invite,.referral-code){position:relative!important;inset:auto!important;display:flex!important;align-items:center!important;justify-content:center!important;flex-direction:row!important;gap:7px!important;width:auto!important;min-width:0!important;height:100%!important;min-height:0!important;margin:0!important;padding:5px 12px!important;color:#f5f5f1!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;text-decoration:none;font-size:inherit!important}
body .ctm-shared-header :is(.referral-role,.referral-invite)::after{content:"";position:absolute;right:0;top:18%;bottom:18%;width:1px;background:var(--ctm-command-line)}
body .ctm-shared-header :is(.referral-role,.referral-invite)>svg{width:24px!important;height:24px!important;flex:0 0 auto;color:white}
body.player-compact .ctm-shared-header .referral-role>svg{color:var(--player-level-accent,#fff)!important}
body .ctm-shared-header .referral-code{flex-direction:column!important;align-items:center!important;gap:3px!important;padding-left:12px!important;text-align:center!important}
body .ctm-shared-header .referral-code>span{font-size:11px!important;color:#bfc2bc}
body .ctm-shared-header .referral-code code{max-width:100%;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--ctm-yellow)!important;font:800 13px/1.25 Arial,sans-serif!important;letter-spacing:0!important;user-select:all}
body .ctm-shared-header :is(button,a):focus-visible{outline:2px solid var(--ctm-yellow)!important;outline-offset:-3px}
body .ctm-shared-header :is(.ctm-language-toggle,.header-power-logout,.player-nav-button,.referral-invite):hover{background:#ffffff0a!important}
@media(max-width:600px){
 body .workspace>header.ctm-shared-header{border-radius:9px 9px 0 0!important}
 body .ctm-shared-header .player-brand-row{grid-template-columns:46px minmax(0,1fr) 46px!important;gap:10px!important;height:50px!important;padding:6px 12px!important}
 body .ctm-shared-header .player-wordmark{max-width:240px!important}
 body .ctm-shared-header .ctm-language-control,body .ctm-shared-header .header-power-logout{width:46px!important;height:28px!important}
 body .ctm-shared-header .ctm-flat-flag{width:20px!important;height:14px!important}
 body .ctm-shared-header .header-power-logout svg{width:18px!important;height:18px!important}
 body .ctm-shared-header .player-icon-nav{height:56px!important;padding:2px 6px 5px!important}
 body .ctm-shared-header .player-nav-icon{width:30px!important;height:30px!important}
 body .ctm-shared-header .player-count-pills>span{min-width:22px!important;height:22px!important;font-size:12px!important;right:calc(50% - 29px)!important}
 body .ctm-shared-header .player-search-mode{right:calc(50% - 25px)!important;font-size:10px!important;height:18px!important;min-width:18px!important;top:0!important}
 body .ctm-shared-header .referral-strip{height:44px!important;padding:0 6px!important;font-size:11px!important;grid-template-columns:2fr 1fr 2fr!important}
 body .ctm-shared-header :is(.referral-role,.referral-invite,.referral-code){gap:5px!important;padding:4px 6px!important}
 body .ctm-shared-header :is(.referral-role,.referral-invite)>svg{width:20px!important;height:20px!important}
 body .ctm-shared-header .referral-code{padding-left:6px!important}
 body .ctm-shared-header .referral-code>span{font-size:10px!important}
 body .ctm-shared-header .referral-code code{font-size:clamp(9px,2.55vw,13px)!important}
}

/* Glyph-only LEDs: first pulse 1.45s, three pulses 0.725s each, then 8s white. */
body .ctm-shared-header .referral-invite{--ctm-invite-accent:#FFD300;color:#fff!important;font-weight:900}
body.player-compact .ctm-shared-header .referral-invite{--ctm-invite-accent:var(--player-level-accent,#FFD300)}
body .ctm-shared-header .referral-invite>:is(svg,span){position:relative;color:#fff;opacity:1;animation:ctm-invite-led-four 11.625s ease-in-out infinite;transform-origin:center}
body .ctm-shared-header .referral-invite>svg{stroke:none!important;fill:currentColor;aspect-ratio:1;flex-shrink:0}
/* Mirror-symmetric tangent curves connect the main bar to the short tab. */
body .workspace>header.ctm-shared-header{box-shadow:none!important;filter:drop-shadow(0 5px 6px #0006)}
body .ctm-shared-header .referral-invite{isolation:isolate;z-index:2;--ctm-invite-tab-depth:6px;--ctm-invite-separator-inset:4px;--ctm-invite-curve-width:calc(13.2% - 1.056px);--ctm-invite-tab-fill:#0c0d0c;height:calc(100% + var(--ctm-invite-tab-depth))!important;align-self:start;background:linear-gradient(var(--ctm-command-line),var(--ctm-command-line)) var(--ctm-invite-separator-inset) 8px/1px calc(100% - var(--ctm-invite-tab-depth) - 16px) no-repeat,linear-gradient(var(--ctm-invite-tab-fill),var(--ctm-invite-tab-fill)) top/100% calc(100% - var(--ctm-invite-tab-depth)) no-repeat!important;border-radius:0!important;font-size:18px!important;gap:8px!important}
body .ctm-shared-header .referral-invite:hover{--ctm-invite-tab-fill:#101110;background:linear-gradient(var(--ctm-command-line),var(--ctm-command-line)) var(--ctm-invite-separator-inset) 8px/1px calc(100% - var(--ctm-invite-tab-depth) - 16px) no-repeat,linear-gradient(var(--ctm-invite-tab-fill),var(--ctm-invite-tab-fill)) top/100% calc(100% - var(--ctm-invite-tab-depth)) no-repeat!important}
/* Fixed upper-curve proportions; only the bottom halves are widened by 20%. */
body .ctm-shared-header .referral-invite::before{content:""!important;position:absolute;inset:auto 0 0;height:var(--ctm-invite-tab-depth);z-index:-1;background:var(--ctm-invite-tab-fill);-webkit-mask:url("invite-curve-left.svg?v=1d6c98f1f776") left center/var(--ctm-invite-curve-width) 100% no-repeat,linear-gradient(white,white) center/calc(100% - var(--ctm-invite-curve-width) - var(--ctm-invite-curve-width) + .5px) 100% no-repeat,url("invite-curve-right.svg?v=47c96bf860c3") right center/var(--ctm-invite-curve-width) 100% no-repeat;mask:url("invite-curve-left.svg?v=1d6c98f1f776") left center/var(--ctm-invite-curve-width) 100% no-repeat,linear-gradient(white,white) center/calc(100% - var(--ctm-invite-curve-width) - var(--ctm-invite-curve-width) + .5px) 100% no-repeat,url("invite-curve-right.svg?v=47c96bf860c3") right center/var(--ctm-invite-curve-width) 100% no-repeat;pointer-events:none}
body .ctm-shared-header .referral-role::after{content:none!important}
body .ctm-shared-header .referral-invite::after{right:calc(var(--ctm-invite-separator-inset) - 1px);top:8px;bottom:calc(var(--ctm-invite-tab-depth) + 8px)}
body .ctm-shared-header .referral-invite>svg{width:28px!important;height:28px!important}
body .ctm-shared-header .referral-invite>span{font-size:inherit;line-height:1.1;font-weight:900;letter-spacing:.02em}
body .workspace>header.ctm-shared-header:has(.referral-invite)+.demo-strip{padding-top:18px!important}
@media(max-width:600px){
 body .ctm-shared-header .referral-invite{--ctm-invite-tab-depth:5px;--ctm-invite-separator-inset:3px;--ctm-invite-curve-width:calc(13.2% - .792px);font-size:clamp(12px,3.7vw,15px)!important;gap:4px!important;padding:4px 2px!important}
 body .ctm-shared-header .referral-invite>svg{width:clamp(20px,6vw,24px)!important;height:clamp(20px,6vw,24px)!important}
}

@keyframes ctm-invite-led-four{
 0%,12.473118%,18.709677%,24.946237%,31.182796%,100%{color:#fff;filter:drop-shadow(0 0 0 transparent);transform:scale(1)}
 6.236559%,15.591398%,21.827957%,28.064516%{color:var(--ctm-invite-accent);filter:drop-shadow(0 0 1.5px currentColor);transform:scale(1.06)}
}
@media(prefers-reduced-motion:reduce){
 body .ctm-shared-header .referral-invite>:is(svg,span){animation:none;color:#fff;opacity:1;transform:none;filter:none}
}

/* Fine typography adjustments: lighter desktop code, larger role label everywhere. */
body .ctm-shared-header .referral-role>span{font-size:1.12em;line-height:1.2;min-width:0}
@media(min-width:601px){body .ctm-shared-header .referral-code code{font-weight:600!important}}
/* Landscape keeps the original three stacked rows, scaled and centred. */
@media(orientation:landscape) and (max-height:600px){
 body .workspace>header.ctm-shared-header{--ctm-landscape-bar:var(--ctm-landscape-budget,min(32dvh,116px));--ctm-landscape-brand:calc(var(--ctm-landscape-bar) * .30);--ctm-landscape-nav:calc(var(--ctm-landscape-bar) * .38);--ctm-landscape-referral:calc(var(--ctm-landscape-bar) * .32);height:var(--ctm-landscape-bar)!important;max-height:var(--ctm-landscape-bar)!important;box-sizing:border-box!important;padding:0 env(safe-area-inset-right,0px) 0 env(safe-area-inset-left,0px)!important;border-radius:0!important;filter:drop-shadow(0 2px 3px #0005)}
 body .ctm-shared-header .player-app-bar{display:flex!important;flex-direction:column!important;height:var(--ctm-landscape-bar)!important;max-width:390px!important}
 body .ctm-shared-header .player-brand-row{grid-template-columns:24px minmax(0,1fr) 24px!important;gap:8px!important;height:var(--ctm-landscape-brand)!important;padding:0 12px!important;flex:0 0 auto!important}
 body .ctm-shared-header .player-wordmark{max-width:240px!important}
 body .ctm-shared-header .player-wordmark-vector{max-height:30px!important}
 body .ctm-shared-header .ctm-language-control,body .ctm-shared-header .header-power-logout{width:26px!important;height:26px!important}
 body .ctm-shared-header .ctm-flat-flag{width:18px!important;height:12px!important}
 body .ctm-shared-header .header-power-logout svg{width:18px!important;height:18px!important}
 body .ctm-shared-header .player-icon-nav{height:var(--ctm-landscape-nav)!important;padding:0 8px 2px!important;flex:0 0 auto!important}
 body .ctm-shared-header .player-icon-nav .player-nav-button{padding:0 0 3px!important}
 body .ctm-shared-header .player-nav-icon{width:26px!important;height:26px!important}
 body .ctm-shared-header .player-icon-nav .player-nav-button.active::after{height:2px;bottom:0}
 body .ctm-shared-header .player-count-pills>span{min-width:18px!important;height:18px!important;padding:0 3px!important;font-size:10px!important;right:calc(50% - 23px)!important;top:0!important;border-width:1px!important}
 body .ctm-shared-header .player-search-mode{height:15px!important;min-width:16px!important;font-size:9px!important;right:calc(50% - 23px)!important;top:0!important;border-width:1px!important}
 body .ctm-shared-header .referral-strip{height:var(--ctm-landscape-referral)!important;padding:0 8px!important;font-size:9px!important;flex:0 0 auto!important;grid-template-columns:minmax(0,1fr) 20% minmax(0,1fr)!important}
 body .ctm-shared-header :is(.referral-role,.referral-invite,.referral-code){padding:1px 5px!important;gap:5px!important}
 body .ctm-shared-header :is(.referral-role,.referral-invite)>svg{width:18px!important;height:18px!important}
 body .ctm-shared-header .referral-role>span{font-size:9px!important}
 body .ctm-shared-header .referral-invite{--ctm-invite-tab-depth:2px;font-size:13px!important;gap:5px!important}
 body .ctm-shared-header .referral-code{flex-direction:column!important;gap:0!important;padding:0 4px!important}
 body .ctm-shared-header .referral-code>span{display:block!important;font-size:8px!important;line-height:1!important}
 body .ctm-shared-header .referral-code code{font-size:11px!important;font-weight:500!important;line-height:1.1!important}
 body.ctm-access-screen .ctm-shared-header .player-app-bar{display:block!important}
 body.ctm-access-screen .ctm-shared-header .player-brand-row{max-width:380px!important;margin:auto!important}
 body .ctm-shared-header .header-logout-confirmation{top:100%!important;right:8px!important}
 body .workspace>header.ctm-shared-header:has(.referral-invite)+.demo-strip{padding-top:6px!important}
 body .ctm-lockable-panel>summary{padding-top:4px!important;padding-bottom:4px!important;min-height:36px!important;font-size:13px!important}
 body .ctm-panel-lock-action{width:32px;min-width:32px;flex-basis:32px;height:32px;min-height:32px;padding:5px}
 body .ctm-panel-lock{width:19px;height:21px}
 body .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body main{padding-left:max(12px,env(safe-area-inset-left))!important;padding-right:max(12px,env(safe-area-inset-right))!important}
}

/* Native rotation also applies when an embedded preview retains its desktop viewport. */

 html[data-ctm-landscape="true"] body .workspace>header.ctm-shared-header{--ctm-landscape-bar:var(--ctm-landscape-budget,min(32dvh,116px));--ctm-landscape-brand:calc(var(--ctm-landscape-bar) * .30);--ctm-landscape-nav:calc(var(--ctm-landscape-bar) * .38);--ctm-landscape-referral:calc(var(--ctm-landscape-bar) * .32);height:var(--ctm-landscape-bar)!important;max-height:var(--ctm-landscape-bar)!important;box-sizing:border-box!important;padding:0 env(safe-area-inset-right,0px) 0 env(safe-area-inset-left,0px)!important;border-radius:0!important;filter:drop-shadow(0 2px 3px #0005)}
 html[data-ctm-landscape="true"] body .ctm-shared-header .player-app-bar{display:flex!important;flex-direction:column!important;height:var(--ctm-landscape-bar)!important;max-width:390px!important}
 html[data-ctm-landscape="true"] body .ctm-shared-header .player-brand-row{grid-template-columns:24px minmax(0,1fr) 24px!important;gap:8px!important;height:var(--ctm-landscape-brand)!important;padding:0 12px!important;flex:0 0 auto!important}
 html[data-ctm-landscape="true"] body .ctm-shared-header .player-wordmark{max-width:240px!important}
 html[data-ctm-landscape="true"] body .ctm-shared-header .player-wordmark-vector{max-height:30px!important}
 html[data-ctm-landscape="true"] body .ctm-shared-header .ctm-language-control,html[data-ctm-landscape="true"] body .ctm-shared-header .header-power-logout{width:26px!important;height:26px!important}
 html[data-ctm-landscape="true"] body .ctm-shared-header .ctm-flat-flag{width:18px!important;height:12px!important}
 html[data-ctm-landscape="true"] body .ctm-shared-header .header-power-logout svg{width:18px!important;height:18px!important}
 html[data-ctm-landscape="true"] body .ctm-shared-header .player-icon-nav{height:var(--ctm-landscape-nav)!important;padding:0 8px 2px!important;flex:0 0 auto!important}
 html[data-ctm-landscape="true"] body .ctm-shared-header .player-icon-nav .player-nav-button{padding:0 0 3px!important}
 html[data-ctm-landscape="true"] body .ctm-shared-header .player-nav-icon{width:26px!important;height:26px!important}
 html[data-ctm-landscape="true"] body .ctm-shared-header .player-icon-nav .player-nav-button.active::after{height:2px;bottom:0}
 html[data-ctm-landscape="true"] body .ctm-shared-header .player-count-pills>span{min-width:18px!important;height:18px!important;padding:0 3px!important;font-size:10px!important;right:calc(50% - 23px)!important;top:0!important;border-width:1px!important}
 html[data-ctm-landscape="true"] body .ctm-shared-header .player-search-mode{height:15px!important;min-width:16px!important;font-size:9px!important;right:calc(50% - 23px)!important;top:0!important;border-width:1px!important}
 html[data-ctm-landscape="true"] body .ctm-shared-header .referral-strip{height:var(--ctm-landscape-referral)!important;padding:0 8px!important;font-size:9px!important;flex:0 0 auto!important;grid-template-columns:minmax(0,1fr) 20% minmax(0,1fr)!important}
 html[data-ctm-landscape="true"] body .ctm-shared-header :is(.referral-role,.referral-invite,.referral-code){padding:1px 5px!important;gap:5px!important}
 html[data-ctm-landscape="true"] body .ctm-shared-header :is(.referral-role,.referral-invite)>svg{width:18px!important;height:18px!important}
 html[data-ctm-landscape="true"] body .ctm-shared-header .referral-role>span{font-size:9px!important}
 html[data-ctm-landscape="true"] body .ctm-shared-header .referral-invite{--ctm-invite-tab-depth:2px;font-size:13px!important;gap:5px!important}
 html[data-ctm-landscape="true"] body .ctm-shared-header .referral-code{flex-direction:column!important;gap:0!important;padding:0 4px!important}
 html[data-ctm-landscape="true"] body .ctm-shared-header .referral-code>span{display:block!important;font-size:8px!important;line-height:1!important}
 html[data-ctm-landscape="true"] body .ctm-shared-header .referral-code code{font-size:11px!important;font-weight:500!important;line-height:1.1!important}
 html[data-ctm-landscape="true"] body.ctm-access-screen .ctm-shared-header .player-app-bar{display:block!important}
 html[data-ctm-landscape="true"] body.ctm-access-screen .ctm-shared-header .player-brand-row{max-width:380px!important;margin:auto!important}
 html[data-ctm-landscape="true"] body .ctm-shared-header .header-logout-confirmation{top:100%!important;right:8px!important}
 html[data-ctm-landscape="true"] body .workspace>header.ctm-shared-header:has(.referral-invite)+.demo-strip{padding-top:6px!important}
 html[data-ctm-landscape="true"] body .ctm-lockable-panel>summary{padding-top:4px!important;padding-bottom:4px!important;min-height:36px!important;font-size:13px!important}
 html[data-ctm-landscape="true"] body .ctm-panel-lock-action{width:32px;min-width:32px;flex-basis:32px;height:32px;min-height:32px;padding:5px}
 html[data-ctm-landscape="true"] body .ctm-panel-lock{width:19px;height:21px}
 html[data-ctm-landscape="true"] body .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 html[data-ctm-landscape="true"] body main{padding-left:max(12px,env(safe-area-inset-left))!important;padding-right:max(12px,env(safe-area-inset-right))!important}
/* Keep the application header visible above normally scrolling section pages. */
html.ctm-panel-page-open body .workspace>header.ctm-shared-header{position:sticky!important;top:0!important;z-index:100!important;filter:none!important}
body .workspace>header.ctm-shared-header{filter:none!important;box-shadow:0 3px 8px #0005!important}
body .ctm-shared-header .player-wordmark-vector{image-rendering:auto;filter:none!important;transform:none!important}
/* Invite occupies exactly navigation column three, including its protruding tab. */
body .ctm-shared-header{--ctm-nav-side:18px}
body .ctm-shared-header .player-icon-nav,body .ctm-shared-header .referral-strip{padding-left:var(--ctm-nav-side)!important;padding-right:var(--ctm-nav-side)!important}
body .ctm-shared-header .referral-strip{grid-template-columns:repeat(5,minmax(0,1fr))!important}
body .ctm-shared-header .referral-role{grid-column:1 / 3}
body .ctm-shared-header .referral-invite{grid-column:3 / 4;--ctm-invite-separator-inset:0px;--ctm-invite-curve-width:13.2%}
body .ctm-shared-header .referral-code{grid-column:4 / 6}
@media(max-width:600px){body .ctm-shared-header{--ctm-nav-side:6px}}
@media(orientation:landscape) and (max-height:600px){body .ctm-shared-header{--ctm-nav-side:8px}}
html[data-ctm-landscape="true"] body .ctm-shared-header{--ctm-nav-side:8px}
