/* Approved Arcade palette and proportions; gameplay retains its compact Meridian HUD. */
.brand-name,.platform-only{display:none}.skip-link{position:fixed;left:12px;top:-80px;z-index:100;background:#dcfc80;color:#28182f;padding:14px}.skip-link:focus{top:12px}
body:not(.playing){--bg:#24152d;--text:#f6eee5;--muted:#c8b8d2;--accent:#dcfc80;--rule:#70527d;--panel:#32203e;font-family:Arial,Helvetica,sans-serif;font-size:14px;color:var(--text);background:var(--bg)}
body:not(.playing) #app{position:relative;display:block;height:auto;min-height:100dvh;overflow:visible}
body:not(.playing) .platform-nav{height:90px;display:flex;flex-direction:row;align-items:center;padding:0 4%;gap:36px;background:#211429;border:0;border-bottom:1px solid var(--rule)}
body:not(.playing) .platform-mark{display:flex;gap:10px;align-items:center;height:auto;flex-shrink:0;color:var(--text)}
body:not(.playing) .platform-mark svg{color:var(--accent);width:29px;height:34px}
body:not(.playing) .brand-name{display:block;font-style:italic;font-size:31px;font-weight:800;letter-spacing:-1px}
body:not(.playing) .brand-name small{display:block;font:7px monospace;letter-spacing:1.6px;font-style:normal;margin:8px 0 0;color:var(--muted)}
body:not(.playing) .platform-only{display:flex}
body:not(.playing) .nav-main,body:not(.playing) .nav-bottom{display:flex;flex-direction:row;align-items:center;gap:26px;padding:0;margin:0;height:100%}
body:not(.playing) .nav-main{margin-left:auto}
body:not(.playing) .platform-nav a:not(.platform-mark){border:0;border-radius:0;flex-direction:row;width:auto;min-height:44px;height:100%;padding:0;color:var(--muted);gap:7px;white-space:nowrap;background:transparent}
body:not(.playing) .platform-nav a:not(.platform-mark)>span{display:none}
body:not(.playing) .platform-nav small{font-size:12px}
body:not(.playing) .platform-nav a[aria-current=page]{color:var(--accent)}
body:not(.playing) .platform-nav a[aria-current=page]:before{top:auto;bottom:0;left:0;right:0;width:auto;height:3px;background:var(--accent)}
body:not(.playing) .rail-version{display:none}
body:not(.playing) #main{display:block;overflow:visible;height:auto;min-height:calc(100dvh - 90px)}
.arcade-topbar{min-height:64px;padding:8px 4%;display:flex;align-items:center;justify-content:space-between;gap:15px;background:#2b1b35}
.location{font:10px monospace;color:var(--muted)}.location b{padding:0 15px}
.arcade-topbar .account{display:flex;align-items:center;gap:10px;min-height:44px}.account .avatar{background:#b5a0f0;color:#2b1937;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font-size:11px;font-weight:bold}.account strong,.account small{display:block}.account strong{font-size:12px}.account small{font-size:10px;color:var(--accent);margin-top:6px}
.ecosystem-content{max-width:1540px;margin:0 auto;padding:30px 4% 0}.ecosystem-content p{color:var(--muted);line-height:1.8}.ecosystem-content h1,.ecosystem-content h2,.ecosystem-content h3{color:var(--text);overflow-wrap:anywhere}.ecosystem-content .eyebrow{font:10px/1.7 monospace;letter-spacing:1.7px;color:#d2bcff;display:block}
body:not(.playing) .primary,body:not(.playing) .secondary{display:inline-flex;justify-content:center;gap:12px;border-radius:8px;font-size:12px;padding:13px 17px;min-height:46px;font-weight:bold}
body:not(.playing) .primary{background:var(--accent);border-color:var(--accent);color:#28182f}body:not(.playing) .primary:hover{background:#e9ffad;color:#28182f}
body:not(.playing) .secondary{border:1px solid var(--rule);background:transparent;color:var(--text)}body:not(.playing) .secondary:hover{background:#ffffff0c}
body:not(.playing) .text-button{font-size:12px;min-height:44px;display:inline-flex;align-items:center;font-weight:bold;color:var(--accent)}
body:not(.playing) button:disabled{opacity:.65}
body:not(.playing) input,body:not(.playing) select,body:not(.playing) textarea{background:#281932;color:var(--text);border:1px solid var(--rule);padding:13px 12px;font:inherit;min-width:0;border-radius:4px;width:100%}
body:not(.playing) textarea{resize:vertical;line-height:1.7}body:not(.playing) :is(button,a,input,textarea,select):focus-visible{outline:3px solid var(--accent);outline-offset:4px}
.ecosystem-hero{display:grid;grid-template-columns:1.15fr 1fr;gap:30px;align-items:center;padding-bottom:30px}.hero-copy>.eyebrow{margin-bottom:20px}.hero-copy h1{font-size:clamp(40px,4.6vw,72px);line-height:1.03;letter-spacing:-2.8px;margin:0 0 24px;font-weight:800}.hero-copy h1 em{font-style:normal;color:var(--accent)}.hero-copy>p{max-width:480px;font-size:14px;margin-bottom:27px}.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:25px}.hero-copy>small{font:8px/1.8 monospace;color:var(--muted)}.platform-mural{display:block;width:100%;height:auto;border:1px solid #8b69a1;border-radius:10px}
.workshop-marquee{display:grid;grid-template-columns:1.1fr 1.3fr auto;gap:27px;align-items:center;background:#d9f489;color:#25311b;padding:26px;border-radius:8px}.workshop-marquee .eyebrow{font-size:8px;letter-spacing:1px;color:#3a5426}.workshop-marquee h2{font-size:26px;letter-spacing:-1px;line-height:1.1;margin:0;color:#25311b}.workshop-marquee p{font-size:12px;color:#364c24;margin:0 0 8px}.workshop-marquee span:not(.eyebrow){font:10px/1.9 monospace}.workshop-marquee small{display:block;font:9px/1.8 monospace;margin-top:8px}.workshop-marquee>.primary{background:#2f3d22!important;color:#f3ffdc!important;border-color:#2f3d22!important;white-space:nowrap}
.home-catalog{margin-top:38px}.catalog-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.catalog-heading h2{font-size:30px;letter-spacing:-1.1px;margin:10px 0 0}.catalog-heading .eyebrow{font-size:8px}.arcade-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px 24px}.arcade-card{min-width:0}.card-art{position:relative;overflow:hidden;border-radius:7px;aspect-ratio:2/1}.card-art img{width:100%;height:100%;object-fit:cover;display:block}.card-art>span{position:absolute;bottom:12px;left:12px;background:#24152de8;color:#f6eee5;font:8px monospace;padding:6px 8px;border-radius:2px}.card-kind{font:10px/1.6 monospace;color:var(--muted);margin-top:14px}.arcade-card h3{font-size:25px;margin:10px 0 6px;letter-spacing:-.5px}.arcade-card p{font-size:12px;min-height:44px;margin:9px 0}.card-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.bookmark{border:1px solid var(--rule);border-radius:22px;min-height:44px;padding:8px 13px;font-size:11px}.bookmark[aria-pressed=true]{background:var(--accent);color:#28182f}.community-strip{display:flex;align-items:center;justify-content:space-between;gap:26px;background:#362440;border:1px solid #785589;border-radius:8px;padding:28px;margin-top:36px}.community-strip h2{font-size:28px;letter-spacing:-1px;margin:10px 0}.community-strip p{font-size:13px;margin:0}.community-strip>.secondary{flex-shrink:0}
.arcade-footer{display:flex;justify-content:space-between;gap:22px;padding:55px 0 30px;font:9px/1.8 monospace;color:var(--muted)}.page-heading{padding:0 0 26px}.page-heading h1{font-size:50px;line-height:1.1;letter-spacing:-2px;margin:18px 0}.page-heading p{max-width:760px;font-size:14px}.catalog-tools{display:flex;align-items:end;gap:25px;margin-bottom:22px}.catalog-tools label{max-width:410px;flex:1;font-size:12px;color:var(--muted)}.catalog-tools input{margin-top:10px}.catalog-filters{display:flex;gap:10px;flex-wrap:wrap}.catalog-filters button{border:1px solid var(--rule);min-height:46px;padding:10px 14px;border-radius:6px}.catalog-filters button[aria-pressed=true]{background:var(--accent);color:#28182f}.catalog-status,.disclosure{font-size:11px;color:var(--muted);line-height:1.8}.catalog-status{margin-bottom:28px}.disclosure{margin-top:22px}
.project-header{display:flex;align-items:center;justify-content:space-between;gap:18px;background:#3d2850;border:1px solid var(--rule);padding:22px;border-radius:8px;margin:10px 0 22px}.project-header h2{font-size:25px;margin:6px 0}.capability-badge{padding:8px;border:1px solid var(--rule);color:var(--accent);font:9px/1.5 monospace;text-align:center;flex-shrink:0}.arcade-panel{padding:28px;background:#33203f;border:1px solid #795688;border-radius:8px}.arcade-facts{margin:20px 0}.arcade-facts>div{display:flex;justify-content:space-between;gap:15px;padding:13px 0;border-bottom:1px solid #70527d;font-size:12px;line-height:1.5}.arcade-facts dt{color:var(--muted)}.arcade-facts dd{margin:0;text-align:right}.profile-columns{display:grid;grid-template-columns:1fr 1fr;gap:24px}.arcade-panel h2{font-size:28px}.arcade-panel>.secondary{margin:8px 10px 8px 0}.arcade-panel #google-button{margin-top:16px;min-height:4px}
@media(max-width:1100px){body:not(.playing) .platform-nav{gap:20px}body:not(.playing) .nav-main,body:not(.playing) .nav-bottom{gap:18px}body:not(.playing) .platform-nav small{font-size:11px}.hero-copy h1{font-size:48px;letter-spacing:-2px}.workshop-marquee{grid-template-columns:1fr 1.2fr}.workshop-marquee>.primary{grid-column:2}.workshop-marquee>div:first-child{grid-row:1/3}}
@media(max-width:900px){body:not(.playing) .brand-name{font-size:25px}body:not(.playing) .nav-main,body:not(.playing) .nav-bottom{gap:15px}.ecosystem-hero{grid-template-columns:1fr 1fr}.hero-copy h1{font-size:42px}.arcade-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-columns{grid-template-columns:1fr}}
@media(max-width:700px){body:not(.playing) .platform-nav{height:auto;padding:20px 20px 0;gap:0;flex-wrap:wrap}body:not(.playing) .platform-mark{width:100%;height:auto;margin-bottom:18px;justify-content:start}body:not(.playing) .brand-name{font-size:31px}body:not(.playing) .brand-name small{font-size:7px}body:not(.playing) .nav-main,body:not(.playing) .nav-bottom{margin:0;gap:18px;height:44px}body:not(.playing) .nav-bottom{margin-left:18px}body:not(.playing) .platform-nav a:not(.platform-mark){min-height:44px}body:not(.playing) .platform-nav small{font-size:11px}body:not(.playing) #main{min-height:0}.arcade-topbar{padding:10px 20px;gap:10px}.location{font-size:9px}.location b{padding:0 6px}.account .avatar{display:none}.account strong{font-size:10px}.account small{font-size:9px;max-width:145px}.ecosystem-content{padding:28px 20px 0}.ecosystem-hero{display:flex;flex-direction:column;align-items:stretch;gap:24px;padding-bottom:24px}.hero-copy>.eyebrow{font-size:8px;letter-spacing:1px;margin-bottom:16px}.hero-copy h1{font-size:clamp(34px,9vw,48px);letter-spacing:-1.5px;margin-bottom:18px}.hero-copy>p{font-size:13px;margin-bottom:22px}.hero-actions{gap:10px;margin-bottom:18px}.hero-copy>small{font-size:8px}.platform-mural{width:100%;height:auto;aspect-ratio:1.2;object-fit:cover}.workshop-marquee{display:block;padding:24px 21px}.workshop-marquee h2{font-size:28px;margin-bottom:20px}.workshop-marquee small{margin:12px 0 18px}.workshop-marquee>.primary{width:100%}.catalog-heading{display:block;margin-bottom:16px}.catalog-heading h2{font-size:30px}.catalog-heading>.text-button{margin-top:10px}.home-catalog{margin-top:28px}.arcade-grid{grid-template-columns:1fr;gap:26px}.card-art{aspect-ratio:1.65}.arcade-card h3{font-size:27px}.arcade-card p{min-height:0}.community-strip{display:block;padding:24px 21px}.community-strip>.secondary{margin-top:20px;width:100%}.arcade-footer{display:block;padding:40px 0 25px;font-size:9px}.arcade-footer>span{display:block;margin-top:12px}.page-heading{padding-bottom:16px}.page-heading h1{font-size:36px;letter-spacing:-1.4px}.page-heading p{font-size:13px}.catalog-tools{display:block}.catalog-tools label{display:block;max-width:none}.catalog-filters{margin-top:16px}.catalog-filters button{font-size:12px;padding-inline:12px}.project-header{padding:18px 15px;gap:10px}.project-header h2{font-size:22px}.capability-badge{font-size:8px;max-width:90px}.profile-columns{gap:20px}.arcade-panel{padding:22px}.arcade-panel h2{font-size:26px}}
@media(max-width:390px){body:not(.playing) .nav-main,body:not(.playing) .nav-bottom{gap:14px}body:not(.playing) .nav-bottom{margin-left:14px}body:not(.playing) .platform-nav small{font-size:10px}}
/* Keep the proven four-link gameplay rail and its mobile map proportions. */
.playing .platform-only{display:none}.playing .brand-name{display:none}
body:not(.playing) .platform-nav .game-only{display:none}
.playing .platform-nav a.platform-only{display:none}
@media(max-width:700px){.platform-mural{aspect-ratio:auto;object-fit:contain}}
/* Server-backed project chat */
.project-chat{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,310px);gap:24px;align-items:start}.chat-panel,.project-files{min-width:0;padding:24px;background:#33203f;border:1px solid #795688;border-radius:8px}.chat-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px}.chat-toolbar h2,.project-files h2{font-size:24px;margin:0}.project-files h3{font-size:17px;margin:24px 0 12px}.project-files p,.project-files li,#attachment-help,#chat-status{font-size:13px;line-height:1.8;overflow-wrap:anywhere}.project-files ul{padding-left:20px}.project-files code{font-size:11px;overflow-wrap:anywhere}.chat-panel form{display:grid;gap:12px;border-top:1px solid var(--rule);padding-top:24px;margin-top:24px}.chat-panel form label{font-size:14px}.chat-panel textarea{width:100%;resize:vertical;box-sizing:border-box}.chat-panel input[type=file]{width:100%;font-size:12px;box-sizing:border-box}.chat-panel button:disabled{opacity:.65}.chat-job{border-top:1px solid var(--rule);padding:20px 0;overflow-wrap:anywhere}.chat-job h3{font-size:14px;color:var(--muted)}.request-message{white-space:pre-wrap;line-height:1.7}.job-result{border-left:3px solid var(--accent);padding:12px 16px;background:#281932}.chat-job[data-status=failed] .job-result{border-color:#f8a9b7}.job-result p{line-height:1.7;font-size:14px}.job-result small{display:block;color:var(--muted);font-size:11px;line-height:1.7;margin-top:16px}.job-result details{margin:12px 0}.job-result summary{cursor:pointer;min-height:44px;display:flex;align-items:center}.job-result pre{max-height:420px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.6}.job-result .secondary{margin:12px 0}.project-header p{font-size:13px;line-height:1.7}.project-chat ul{overflow-wrap:anywhere}#chat-status{color:var(--accent);min-height:24px}#pending-files:empty{display:none}@media(max-width:800px){.project-chat{grid-template-columns:minmax(0,1fr)}.chat-panel,.project-files{padding:20px}.project-header{align-items:start}.chat-toolbar{flex-wrap:wrap}.project-files ul{margin-bottom:0}}
