/* Static menu surfaces share the existing dialog and renderer. */
dialog:has(.command-center){max-width:620px;background:linear-gradient(155deg,#15283e,#0b1626 70%);padding:22px}
dialog .close{position:sticky;top:0;z-index:5;background:#162c42;border:1px solid #527b96;float:right;min-width:44px;min-height:44px}
.command-heading{display:flex;align-items:center;gap:12px;padding-right:50px;min-width:0}
.command-heading>div{flex:1;min-width:0}.command-heading .tag{letter-spacing:1.4px}.command-heading .tag small{font-size:9px;letter-spacing:0;color:#95abc1;margin-left:6px}
.command-heading h2{font-size:24px;margin:8px 0 18px;font-weight:500}
.command-wallet{display:flex;align-items:center;gap:5px;flex-shrink:0;font-size:12px;color:#eee0af;font-variant-numeric:tabular-nums}.command-wallet>span{color:#e6c885;font-size:19px}
.command-nav{position:sticky;top:44px;z-index:4;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;background:#0d1c2d;padding:5px;border:1px solid #29475d;border-radius:12px;margin:4px 0 16px}
.command-nav button{min-width:0;min-height:44px;padding:8px 2px;font-size:12px;border:0;border-radius:8px;background:transparent;color:#a9bfd2}.command-nav button[aria-pressed=true]{background:#254e62;color:#e1fcff;box-shadow:inset 0 -2px #79e4dc}
dialog .command-intro{font-size:13px;line-height:1.5;margin:0 0 16px;color:#9eb5c9}
.command-cards{display:grid;grid-template-columns:1fr 1fr;gap:10px}.command-card{display:flex;align-items:flex-start;gap:10px;text-align:left;width:100%;padding:15px 12px;border:1px solid #355870;border-radius:12px;background:#142c40;color:#e0edf8;min-height:88px}.command-card.featured{background:linear-gradient(110deg,#224c55,#173544);border-color:#69b8ad;margin-bottom:10px}
.command-card>span:nth-child(2){flex:1;min-width:0}.command-card strong{display:block;font-size:15px;font-weight:600;line-height:1.3}.command-card small{display:block;font-size:12px;line-height:1.5;color:#adc2d3;margin-top:5px}.command-card em{display:inline-block;font-size:10px;font-style:normal;color:#a3ecce;border-radius:5px;background:#204b4c;padding:3px 6px;margin-top:8px}.command-symbol{width:25px;flex-shrink:0;font-size:23px;line-height:1.1;color:#86d8df}.command-arrow{color:#729cad;font-size:20px}
.command-sandboxes{margin-top:20px;border-top:1px solid #2a445a;padding-top:12px}.command-sandboxes summary{cursor:pointer;min-height:44px;font-size:15px;color:#cee3f2;padding:9px 0}.command-sandboxes summary span{font-size:11px;color:#92aec2;margin-left:8px}.command-sandboxes .command-cards{margin-top:8px}
.command-worlds{display:grid;grid-template-columns:1fr 1fr;gap:9px}.command-world{display:flex;align-items:center;gap:10px;text-align:left;border:1px solid #35536b;background:#13283b;color:#dae9f5;border-radius:12px;padding:12px;min-height:85px}.command-world-art{flex-shrink:0;width:44px;height:44px;display:grid;place-items:center;font-size:32px;color:#b8abed}.command-world-art img{width:44px;height:44px;object-fit:cover;border-radius:50%}.command-world-art .world-orb{width:38px;height:38px;box-shadow:none}.command-world strong{font-size:13px;display:block;line-height:1.4}.command-world small{display:block;color:#a7bbce;font-size:11px;line-height:1.5;margin-top:4px}.command-world:disabled{opacity:.5}
dialog .command-group-title{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:15px;margin:22px 0 12px}.command-group-title span{font-size:11px;font-weight:400;color:#96b0c6}.command-footer{border-top:1px solid #29445a;padding-top:14px;margin-top:22px;display:flex;justify-content:space-between;align-items:center;gap:10px}.command-footer span{font-size:10px;line-height:1.5;color:#94b1c6}.command-footer button,.menu-back{font-size:12px;min-height:44px;padding:8px 12px;background:#19374b;color:#cfe5f4;border:1px solid #42657c;border-radius:8px}.menu-back{margin:0 0 16px;max-width:calc(100% - 52px)}
dialog .command-note{font-size:12px;line-height:1.6;color:#94aec3}.command-card:focus-visible,.command-nav button:focus-visible,.command-world:focus-visible,.menu-back:focus-visible{outline:2px solid #92ebe8;outline-offset:3px}
@media(max-width:480px){dialog:has(.command-center){width:calc(100% - 24px);padding:18px;max-height:calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}.command-heading{display:block;padding-right:50px}.command-wallet{margin:-8px 0 14px}.command-heading h2{font-size:23px}.command-cards,.command-worlds{grid-template-columns:1fr}.command-card{min-height:80px}.command-nav{top:44px}.command-footer{align-items:flex-start}.command-footer button{flex-shrink:0}}
