/* Operate mode: fixed app frame, persistent preview and one launch step at a time.
   Original gates and Atlantis assets remain the visual authority. */
.home-nav{display:flex;gap:20px;margin-right:auto}.home-nav a{color:var(--ink);text-decoration:none;padding:8px 0}.app-mode .home-nav{display:none}.home-mode{height:100%;overflow:hidden;--px:round(down,clamp(1px,calc((100dvh - 320px)/206),3px),1px)}.home-mode body{height:100dvh;display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden}.home-mode main{min-height:0}.home-mode #home{height:100%;display:flex;flex-direction:column}.home-mode[data-host="purrlysium"] .purr-portal{height:calc(206 * var(--px));min-height:calc(206 * var(--px));padding:0;flex-shrink:0}.home-mode .intro{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:12px 20px;margin:0 auto;min-height:0}.home-mode .intro .eyebrow{display:none}.home-mode .intro h1{font-size:clamp(27px,3vw,40px);margin:0 0 8px}.home-mode .intro p{margin:0 0 12px}.home-mode footer{padding:4px 16px 8px}.home-mode footer p{display:none}.home-mode footer button{min-height:36px;padding:4px 12px;font-size:14px}.home-mode .top .brand{margin-right:24px}.home-mode #workspace{display:none!important}
@media(max-width:720px){.home-mode .top{flex-wrap:wrap}.home-mode .top .brand{margin-right:auto}.home-nav{order:5;width:100%;justify-content:center;gap:32px}.home-nav a{padding:4px 0;min-height:32px}.home-mode .intro{padding:12px 18px}.home-mode .intro p{font-size:16px}.home-mode .intro h1{font-size:28px}}
html[data-host="purrlysium"].home-mode{--px:round(down,clamp(1px,calc((100dvh - 320px)/206),3px),1px)}
.app-mode{height:100%;overflow:hidden}.app-mode body{height:100dvh;display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden}.app-mode .top{position:relative;z-index:2;background:rgba(6,16,28,.96)}.app-mode main{min-height:0;overflow:hidden}.app-mode footer{display:none}.app-mode #workspace{height:100%;max-width:1320px;display:flex;flex-direction:column;min-height:0;padding:0 28px 20px}.app-mode .tabs{flex-shrink:0;margin:0 0 20px;gap:16px;background:rgba(6,16,28,.8)}.app-mode .view{min-height:0;overflow:auto;scrollbar-color:var(--gold) #0b1a2a}.app-mode #notice:empty{display:none}.app-mode #notice:not(:empty){flex-shrink:0;padding:8px 12px;margin:0 0 12px;border-width:1px;max-height:72px;overflow:auto}.app-mode .eyebrow{display:none}.launch-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px}.launch-heading h2{font-size:28px;margin:0}.launch-heading p{margin:2px 0 0;color:var(--muted)}.launch-switch{display:flex;gap:0}.launch-switch button{border-color:var(--rule);background:rgba(6,16,28,.94);font-size:15px}.launch-switch button[aria-pressed=true]{color:var(--gold-hi);border-color:var(--gold)}.connection{background:rgba(6,16,28,.92);border:1px solid var(--rule);margin-bottom:20px;font-size:15px}.connection summary{padding:8px 14px;cursor:pointer;min-height:40px;color:var(--gold-hi)}.connection>div{padding:0 14px 14px}.connection p{margin:8px 0}.launch-builder{display:grid;grid-template-columns:320px minmax(0,1fr);align-items:start;gap:24px}.token-preview,.launch-editor{background:rgba(6,16,28,.94);border:1px solid var(--rule)}.token-preview{padding:24px;position:sticky;top:0}.preview-identity{display:flex;align-items:center;gap:16px;padding-bottom:20px;border-bottom:1px solid var(--rule)}.preview-identity img{width:72px;height:72px;object-fit:contain;image-rendering:pixelated}.preview-identity h3{font-size:24px;margin:0;overflow-wrap:anywhere}.preview-identity p{margin:2px 0 6px;color:var(--muted)}.network-tag{font-size:13px;color:var(--accent)}#token-preview-description{margin:16px 0;color:var(--muted);font-size:16px;overflow-wrap:anywhere;max-height:100px;overflow:auto}.launch-facts{margin:0}.launch-facts>div{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:10px 0;border-bottom:1px solid var(--rule);font-size:15px}.launch-facts dt{color:var(--muted)}.launch-facts dd{margin:0;text-align:right;max-width:60%;overflow-wrap:anywhere}.preview-note{font-size:14px;color:var(--muted);margin:20px 0 10px}.preview-agent-link{font-size:15px}.launch-editor{padding:0;min-width:0}.launch-steps{display:flex;gap:0;border-bottom:1px solid var(--rule);padding:0 16px}.launch-steps button{flex:1;border:0;border-bottom:2px solid transparent;background:transparent;font-size:16px;padding:14px 8px;white-space:nowrap}.launch-steps button[aria-current=step]{border-bottom-color:var(--accent);color:var(--accent)}.step-content{padding:20px 24px;min-height:360px}.step-content h3{font-size:23px;margin:0 0 14px}.step-content label{margin:10px 0;gap:4px;font-size:16px}.step-content input,.step-content select{padding:8px 10px}.step-content textarea{min-height:72px;max-height:110px}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.field-help{font-size:14px;color:var(--muted);margin:8px 0;line-height:1.4}.step-actions{display:flex;align-items:center;gap:12px;padding:14px 24px;border-top:1px solid var(--rule)}#step-position{font-size:14px;color:var(--muted);margin-right:auto}.step-actions button{min-width:84px}.upload-row{display:flex;align-items:center;gap:16px}.upload-label{flex:1;min-width:0}.upload-label span{font-size:13px;color:var(--muted)}.upload-label input{font-size:13px;max-width:100%}#upload-status{font-size:14px;color:var(--accent);margin:4px 0}.split-row{display:grid;grid-template-columns:minmax(0,1fr) 90px auto;gap:12px;align-items:end}.split-row button{margin-bottom:10px;font-size:14px}.fee-details summary{cursor:pointer;min-height:44px;padding:10px 0;color:var(--accent)}.fee-details p{font-size:14px}.launch-editor>.form-error{margin:0 24px 16px;border-width:1px}.launch-editor input,.launch-editor textarea{caret-color:var(--accent)}::selection{background:var(--accent);color:var(--accent-ink)}
@media(min-width:900px) and (min-height:760px){.app-mode #launch{display:flex;flex-direction:column;overflow:hidden}.launch-builder{min-height:0;flex:1}.launch-editor{max-height:100%;display:flex;flex-direction:column}.step-content{overflow:auto;min-height:0;flex:1}.launch-steps,.step-actions{flex-shrink:0}#launch-drafts{overflow:auto}}
@media(max-width:899px){.app-mode #workspace{padding:0 16px 16px}.app-mode .tabs{margin-bottom:16px;gap:4px}.launch-heading{align-items:flex-start}.launch-heading h2{font-size:25px}.launch-heading p{display:none}.launch-switch button{padding:8px 10px;font-size:14px}.launch-builder{grid-template-columns:1fr;gap:12px}.token-preview{position:static;padding:12px 16px}.preview-identity{padding:0;border:0}.preview-identity img{height:44px;width:44px}.preview-identity h3{font-size:20px}.preview-identity p{display:inline;margin-right:8px}.token-preview .launch-facts,.token-preview .preview-note,.token-preview .preview-agent-link,#token-preview-description{display:none}.connection{margin-bottom:12px}.step-content{padding:16px;min-height:0}.step-content h3{font-size:21px;margin-bottom:10px}.launch-steps{padding:0 4px}.launch-steps button{padding:12px 5px;font-size:14px}.step-actions{padding:12px 16px}.upload-row{flex-wrap:wrap;gap:4px}.upload-row>button{min-height:36px;padding:4px 10px}.field-row{gap:0 12px}.split-row{grid-template-columns:minmax(0,1fr) 70px auto;gap:6px}.launch-heading{gap:8px}.app-mode .top{padding:8px 14px}.app-mode .tabs a{padding:10px 12px}.app-mode .view{padding-bottom:8px}.step-content textarea{min-height:64px}.step-content label{margin:8px 0}.step-content .field-help{font-size:13px}.network-tag{font-size:12px}}
@media(max-width:360px){.launch-heading{flex-wrap:wrap}.launch-steps button{font-size:12px}.field-row{grid-template-columns:1fr}}
.app-mode #launch{display:flex;flex-direction:column;overflow:hidden}.launch-heading,.connection{flex-shrink:0}.connection[open]{max-height:190px;overflow:auto}.launch-builder{flex:1;min-height:0;grid-template-rows:minmax(0,1fr)}.launch-editor{height:100%;min-height:0;display:flex;flex-direction:column}.launch-steps,.step-actions{flex-shrink:0}.step-content{min-height:0;overflow:auto;flex:1;scrollbar-color:var(--gold) #0b1a2a;overscroll-behavior:contain}.token-preview{max-height:100%;overflow:auto}#launch-drafts{overflow:auto;min-height:0}.launch-switch button{white-space:nowrap}
@media(max-width:899px){.launch-builder{display:flex;flex-direction:column;gap:12px}.token-preview{width:100%;flex-shrink:0;padding:8px 12px}.preview-identity{gap:12px}.preview-identity img{width:36px;height:36px}.preview-identity h3{font-size:19px}.launch-editor{width:100%;flex:1;height:auto}.launch-heading h2{font-size:21px}.launch-heading{align-items:center;margin-bottom:10px}.launch-switch button{font-size:13px;padding:6px 8px;min-height:38px}.app-mode #workspace{padding-bottom:12px}.app-mode .tabs{margin-bottom:12px}.step-content label{font-size:15px}.step-actions{padding:10px 12px}.step-content{padding:14px 16px}.step-content h3{font-size:20px}.step-content input,.step-content select{min-height:42px}.step-content textarea{min-height:60px}.connection summary{font-size:14px}.launch-steps button{font-size:13px}.field-help{line-height:1.35}}
@media(min-width:900px) and (max-height:850px){.app-mode .top{padding-block:6px}.app-mode .tabs{margin-bottom:10px}.app-mode .tabs a{padding-block:8px;min-height:40px}.launch-heading{margin-bottom:8px}.launch-heading h2{font-size:24px}.launch-heading p{display:none}.connection{margin-bottom:12px}.launch-steps button{padding-block:10px}.step-content{padding:12px 20px}.step-content h3{font-size:21px;margin-bottom:8px}.step-content label{margin:6px 0;font-size:15px;gap:3px}.step-content input,.step-content select{min-height:36px;padding:5px 9px}.step-content textarea{min-height:56px}.field-help{font-size:13px;margin:6px 0;line-height:1.3}.step-actions{padding:8px 20px}.step-actions button{min-height:38px}.split-row{gap:8px}.split-row label{margin:4px 0}.step-content #add-split{min-height:32px;padding:3px 10px;font-size:14px}#split-total{margin:4px 0;font-size:14px}.fee-details summary{min-height:34px;padding:6px 0;font-size:14px}.token-preview{padding:18px}.launch-facts>div{padding:8px 0}.preview-note{margin-top:14px}.preview-identity{padding-bottom:12px}}
